diff --git a/server/endpoints/api/openai/index.js b/server/endpoints/api/openai/index.js index 1f805359f..ffd641b3e 100644 --- a/server/endpoints/api/openai/index.js +++ b/server/endpoints/api/openai/index.js @@ -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", ], diff --git a/server/swagger/openapi.json b/server/swagger/openapi.json index b0272034c..a849da028 100644 --- a/server/swagger/openapi.json +++ b/server/swagger/openapi.json @@ -3120,7 +3120,7 @@ "content": { "application/json": { "example": { - "input": [ + "inputs": [ "This is my first string to embed", "This is my second string to embed" ],