Helicone Community Page

Updated 10 months ago

Vocode

Would helicone integrate with Vocode??
J
P
10 comments
Hi Prady,

Thanks for asking about VCode, we are huge fans of their platform. We are interested in adding support for them. Would you be opening to hopping on a quick call so we can learn more about your use case?
Hey Justin!! That will be great
Let me know what time suits you and I'll be happy to get on a call for the same
I was integrating with async and so got the below error from vocode:-
ERROR:vocode.streaming.utils.worker:InterruptibleWorker Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/vocode/streaming/utils/worker.py", line 218, in _run_loop await self.current_task File "/usr/local/lib/python3.10/site-packages/vocode/streaming/agent/base_agent.py", line 303, in process should_stop = await self.handle_generate_response( File "/usr/local/lib/python3.10/site-packages/vocode/streaming/agent/base_agent.py", line 216, in handle_generate_response async for response in responses: File "/code/agents/chat_gpt_agent.py", line 182, in generate_response stream = await openai.ChatCompletion.acreate(**chat_parameters) File "/usr/local/lib/python3.10/site-packages/helicone/openai_async/openai_injector.py", line 230, in wrapper return self._result_interceptor_async(result, File "/usr/local/lib/python3.10/site-packages/helicone/openai_async/openai_injector.py", line 117, in _result_interceptor_async result["helicone_meta"] = helicone_meta TypeError: 'async_generator' object does not support item assignment
This can be handled I feel with the modification made to the package as shown below:- # Incorrect way that leads to the error result["helicone_meta"] = helicone_meta # Correct way to handle async generator async for item in result: # Process each item here # You can add 'helicone_meta' to each item if they are dictionary-like objects item["helicone_meta"] = helicone_meta
Yeah - can we schedule some time using this?
https://cal.com/justintorre/15min
I have shared the calendar with the C0-founder of the company and he will schedule a meet with you
oh cool - we were in the same Accerlator at the same time
Add a reply
Sign up and join the conversation on Discord