Update LLM_NAME and EMBEDDINGS_NAME

This commit is contained in:
Alex committed 2024-01-09 00:01:31 +00:00
1 parent 033bcf80d0
commit e1b2991aa6
6 files changed
+37 -22

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ current_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__
class Settings(BaseSettings):
LLM_NAME: str = "docsgpt"
EMBEDDINGS_NAME: str = "openai_text-embedding-ada-002"
EMBEDDINGS_NAME: str = "huggingface_sentence-transformers/all-mpnet-base-v2"
CELERY_BROKER_URL: str = "redis://localhost:6379/0"
CELERY_RESULT_BACKEND: str = "redis://localhost:6379/1"
MONGO_URI: str = "mongodb://localhost:27017/docsgpt"
Binary file not shown.
Binary file not shown.
-2
View File
@@ -42,8 +42,6 @@ class DocsGPTAPILLM(BaseLLM):
)
for line in response.iter_lines():
import sys
print(line, file=sys.stderr)
if line:
#data = json.loads(line)
data_str = line.decode('utf-8')