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

Use model groups in config #68

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This demo showcases a chatbot built with Rasa's LLM-native approach: [CALM](http
> CALM's current stage of development.

> [!NOTE]
> This demo bot is currently compatible with `3.11.0rc2`.
> This demo bot is currently compatible with `3.11.2`.

## Terms of Use

Expand Down
5 changes: 1 addition & 4 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ pipeline:
- name: NLUCommandAdapter
- name: SingleStepLLMCommandGenerator
llm:
model: gpt-4
timeout: 7
temperature: 0.0
top_p: 0.0
model_group: openai-direct-gpt-4

policies:
- name: RulePolicy
Expand Down
5 changes: 1 addition & 4 deletions config/multistep-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ pipeline:
- name: NLUCommandAdapter
- name: MultiStepLLMCommandGenerator
llm:
model: gpt-3.5-turbo-0125
timeout: 7
temperature: 0.0
top_p: 0.0
model_group: openai-direct-gpt-3.5-turbo

policies:
- name: RulePolicy
Expand Down
5 changes: 1 addition & 4 deletions config/qdrant-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ pipeline:
- name: NLUCommandAdapter
- name: SingleStepLLMCommandGenerator
llm:
model: gpt-4
timeout: 7
temperature: 0.0
top_p: 0.0
model_group: openai-direct-gpt-4

policies:
- name: RulePolicy
Expand Down
18 changes: 17 additions & 1 deletion endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,20 @@ vector_store:
host: 0.0.0.0
port: 6334
content_payload_key: page_content
metadata_payload_key: metadata
metadata_payload_key: metadata

model_groups:
- id: openai-direct-gpt-4
models:
- provider: openai
model: gpt-4
timeout: 7
temperature: 0.0
top_p: 0.0
- id: openai-direct-gpt-3.5-turbo
models:
- provider: openai
model: gpt-3.5-turbo-0125
timeout: 7
temperature: 0.0
top_p: 0.0
Loading