Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(README.md) : fixed the bug about the openai package version #263

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/langchain-101/01_Hello_Langchain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ tags:
### 安装指令

```shell
pip install langchain==0.0.235 openai
# openai需要指定旧版本,否则抛错: module 'openai' has no attribute 'error'
# 抛错的详细原因见: https://community.openai.com/t/getting-attributeerror-module-openai-has-no-attribute-error/578418/3?u=googtech.io
pip install langchain==0.0.235 openai==0.28.1
```

### 代码
Expand Down Expand Up @@ -126,4 +128,4 @@ content='Hello! How can I assist you today?' additional_kwargs={} example=False
本节课程中,我们简要介绍了 `Langchain`,`OpenAI` 以及它们的关系,并完成了第一个 `Langchain` 应用 —— `Hello Langchain`。

### 相关文档资料链接:
1. [Python Langchain官方文档](https://python.langchain.com/docs/get_started/introduction.html)
1. [Python Langchain官方文档](https://python.langchain.com/docs/get_started/introduction.html)