From e5ece37dc664a1478eab36a9e1e79c90bfc154a0 Mon Sep 17 00:00:00 2001 From: Cristiano Hoshikawa Date: Mon, 17 Mar 2025 14:44:25 -0300 Subject: [PATCH] adjust --- source/oci_genai_llm_context.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/oci_genai_llm_context.py b/source/oci_genai_llm_context.py index edef52b..890ae84 100644 --- a/source/oci_genai_llm_context.py +++ b/source/oci_genai_llm_context.py @@ -1,4 +1,3 @@ -import chromadb from langchain_community.document_loaders import PyPDFLoader from langchain_community.chat_models.oci_generative_ai import ChatOCIGenAI from langchain_core.prompts import PromptTemplate @@ -46,6 +45,8 @@ def chat(): ) retriever = vectorstore.as_retriever() + #### YOU CAN PERSIST YOUR VECTOR STORE HERE + template = """ If the query in question is not a comparison between SOA SUITE and OIC, consider only the documents relevant to the subject, that is, if the question is about SOA SUITE, consider only the SOA SUITE documents. If the question is about OIC,