[chore] Update LLM YAML config docs (#826)

This commit is contained in:
Sidharth Mohanty
2023-10-19 10:07:45 +05:30
committed by GitHub
parent b47405e1bd
commit 2d5dc84f1a
4 changed files with 15 additions and 15 deletions

View File

@@ -65,8 +65,8 @@ app = App.from_config(yaml_path="config.yaml")
```yaml config.yaml
llm:
provider: azure_openai
model: gpt-35-turbo
config:
model: gpt-35-turbo
deployment_name: your_llm_deployment_name
temperature: 0.5
max_tokens: 1000
@@ -99,8 +99,8 @@ app = App.from_config(yaml_path="config.yaml")
```yaml config.yaml
llm:
provider: gpt4all
model: 'orca-mini-3b.ggmlv3.q4_0.bin'
config:
model: 'orca-mini-3b.ggmlv3.q4_0.bin'
temperature: 0.5
max_tokens: 1000
top_p: 1
@@ -130,8 +130,8 @@ app = App.from_config(yaml_path="config.yaml")
```yaml config.yaml
llm:
provider: huggingface
model: 'google/flan-t5-xxl'
config:
model: 'google/flan-t5-xxl'
temperature: 0.5
max_tokens: 1000
top_p: 0.5
@@ -161,8 +161,8 @@ app = App.from_config(yaml_path="config.yaml")
```yaml config.yaml
llm:
provider: vertexai
model: 'chat-bison'
config:
model: 'chat-bison'
temperature: 0.5
top_p: 0.5