From dfa10fa6986c948fd953f627901b9a4d556bc80b Mon Sep 17 00:00:00 2001 From: Cristiano Hoshikawa Date: Thu, 13 Mar 2025 12:23:17 -0300 Subject: [PATCH] adjust --- README.md | 7 ------- source/oci_genai_llm_context.py | 8 -------- 2 files changed, 15 deletions(-) diff --git a/README.md b/README.md index fa63c35..fa83dae 100644 --- a/README.md +++ b/README.md @@ -85,13 +85,6 @@ Uses Oracle's embedding model to transform texts into numerical vectors, facilit ![img_10.png](images/img_10.png) -### Storage in ChromaDB - -ChromaDB is a vector database used to store documents and enable efficient queries. - -Here, processed PDFs are stored for future searches. - -![img_11.png](images/img_11.png) ### Define the Prompt diff --git a/source/oci_genai_llm_context.py b/source/oci_genai_llm_context.py index b628828..edef52b 100644 --- a/source/oci_genai_llm_context.py +++ b/source/oci_genai_llm_context.py @@ -46,14 +46,6 @@ def chat(): ) retriever = vectorstore.as_retriever() - client = chromadb.PersistentClient(path="./Test") - collection = client.get_or_create_collection(name="test") - - collection.add( - documents=caminhos_pdf, - ids=ids - ) - 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,