Chandranshu Jain commited on
Commit
d7a19b9
·
verified ·
1 Parent(s): f942880

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def get_conversational_chain():
64
 
65
  def user_call(query):
66
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
67
- #client = chromadb.HttpClient(host='127.0.0.1', port=8000, settings=Settings(allow_reset=True, anonymized_telemetry=False))
68
  db3 = Chroma(persist_directory="./chroma_db", embedding_function=embeddings)
69
  docs = db3.similarity_search(query)
70
  chain = get_conversational_chain()
 
64
 
65
  def user_call(query):
66
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
67
+ Chroma = chromadb.HttpClient(host='127.0.0.1', port=8000, settings=Settings(allow_reset=True, anonymized_telemetry=False))
68
  db3 = Chroma(persist_directory="./chroma_db", embedding_function=embeddings)
69
  docs = db3.similarity_search(query)
70
  chain = get_conversational_chain()