foreign-sapphire•16mo ago
Help with Error Unable To Fetch Response
Hello all, new user with a basic question. I have a KB word doc setup and when I run a test, it seems to hang and then stop and show error "Unable to Fetch Response". When I preview it and answer questions against the KB it works fine. I am using a Capture response with a last_utterance variable. I had the KB set using ChatGPT 3.5 and then changed to 4.0 to see if it made any difference but it didn't. Any advice on why its not returning a response? Thanks in advance.
3 Replies
To address the issue of receiving an "Unable to Fetch Response" error when running a test with your KB word document, here are a few steps to troubleshoot:
1. Check the KB Document Upload:
- Ensure that your KB document is properly uploaded and parsed into chunks. The system converts the document into vector embeddings, which are then stored in a vector database.
2. Verify the Retrieval Process:
- When a question is asked, the retriever service converts the question into a vector and searches the vector database for the most similar chunks. Make sure that this process is functioning correctly by checking the settings and logs.
3. Capture Response and Variables:
- Since you are using a Capture response with a
last_utterance
variable, ensure that this variable is correctly capturing the user's input and that it is being passed correctly to the KB for retrieval.
4. Model Version:
- You mentioned switching from ChatGPT 3.5 to 4.0 without any difference. Ensure that the model version is correctly configured in your settings and that there are no compatibility issues.
5. Preview vs. Test Environment:
- Since the preview works fine, but the test environment does not, there might be differences in settings or configurations between the two environments. Double-check the settings to ensure consistency.
6. Chunk Limit and Size:
- Adjust the chunkLimit
and maxChunkSize
parameters in your KB settings. Sometimes increasing the number of chunks retrieved can improve the accuracy and response time.
If the issue persists after these checks, it might be helpful to review the logs for any specific error messages or consult the documentation for further troubleshooting steps.foreign-sapphireOP•16mo ago
Where are the logs? What should I be checkig in the settings?
how do I check if the variabl last_utterance is correctly capturing the user's input and that is being passed correctly to the KB input?
Need some more direction on how to follow these steps
optimistic-gold•16mo ago
I have problems with "Unable to ferch response" as well, their might be an issue on voiceflow's end? Not reading the knowledge base?