mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 01:06:25 +02:00
Add function calling support using bolt-fc-1b (#35)
This commit is contained in:
parent
fdfad87347
commit
7b5203a2ce
39 changed files with 1763 additions and 416 deletions
|
|
@ -32,6 +32,19 @@ static_resources:
|
|||
domains:
|
||||
- "*"
|
||||
routes:
|
||||
- match:
|
||||
prefix: "/mistral/v1/chat/completions"
|
||||
route:
|
||||
auto_host_rewrite: true
|
||||
cluster: mistral_7b_instruct
|
||||
timeout: 60s
|
||||
- match:
|
||||
prefix: "/bolt_fc_1b/v1/chat/completions"
|
||||
route:
|
||||
prefix_rewrite: /v1/chat/completions
|
||||
auto_host_rewrite: true
|
||||
cluster: bolt_fc_1b
|
||||
timeout: 120s
|
||||
- match:
|
||||
prefix: "/v1/chat/completions"
|
||||
headers:
|
||||
|
|
@ -180,3 +193,17 @@ static_resources:
|
|||
address: mistral_7b_instruct
|
||||
port_value: 10001
|
||||
hostname: "mistral_7b_instruct"
|
||||
- name: bolt_fc_1b
|
||||
connect_timeout: 5s
|
||||
type: STRICT_DNS
|
||||
lb_policy: ROUND_ROBIN
|
||||
load_assignment:
|
||||
cluster_name: bolt_fc_1b
|
||||
endpoints:
|
||||
- lb_endpoints:
|
||||
- endpoint:
|
||||
address:
|
||||
socket_address:
|
||||
address: functionresolver
|
||||
port_value: 80
|
||||
hostname: "bolt_fc_1b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue