mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-03-16 07:02:22 +00:00
patch docs with proper input for OpenAI compatible embeddings
resolves #2801
This commit is contained in:
parent
4b09a06590
commit
a0c5d898f0
2 changed files with 2 additions and 2 deletions
server
|
@ -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",
|
||||
],
|
||||
|
|
|
@ -3120,7 +3120,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"example": {
|
||||
"input": [
|
||||
"inputs": [
|
||||
"This is my first string to embed",
|
||||
"This is my second string to embed"
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue