Skip to content

Commit

Permalink
Add chatgpt support and config
Browse files Browse the repository at this point in the history
  • Loading branch information
ShkalikovOleh committed Aug 12, 2024
1 parent 77ff3b2 commit 4e3a60f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions configs/llm/chatgpt-3.5-turbo-instruct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_target_: langchain_openai.OpenAI
model_name: gpt-3.5-turbo-instruct
3 changes: 2 additions & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ POSTGRES_USER=langchain
POSTGRES_HOST=db
POSTGRES_PASSWORD=langchain
POSTGRES_DB=langchain
ELASTIC_HOST=elasticsearch
ELASTIC_HOST=elasticsearch
OPENAI_API_KEY=open_api_key (iff use OpenAI models)
7 changes: 5 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dataclasses-json==0.6.7
debugpy==1.6.7
decorator==5.1.1
diskcache==5.6.3
distro==1.9.0
elastic-transport==8.13.1
elasticsearch==8.14.0
exceptiongroup==1.2.2
Expand All @@ -34,16 +35,18 @@ ipykernel==6.29.5
ipython==8.26.0
jedi==0.19.1
Jinja2==3.1.4
jiter==0.5.0
joblib==1.4.2
jsonpatch==1.33
jsonpointer==3.0.0
jupyter_client==8.6.2
jupyter_core==5.7.2
langchain==0.2.12
langchain-community==0.2.10
langchain-core==0.2.27
langchain-core==0.2.29
langchain-elasticsearch==0.2.2
langchain-huggingface==0.0.3
langchain-openai==0.1.21
langchain-postgres==0.0.9
langchain-text-splitters==0.2.2
langgraph==0.1.19
Expand All @@ -60,6 +63,7 @@ nest_asyncio==1.6.0
networkx==3.2.1
numpy==1.26.4
omegaconf==2.3.0
openai==1.40.3
orjson==3.10.6
packaging==24.1
parso==0.8.4
Expand Down Expand Up @@ -89,7 +93,6 @@ safetensors==0.4.3
scikit-learn==1.5.1
scipy==1.14.0
sentence-transformers==3.0.1
setuptools==69.5.1
simsimd==5.0.0
six==1.16.0
sniffio==1.3.1
Expand Down

0 comments on commit 4e3a60f

Please sign in to comment.