LOUIS SANNA commited on
Commit
aa5f7bd
·
1 Parent(s): a7c1ef2

Update file path

Browse files
app.py CHANGED
@@ -7,9 +7,10 @@ from gradio import inputs, outputs
7
  from gradio.mix import Parallel
8
 
9
  max_sources = 4
 
10
 
11
  embedding = OpenAIEmbeddings()
12
- vectordb = Chroma(persist_directory="/chroma", embedding_function=embedding)
13
  pdf_qa = ConversationalRetrievalChain.from_llm(OpenAI(temperature=0.9, model_name="gpt-3.5-turbo"),
14
  vectordb.as_retriever(), return_source_documents=True)
15
 
 
7
  from gradio.mix import Parallel
8
 
9
  max_sources = 4
10
+ DB_DIR = "chroma"
11
 
12
  embedding = OpenAIEmbeddings()
13
+ vectordb = Chroma(persist_directory=DB_DIR, embedding_function=embedding)
14
  pdf_qa = ConversationalRetrievalChain.from_llm(OpenAI(temperature=0.9, model_name="gpt-3.5-turbo"),
15
  vectordb.as_retriever(), return_source_documents=True)
16
 
chroma/chroma-collections.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aa9c6a5a3cfc099f13e2d6431a6b77129ba4279a75bd0b677ac883daaf98f17b
3
  size 557
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1381ee4819eacc8899904f5177ebf23112a97b51e9690c56ced7b8ce46f237c0
3
  size 557
chroma/chroma-embeddings.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc05c6b9445f1cdb2f8c9258adc6b1c91c2438500c14054c24c343767f4d1761
3
- size 44184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccbf54215927a71ebb20809761fae745307f060abc93e49b48064750b5fcba1b
3
+ size 45295396
chroma/index/id_to_uuid_63b0b7b3-7308-4629-ba5b-af235fc19082.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eba841025944f648bbeadabfcc703e1d3ba869e94bb188cf036f1476f41a3ff9
3
+ size 115799
chroma/index/index_63b0b7b3-7308-4629-ba5b-af235fc19082.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8aec36f0d959e3241c04693e550f7f26514c27894c58d9186e2b38d870f2079
3
+ size 22465256
chroma/index/index_metadata_63b0b7b3-7308-4629-ba5b-af235fc19082.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:200b2c59698f3cd951e3fbb0c0be1adb214d5b471c5e9304e761f6ec8a4b546e
3
+ size 74
chroma/index/uuid_to_id_63b0b7b3-7308-4629-ba5b-af235fc19082.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2261ce355c76b03fb84877e970454e3f80252fcb19f1491b9f3ddf1500e984eb
3
+ size 135445