-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints-docker-compose.yml
More file actions
45 lines (40 loc) · 1.54 KB
/
endpoints-docker-compose.yml
File metadata and controls
45 lines (40 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This file contains the different endpoints your bot can use.
# Server which runs your custom actions.
# https://rasa.com/docs/rasa-pro/concepts/custom-actions
action_endpoint:
actions_module: "actions"
# The lines below activate contextual rephrasing, using the default OpenAI language model.
# Ensure the OPENAI_API_KEY is set to prevent any missing API key errors.
# For more details, refer to the documentation:
# https://rasa.com/docs/rasa-pro/concepts/contextual-response-rephraser
# To enable the rephraser, remove the comment symbols in the lines below.
nlg:
type: rephrase
summarize_history: false
llm:
model_group: openai-gpt-4o
# Model groups are used to define the LLM models that are used in this assistant.
# For more details, refer to the documentation:
# https://rasa.com/docs/reference/config/components/llm-configuration
model_groups:
- id: openai-gpt-4o
models:
- provider: openai
model: gpt-4o-2024-11-20
request_timeout: 7
max_tokens: 256
# MCP servers are used to define the MCP servers that are used in this assistant.
mcp_servers:
- name: tavily_search
url: http://tavily_search_mcp_server:8001/mcp
type: http
- name: appointment_booking
url: http://appointment_booking_mcp_server:8002/mcp
type: http
tracker_store:
type: SQL
dialect: "postgresql"
url: "tracker_store:5432"
db: "rasa"
username: "rasa" # Ensure this matches POSTGRES_USER in the docker compose file.
password: "rasa" # Ensure this matches POSTGRES_PASSWORD in the docker compose file.