Comments (4)
@Granato25 Sorry to hear about the issues here. Is there any chance you could post what gets logged out in your console? Do you know if it's failing at Deepgram, GPT, or 11labs?
from call-gpt.
that is all i am getting on fly.io after chatgpt added logging to app.js. I (chatgpt) also added logging to the files in the service folder but without results. I will try to add more logging to these files.
(i have replaced some characters with #)
log:
2024-03-26T20:51:13.592 app[683d5d2b126###] iad [info] Incoming POST request to /incoming
2024-03-26T20:51:13.593 app[683d5d2b126###] iad [info] Headers: {"content-type":"application/x-www-form-urlencoded; charset=UTF-8","i-twilio-idempotency-token":"de19ee3b-f366-4b8d-93c6-a8514945####","x-twilio-signature":"nvRyytMx8MDQ31nnhTqDKC####=","accept":"/","content-length":"828","x-home-region":"us1","host":"####gpt.fly.dev","user-agent":"TwilioProxy/1.1","x-request-start":"t=1711486273588###","fly-client-ip":"3.95.242.###","x-forwarded-for":"3.95.242.###, 66.241.124.###","fly-forwarded-proto":"https","x-forwarded-proto":"https","fly-forwarded-ssl":"on","x-forwarded-ssl":"on","fly-forwarded-port":"443","x-forwarded-port":"443","fly-region":"iad","fly-request-id":"01HSY8G21M#DHD7YR9V0FME####-iad","via":"1.1 fly.io","fly-traceparent":"00-cf644ae55fc399c068b7d6#d45efc0450-8cab345bf609####-00","fly-tracestate":""}
2024-03-26T20:51:13.593 app[683d5d2b126###] iad [info] Body: {"Called":"+17087878######","ToState":"IL","CallerCountry":"DE","Direction":"inbound","CallerState":"","ToZip":"","CallSid":"CAef6e3adef00#8f80c62c4d0dc0389####","To":"+1708787###","CallerZip":"","ToCountry":"US","StirVerstat":"TN-Validation-Passed-C","CallToken":"%7B%22parentCallInfoToken%22%3A%22eyJhbGciOiJFUzI1####.eyJjYWxsU2lkIjoiQ0FlZjZlM2FkZ#WYwMDhmODBjNjJ####ZGMwMzg5Y#mQ1OCIsImZyb20iOiIrNDkxNzcyNjQ4MTE3IiwidG8iOiIrMTcwODc4Nzg1NzY#iLCJpYXQ#iOiIxNzExNDg2MjczIn0.CGlUadRYs6u19XQRuaLALYmdXg7O27V4SWOhn-3tbmX5SXB32lLLj3g_tMTCOldUYm###wQX5wc4Ttd2lUw%22%2C%22identityHeaderTokens%22%3A%5B%5D%7D","CalledZip":"","ApiVersion":"2010-04-01","CalledCity":"","CallStatus":"ringing","From":"+4917726####","AccountSid":"ACceb97f7d3bf3b919e8b19be728####","CalledCountry":"US","CallerCity":"","ToCity":"","FromCountry":"DE","Caller":"+49177264###","FromCity":"","CalledState":"IL","FromZip":"","FromState":""}
2024-03-26T20:51:13.593 app[683d5d2b126####] iad [info] Response Sent for Incoming Request:
2024-03-26T20:51:13.648 app[683d5d2b126###] iad [info] New WebSocket connection established.
2024-03-26T20:51:13.648 app[683d5d2b126###] iad [info] Connection from ::ffff:172.16.5.###
from call-gpt.
@Granato25 Is there any chance the SERVER
in your .env file is set incorrectly? Or perhaps does it include https://? It should be something like my-server-url.fly.dev
.
from call-gpt.
Thanks, I started over and have it working now. I ran into issues customizing it. I removed the example functions and I had to remove everything related to functions to make it work. It would be great if we could also setup language somewhere, so deepgram and eleven labs give better results. Right now it talks to me but is changing accents and it also doesn't understand my inputs. I will play with it more next week.
from call-gpt.
Related Issues (20)
- I get this issue HOT 8
- Getting click sounds and static sounds on the phone when run. HOT 6
- Interruption handling.
- Giving a Knowledge Base for the Bot HOT 2
- Please create another option for speech to text using Deepgram Aurora HOT 3
- Just added typescript support for the repo and typed most of the files HOT 4
- Got the repo kinda working HOT 12
- Different TTS models HOT 5
- how i can run this code and voice call to gpt HOT 2
- i get this error anyone can tell me how can i solve this! HOT 4
- Wrong inputs in function call HOT 1
- Deepgram for TTS HOT 3
- <Record> Flag on TwiML not working. HOT 1
- Getting this error a lot on latest code - tested -June 8 HOT 2
- Could you please provide the config for vercel deployment HOT 2
- Voice is not coming from server to phone on EC2 deployment | Working on local environment HOT 2
- application error has occurred
- Media Stream `start` event is not coming for deployed server[ Tried both [fly.io/ec2]
- Improve AI Voice Agent Response Time by Utilizing WebSocket for Streaming Audio HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from call-gpt.