Open tzengshinfu opened 1 week ago
is this happening every time? how can I replicate this
Hi, HenryHengZJ: It might be challenging to reproduce, as I'm using Ollama Embeddings (Local Ollama) + ChatOllama (Local Ollama) + Postgres Vector Store + Conversational Retrieval QA Chain.
However, I've observed that the API endpoint used in the UI part is different from the one used when calling the API directly.
The payload parameters are also different.
And in the UI part, only the Streaming Response provides the correct answer.
The answer obtained by directly using the API is incorrect.
I followed the suggestion to pass the sessionId, but the results are still different. (The user will only ask questions to Flowise through a third-party webhook, but the API's answers should match those of the UI.)
Describe the question The same question yields different answers in the API and the UI.
To Reproduce Steps to reproduce the behavior:
The UI Question (as shown in the blue box below) Answer (as shown in the green box below)
The API Question (as shown in the blue box below) Answer (as shown in the red box below)
Expected behavior The answers obtained from the API and the UI should be the same.
Setup