Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice not working #6

Open
datacrud8 opened this issue Apr 1, 2024 · 2 comments
Open

Voice not working #6

datacrud8 opened this issue Apr 1, 2024 · 2 comments

Comments

@datacrud8
Copy link

Thank you for sharing this project.
I'm trying to run this local but TEXT message working with all functionality but VOICE totally not working. Is this expected behavior of this application ?

function_call.js working with tools_call but transcribe.js totally not handling this below, so its failed in "interface ChatCompletionMessage {"
tools: [
{ type: 'function', function: add_calendar_entry },
{ type: 'function', function: get_calendar_entry },
{ type: 'function', function: edit_calendar_entry },
{ type: 'function', function: delete_calendar_entry },
{ type: 'function', function: save_new_memory },
{ type: 'function', function: get_info_from_memory }
]

Can you please share the working transcribe.js file ? or how to fix this issue.
help is much appreciated. thank you.

@supershaneski
Copy link
Owner

I just tested it. I cloned the project, setup the .env file with proper values and run at localhost. If you run using an IP address, you need to run it using HTTPS otherwise you will not be able to record audio from the client.

@datacrud8
Copy link
Author

Mongodb installed correctly and its working with text input and saving the calendar and memory. But voice not working with this.
Yes I am using HTTPS only and audio recorded successfully and inside the flow its calling the function_call that time its failed with tools-call error since its not calling the above mentioned function. If possible please check with HTTPS .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants