Skip to content

Commit

Permalink
Whitelist OpenAI embeddings endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyav2 committed Jan 27, 2025
1 parent b4686e8 commit be02980
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ And exposes the following endpoints for inference:
- `/v1/chat/completions`
- `/api/generate`
- `/api/embed`
- `/v1/embeddings`

As shown in `config.json`.

Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"/api/chat",
"/v1/chat/completions",
"/api/generate",
"/api/embed"
"/api/embed",
"/v1/embeddings"
]
}

0 comments on commit be02980

Please sign in to comment.