enh: scaffolds

This commit is contained in:
Timothy J. Baek 2024-06-02 15:14:06 -07:00
parent 73c340f4eb
commit c19f52bd7b
3 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,10 @@ class Pipeline:
# This is where you can add your custom pipelines like RAG.
print(f"pipe:{__name__}")
# If you'd like to check for title generation, you can add the following check
if body.get("title", False):
print("Title Generation Request")
print(messages)
print(user_message)
print(body)

View File

@ -58,6 +58,10 @@ class Pipeline:
# This filter is applied to the form data before it is sent to the OpenAI API.
print(f"inlet:{__name__}")
# If you'd like to check for title generation, you can add the following check
if body.get("title", False):
print("Title Generation Request")
print(body)
print(user)

View File

@ -48,6 +48,10 @@ class Pipeline:
# This is where you can add your custom pipelines like RAG.
print(f"pipe:{__name__}")
# If you'd like to check for title generation, you can add the following check
if body.get("title", False):
print("Title Generation Request")
print(messages)
print(user_message)
print(body)