From 244601361e2e9be9c18da5ffb9dae841a02ec53c Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 21 May 2024 14:21:01 -0700 Subject: [PATCH] Update rag_pipeline.py --- rag_pipeline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rag_pipeline.py b/rag_pipeline.py index 1f74754..29f9f0d 100644 --- a/rag_pipeline.py +++ b/rag_pipeline.py @@ -3,6 +3,10 @@ from schemas import OpenAIChatMessage def get_response(user_message: str, messages: List[OpenAIChatMessage]): + # This is where you can add your custom RAG pipeline. + # Typically, you would retrieve relevant information from your knowledge base and synthesize it to generate a response. + print(messages) print(user_message) + return f"rag response to: {user_message}"