patch docs with proper input for OpenAI compatible embeddings

resolves 
This commit is contained in:
timothycarambat 2024-12-11 08:15:52 -08:00
parent 4b09a06590
commit a0c5d898f0
2 changed files with 2 additions and 2 deletions
server
endpoints/api/openai
swagger

View file

@ -207,7 +207,7 @@ function apiOpenAICompatibleEndpoints(app) {
content: {
"application/json": {
example: {
input: [
inputs: [
"This is my first string to embed",
"This is my second string to embed",
],

View file

@ -3120,7 +3120,7 @@
"content": {
"application/json": {
"example": {
"input": [
"inputs": [
"This is my first string to embed",
"This is my second string to embed"
],