anubhav77 commited on
Commit
3e17afd
1 Parent(s): 7d1025e
Files changed (5) hide show
  1. .gitignore +8 -1
  2. db/chroma.sqlite3 +0 -0
  3. persistence.log +6 -0
  4. requirements.txt +2 -2
  5. src/chromaIntf.py +5 -2
.gitignore CHANGED
@@ -14,4 +14,11 @@ src/*.old.py
14
  src/toolSelector.py
15
  test/__pycache__/*.pyc
16
  src/baseInfra/memoryManager.py
17
- models/BAAI_bge-large-en-v1.5/*.bin
 
 
 
 
 
 
 
 
14
  src/toolSelector.py
15
  test/__pycache__/*.pyc
16
  src/baseInfra/memoryManager.py
17
+ models/BAAI_bge-large-en-v1.5/*.bin
18
+ db/chroma.sqlite3
19
+ db/4c9fee05-07fa-4c66-a7f2-eec468b0ce50/data_level0.bin
20
+ db/4c9fee05-07fa-4c66-a7f2-eec468b0ce50/header.bin
21
+ db/4c9fee05-07fa-4c66-a7f2-eec468b0ce50/length.bin
22
+ db/4c9fee05-07fa-4c66-a7f2-eec468b0ce50/link_lists.bin
23
+ db/chroma.sqlite3
24
+ db/chroma.sqlite3
db/chroma.sqlite3 CHANGED
Binary files a/db/chroma.sqlite3 and b/db/chroma.sqlite3 differ
 
persistence.log CHANGED
@@ -58,3 +58,9 @@
58
  2024-01-11 10:08:56,127 - dropbox_client.py - request_json_string_with_retry() - 474 - INFO - Request to users/get_current_account
59
  2024-01-11 10:09:08,103 - SentenceTransformer.py - __init__() - 66 - INFO - Load pretrained SentenceTransformer: BAAI/bge-large-en-v1.5
60
  2024-01-11 10:09:18,798 - posthog.py - __init__() - 20 - INFO - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
 
 
 
 
 
 
 
58
  2024-01-11 10:08:56,127 - dropbox_client.py - request_json_string_with_retry() - 474 - INFO - Request to users/get_current_account
59
  2024-01-11 10:09:08,103 - SentenceTransformer.py - __init__() - 66 - INFO - Load pretrained SentenceTransformer: BAAI/bge-large-en-v1.5
60
  2024-01-11 10:09:18,798 - posthog.py - __init__() - 20 - INFO - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
61
+ 2024-01-11 23:37:45,272 - dropbox_client.py - refresh_access_token() - 390 - INFO - Refreshing access token.
62
+ 2024-01-11 23:37:45,740 - dropbox_client.py - request_json_string_with_retry() - 474 - INFO - Request to users/get_current_account
63
+ 2024-01-11 23:37:58,121 - SentenceTransformer.py - __init__() - 66 - INFO - Load pretrained SentenceTransformer: BAAI/bge-large-en-v1.5
64
+ 2024-01-11 23:38:12,386 - posthog.py - __init__() - 20 - INFO - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
65
+ 2024-01-11 23:38:14,482 - llmFactory.py - get_llm() - 36 - DEBUG - executor3
66
+ 2024-01-11 23:38:14,482 - llmFactory.py - get_llm() - 37 - DEBUG - {'llm_config': {'max_tokens': 1024, 'temperature': 0.1}, 'llm_type': 'geminiLLM'}
requirements.txt CHANGED
@@ -3,8 +3,8 @@ bs4
3
  lxml
4
  fastapi
5
  loguru
6
- #chromadb==0.3.29
7
- chromadb==0.4.0
8
  langchain==0.1.0
9
  sentence_transformers
10
  InstructorEmbedding
 
3
  lxml
4
  fastapi
5
  loguru
6
+ chromadb==0.3.29
7
+ #chromadb==0.4.0
8
  langchain==0.1.0
9
  sentence_transformers
10
  InstructorEmbedding
src/chromaIntf.py CHANGED
@@ -1,6 +1,9 @@
1
- import pysqlite3
2
  import sys
3
- sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
 
 
 
 
4
  import chromadb
5
  from langchain.vectorstores import Chroma
6
  from chromadb.api.fastapi import requests
 
 
1
  import sys
2
+ try:
3
+ import pysqlite3
4
+ sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
5
+ except:
6
+ pass
7
  import chromadb
8
  from langchain.vectorstores import Chroma
9
  from chromadb.api.fastapi import requests