erwin
11/08/2024, 6:14 PMerwin
11/08/2024, 6:19 PMShubham Bajaj
11/09/2024, 2:03 AMerwin
11/09/2024, 2:29 AMerwin
11/09/2024, 2:29 AMerwin
11/09/2024, 2:29 AMdata: {"id":"12345","choices":[{"delta":{"content":"","role":"assistant"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":". Nice to meet you <flush />"},"finish_reason":null}]...}erwin
11/09/2024, 2:30 AMdata: {"id":"12345","choices":[{"delta":{"content":"","role":"assistant"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":". Nice to meet you <flush>"},"finish_reason":null}]...}erwin
11/09/2024, 2:30 AMdata: {"id":"12345","choices":[{"delta":{"content":"","role":"assistant"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":". Nice to meet you <flush >"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"<flush />"},"finish_reason":null}]...}erwin
11/09/2024, 2:30 AMdata: {"id":"12345","choices":[{"delta":{"content":"","role":"assistant"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":". Nice to meet you <flush >"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"<flush>"},"finish_reason":null}]...}erwin
11/09/2024, 2:30 AMdata: {"id":"12345","choices":[{"delta":{"content":"","role":"assistant"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":". Nice to meet you"},"finish_reason":null}]...}
data: "<flush />"erwin
11/09/2024, 2:30 AM<flush> tag , thanks @Shubham Bajaj : )Shubham Bajaj
11/11/2024, 3:35 PMjson
data: {"id":"12345","choices":[{"delta":{"content":"Hi there <flush />"},"finish_reason":null}]...}Shubham Bajaj
11/11/2024, 3:35 PMerwin
11/11/2024, 4:24 PMa4baf7c3-ead3-43a5-9b26-808110730f1a.
> Also do ensure chunkingPlan enabled is set to true else it won't work.
I’ve already made sure it’s enabled on my end.
Thanks for looking into this.
https://cdn.discordapp.com/attachments/1304509416363659314/1305568891249889300/Screenshot_2024-11-10_at_07.44.10_1.png?ex=67338147&is=67322fc7&hm=326265733a415847baae7e8a83e2d0285331271e4e819fc3790e281f69a03643&tq
11/12/2024, 9:44 PMtq
11/12/2024, 9:44 PMtq
11/12/2024, 9:44 PMtq
11/13/2024, 3:41 AMShubham Bajaj
11/13/2024, 7:24 AMlogs
🔵 00:36:54:417 [user LOG] Model output: Thanks. I've noted that you were born in 1996.
🔵 00:36:54:417 PlayHT (Stream#1) Pushing "Thanks. I've noted that you were born in 1996. "...
🔵 00:36:54:417 Voice Input Formatted: "Thanks. I've noted that you were born in 1996. ", Original: "Thanks. I've noted that you were born in 1996. "
🔵 00:36:54:417 [user LOG] Voice input: Thanks. I've noted that you were born in 1996.
Hey @erwin as you seen in the logs we are flushing out your model output, now to confirm if it's not working as expected can you share a public call recording URL or use Vapi storage for one of the call.Shubham Bajaj
11/13/2024, 7:24 AMerwin
11/13/2024, 9:58 AMdata: {"id":"msg_01KAzxVD1BoJDjsStAKHokJr","choices":[{"delta":{"content":"","refusal":null,"role":"assistant"},"index":0,"logprobs":null}],"created":1731491397,"model":"claude-3-5-haiku-latest","object":"chat.completion.chunk","service_tier":null}
data: {"id":"msg_01KAzxVD1BoJDjsStAKHokJr","choices":[{"delta":{"content":"Thanks. I've noted that you were born in 1996. <flush />","refusal":null},"index":0,"logprobs":null}],"created":1731491397,"model":"claude-3-5-haiku-latest","object":"chat.completion.chunk","service_tier":null}
data: {"id":"msg_01KAzxVD1BoJDjsStAKHokJr","choices":[{"delta":{"content":"Where did you grow up?","refusal":null},"index":0,"logprobs":null}],"created":1731491397,"model":"claude-3-5-haiku-latest","object":"chat.completion.chunk","service_tier":null}
data: {"id":"msg_01KAzxVD1BoJDjsStAKHokJr","choices":[{"delta":{"content":null,"refusal":null},"finish_reason":"stop","index":0,"logprobs":null}],"created":1731491397,"model":"claude-3-5-haiku-latest","object":"chat.completion.chunk","service_tier":null}
data: [DONE]
ThanksShubham Bajaj
11/14/2024, 10:03 AMerwin
11/14/2024, 12:06 PM".") character.
data: {"id":"12345","choices":[{"delta":{"content":"Hi Michael. My name is erwin <flush />"},"finish_reason":null}]...}
data: {"id":"12345","choices":[{"delta":{"content":" "},"finish_reason":null}]...}
The voice assistant will only say "Hi Michael.".
Is there a way to overcome this?
And also I noticed when I use more than one <flush /> in the stream, only the first one will work.
data: {..."choices":[{"delta":{"content":"Hi Michael this is a description <flush />"},"finish_reason":null}]...}
data: {..."choices":[{"delta":{"content":" "},"finish_reason":null}]...}
data: {..."choices":[{"delta":{"content":"This is another description <flush />"},"finish_reason":null}]...}
data: {..."choices":[{"delta":{"content":" "},"finish_reason":null}]...}
The voice assistant will only say "Hi Michael this is a description".
Is there anything I can do to make the <flush /> work on the second sentence?
Thanks for helping outShubham Bajaj
11/14/2024, 12:44 PM<flush /> feature. We're working on fixing it right now. I'll make sure to let you know as soon as it's all sorted out!Shubham Bajaj
11/14/2024, 12:44 PMsolved.Shubham Bajaj
11/14/2024, 12:47 PMerwin
11/14/2024, 2:02 PM