You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When Flowise attempts to create or insert into a Document Collection in Zep 0.27.x, it sends the embedding_dimensions field as a string (e.g. "384") instead of an integer. Zep expects an integer and returns a 400 error:
json: cannot unmarshal string into Go struct field CreateDocumentCollectionRequest.embedding_dimensions of type int
This causes Flowise to throw a 500 error on the Flowise side:
APIError: Got an unexpected status code: 400
Response: "cannot unmarshal string into Go struct..."
To Reproduce
Steps to reproduce the behavior:
Set up Flowise (version 2.2.3) in Docker on Windows.
Configure a Document Store or Vector Store node pointing to Zep (version 0.27.x).
Fill in "Embedding Dimensions" in Flowise (e.g. 384 or 768).
Attempt to "Upsert" or "Insert" documents into that Vector Store in Flowise.
Flowise fails with a 500 error. In Flowise logs:
Error initializing collection: APIError: Got an unexpected status code: 400
...
responseData: 'json: cannot unmarshal string into Go struct field ...embedding_dimensions of type int'
Zep logs show a 400 Bad Request with a message about "cannot unmarshal string for embedding_dimensions".
Expected behavior
When Flowise uses "Embedding Dimensions," it should send the field as an integer (e.g. embedding_dimensions: 384) rather than a string ("384").
Zep would successfully create or update the collection without a 400 error.
Setup
Installation method: Docker
Flowise Version: 2.2.3
Zep Version: 0.27.2
OS: Windows 10 64-bit
Browser: Chrome (for Flowise UI)
Additional context
Zep 0.27.x expects embedding_dimensions as an integer. If Flowise sends "384" (string), Zep returns a 400 Bad Request.
This might require Flowise to ensure it passes an integer field to Zep for embedding_dimensions.
Possibly related to other "cannot unmarshal string into Go struct" issues in Flowise for different backends.
The text was updated successfully, but these errors were encountered:
Describe the bug
When Flowise attempts to create or insert into a Document Collection in Zep 0.27.x, it sends the
embedding_dimensions
field as a string (e.g."384"
) instead of an integer. Zep expects an integer and returns a 400 error:json: cannot unmarshal string into Go struct field CreateDocumentCollectionRequest.embedding_dimensions of type int
This causes Flowise to throw a 500 error on the Flowise side:
APIError: Got an unexpected status code: 400
Response: "cannot unmarshal string into Go struct..."
To Reproduce
Steps to reproduce the behavior:
Set up Flowise (version 2.2.3) in Docker on Windows.
Configure a Document Store or Vector Store node pointing to Zep (version 0.27.x).
Fill in "Embedding Dimensions" in Flowise (e.g.
384
or768
).Attempt to "Upsert" or "Insert" documents into that Vector Store in Flowise.
Flowise fails with a 500 error. In Flowise logs:
Error initializing collection: APIError: Got an unexpected status code: 400
...
responseData: 'json: cannot unmarshal string into Go struct field ...embedding_dimensions of type int'
Zep logs show a 400 Bad Request with a message about "cannot unmarshal string for embedding_dimensions".
Expected behavior
embedding_dimensions: 384
) rather than a string ("384"
).Setup
Additional context
embedding_dimensions
as an integer. If Flowise sends"384"
(string), Zep returns a400 Bad Request
.embedding_dimensions
.The text was updated successfully, but these errors were encountered: