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

Add config for other LLM #37

Merged
merged 11 commits into from
Dec 29, 2023
Merged

Add config for other LLM #37

merged 11 commits into from
Dec 29, 2023

Conversation

OopsYouDiedE
Copy link
Contributor

添加了其他大模型的配置方法

src/en/guide/get_started/setup.md Outdated Show resolved Hide resolved
src/en/guide/get_started/setup.md Outdated Show resolved Hide resolved
src/en/guide/get_started/setup.md Outdated Show resolved Hide resolved
src/en/guide/get_started/setup.md Outdated Show resolved Hide resolved
@OopsYouDiedE
Copy link
Contributor Author

完成。修改了英文文件,并添加中文文件

@garylin2099
Copy link
Collaborator

LGTM

DOMAIN : "generalv2"
SPARK_URL : "ws://spark-api.xf-yun.com/v2.1/chat"
```
## Baidu's large model Ernie API
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are two spaces, only need one.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用PyCharm自动格式化了.

src/en/guide/get_started/setup.md Outdated Show resolved Hide resolved
DEPLOYMENT_ID: "YOUR_DEPLOYMENT_ID"
```

## Web Searching API
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

belows are not LLM API configuration

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

尽管不是,但本章讲的是配置问题。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above has writen with MetaGPT also supports various LLM models. If it's focus on configuration, you can split it with LLM-configuration and non-LLM-configuration. Put them together will make people think it's all about LLM-configuration.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个我后面提个PR来改吧

src/zh/guide/get_started/setup.md Outdated Show resolved Hide resolved
@better629
Copy link
Collaborator

@zhouzinimg

Comment on lines 78 to 91
## Baidu's large model Ernie API

``` yaml
#### if Ernie
ERNIE_API_KEY : "YOUR_API_KEY"
ERNIE_SECRET_KEY : "YOUR_API_SECRET"
```

## Anthropic API

``` yaml
#### if Anthropic
Anthropic_API_KEY: "YOUR_API_KEY"
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有个疑问,ernie和anthropic现在应该还不支持吧?应该先去掉或者放后面些留空?

@garylin2099 garylin2099 merged commit 7997c37 into geekan:main Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants