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

Just added typescript support for the repo and typed most of the files #25

Open
SDCalvo opened this issue Apr 3, 2024 · 4 comments
Open

Comments

@SDCalvo
Copy link

SDCalvo commented Apr 3, 2024

Wanted to ask if I can make a PR adding typescript and typings in general, also moving away from require to import, and adding a dist and build folders, just tested and it seems to run fine, who can I ask permissions to push a branch and open a PR if this is a wanted feature?

@SDCalvo
Copy link
Author

SDCalvo commented Apr 22, 2024

Got everything working finally! :) the entire repo with typescript support and the new SDK for deepgram, if wanted can make a PR with it

@MuhammadAdil-Developer
Copy link

Hi! Calvo i see recently you finish all setup in this repo so i highly apprieciates to you if could tell me how i can resolve this error

@MuhammadAdil-Developer
Copy link

Interaction 2: GPT -> TTS: Let me check the price, one moment.
GPT -> called checkPrice function
C:\Python Important\call-gpt-main\node_modules\openai\error.js:43
return new BadRequestError(status, error, message, headers);
^

BadRequestError: 400 'checkPrice' is not one of ['system', 'assistant', 'user', 'function'] - 'messages.8.role'

@MuhammadAdil-Developer
Copy link

im waiting for your response Thanks!

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