refine readme

This commit is contained in:
geekan 2024-02-18 13:48:24 +08:00
parent 801490516b
commit b60a2cff79

View file

@ -68,11 +68,9 @@ # https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
### Configuration
In `~/.metagpt/config2.yaml`, you can configure the following:
You can configure `~/.metagpt/config2.yaml` according to the [example](https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml):
```yaml
# Full Example: https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml
# Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
llm:
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
@ -80,6 +78,8 @@ # Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
api_key: "YOUR_API_KEY"
```
And you can check the [configuration doc](https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html) for more details.
### Usage
After installation, you can use it as CLI