Skip to content

Commit

Permalink
ML: Downgrade to openai==0.28 for llm-langchain
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Dec 2, 2023
1 parent ab41ade commit 04d46e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions topic/machine-learning/llm-langchain/requirements.txt
Expand Up @@ -11,6 +11,9 @@ python-dotenv<2
requests-cache<2
unstructured<0.11

# APIRemovedInV1: You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0
openai==0.28

# Development.
cratedb-toolkit @ git+https://github.com/crate-workbench/cratedb-toolkit.git@main
langchain[cratedb,openai] @ git+https://github.com/crate-workbench/langchain.git@cratedb#subdirectory=libs/langchain
Expand Down

0 comments on commit 04d46e3

Please sign in to comment.