Skip to content

Commit

Permalink
generate schema and validate example for new ai proxy advanced plugin (
Browse files Browse the repository at this point in the history
  • Loading branch information
lena-larionova authored Aug 14, 2024
1 parent 8299940 commit 8d6f51c
Show file tree
Hide file tree
Showing 2 changed files with 1,142 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/ai-proxy-advanced/_3.8.x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ai-proxy-advanced
config:
targets:
- route_type: llm/v1/chat
auth:
header_name: Authorization
header_value: Bearer token
model:
provider: openai
- route_type: llm/v1/chat
model:
provider: llama2
options:
llama2_format: openai
upstream_url: http://httpbin
Loading

0 comments on commit 8d6f51c

Please sign in to comment.