removed chroma_db
This commit is contained in:
parent
557327ede4
commit
386ec09bba
|
|
@ -1,2 +1,3 @@
|
|||
srv_secrets.py
|
||||
venv/
|
||||
./chroma_db
|
||||
2
app.py
2
app.py
|
|
@ -42,7 +42,7 @@ user_sessions = {}
|
|||
# init vectorstore embedding
|
||||
os.environ["OPENAI_API_KEY"] = srv_secrets.openai_key
|
||||
llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0)
|
||||
vectorstore = Chroma(persist_directory="./chroma_db", embedding_function=OpenAIEmbeddings())
|
||||
vectorstore = Chroma(persist_directory=srv_secrets.chroma_db_dir, embedding_function=OpenAIEmbeddings())
|
||||
|
||||
# Setup Logging
|
||||
logging.basicConfig()
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue