Spaces:
Build error
Build error
Commit ·
23f69ee
1
Parent(s): c60a1ba
openai_apikey
Browse files24 unmodified lines2526272829303124 unmodified lines# The vectorstore to use to index the child chunksvectorstore = Chroma(collection_name="rag_app",embedding_function=OpenAIEmbeddings(api_key="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"))# The storage layer for the parent documentsstore = InMemoryStore()24 unmodified lines2526272829303124 unmodified lines# The vectorstore to use to index the child chunksvectorstore = Chroma(collection_name="rag_app",embedding_function=OpenAIEmbeddings(api_key=os.environ['OpenAI_APIKEY']))# The storage layer for the parent documentsstore = InMemoryStore()
app.py+1-1