Hi All,
These issues are not urgent!
I’ve encountered 2 issues described below.
- Processing a posted audio file via a webhook
- Calling an OpenAI Assistant that has a File Search tool
Audio File Post:
Trying to process an audio file posted via webhook.
Whether I use the Speech to text node or Google Save File node, the processing of the post seems to fail.
https://www.gumloop.com/pipeline?run_id=8fZRzVWRT2MeGZmDs58f9N&workbook_id=m2VnABK3oq83QS7QGaSCRz
Speech to Text Failed!
There was an error in your Speech to Text node. We can help you troubleshoot in the Gumloop Forum!
Other notes: When troubleshooting, I tried saving the posted file to google drive and the save file node failed in the same manner as the speech to text. Therefore, I think the issue is in reading the file from the web hook and not the nodes(?) Also, I saved the client file to disk then uploaded that to gum loop manually and was able to successfully convert the audio file to text so it is not a file issue.
For the client, I am using a simple python streamlit app:
# Read the saved file and encode it in base64
with open(filename, "rb") as f:
file_data = f.read()
base64_file = base64.b64encode(file_data).decode('utf-8')
payload = {
"user_id": "Hsi1cuMynhMWoTbb9X2fqUoX1r23",
"saved_item_id": "5wmksQLfoUv9eVDrKKhtZu",
"pipeline_inputs": [{"input_name":"File", "value": base64_file}]
}
If you need anything to help troubleshoot, please let me know!
Issue #2:
Symptom: Calling an OpenAI Assistant does not generate the expected response.
I have a simple OpenAI Assistant that uses the File Search tool. The File Search has an OpenAI vector store with some documents to be queried.
Issue: when I call this OpenAI Assistant via Gumloop, the assistant is invoked successfully, however, the response indicates that the assistant did not use the File Search tool. I can use the assistant in the OpenAI Playground successfully (returning results from the vector store).
https://www.gumloop.com/pipeline?workbook_id=dEZwc7nspSkyHySY93izoZ&run_id=UDz9zipe7wGrLnHE7dLdpC
Here is the top of Gumloop’s response from the assistant:
“I seem to have run into a bit of trouble accessing the files containing the information, but worry not! Here’s how you can find out the winter break schedule:” - the response then goes on with a generic model response without any vector store info.
If you need any additional help/info to troubleshoot, please let me know!
Thank you very much for your help.
Bower