Transcript
# support
s
Retrieval of transcripts is not working. From my console: No artifact data found in Vapi response from Vapi AI support: Looking at your code, you have correctly configured the required settings: Recording is enabled: javascript recordingEnabled: true, 1 Client messages are set up correctly: javascript clientMessages: ['transcript', 'conversation-update'] Model output in messages is enabled: javascript modelOutputInMessagesEnabled: true Since your configuration appears correct according to the documentation, I recommend reaching out to Contact Us for further assistance with the transcript data issue.
v
@Suri I'm sorry to hear that you're experiencing issues with retrieving transcripts. It seems like you've already checked the essential configurations. To assist you further, I would need to know if you're receiving any specific error messages or if there are any particular steps that lead to this issue. Additionally, could you confirm if this issue is occurring consistently or if it was working previously? In the meantime, please ensure that your event listener for the
message
event is set up to handle transcript messages correctly. If you're still facing difficulties, please reach out to support for more in-depth troubleshooting.
You can continue this conversation by mentioning me in the message.
s
Artifact: undefined No artifact data found in Vapi response Thats my console msg. this is the code const assistantOverrides: AssistantOverrides = { transcriber: { provider: "deepgram", model: "nova-2", language: "en-US", }, recordingEnabled: true, modelOutputInMessagesEnabled: true, clientMessages: ['transcript', 'conversation-update'], artifactPlan: { videoRecordingEnabled: false, } }, variableValues: { interviewQuestions: interviewQuestions || 'Not Specified', resumeData: parsedResume, jobRole: jobRole || 'Not specified' }, maxDurationSeconds: 900 } @Vapi
v
@Suri Thank you for providing the console message and the relevant code snippet. The error message "Artifact: undefined No artifact data found in Vapi response" suggests that the system is expecting to retrieve some artifact data, but it's not present in the response from VAPI. From the code you've provided, it looks like you have set up the
transcriber
and other configurations correctly. However, the
artifactPlan
only mentions
videoRecordingEnabled: false
, and there is no mention of enabling audio recording artifacts. If you're trying to retrieve audio transcripts, you need to ensure that audio recording is enabled in the
artifactPlan
. Please check if the
artifactPlan
should include a property like
audioRecordingEnabled: true
(if such a property exists in the VAPI configuration) to enable audio recording artifacts. If this property is not available or if the issue persists after making the change, it might be best to reach out to VAPI support for further assistance, as they can provide more detailed guidance and check if there are any issues on the server side. If you need any further assistance or if you'd like me to perform any specific actions, please let me know!
s
i am only looking for the TEXT transcript @Vapi
v
@Suri Understood, you're looking for the text transcript of the session. Based on your code snippet, you have enabled the necessary settings for recording and receiving transcripts. However, the error message indicates that the transcript data is not being generated or retrieved correctly. Here are a few steps you can take to troubleshoot the issue: 1. **Check the Transcriber Configuration**: Ensure that the transcriber service (Deepgram in your case) is operational and that the API keys and any other credentials are correctly configured. 2. **Verify Event Listeners**: Make sure that your application has event listeners set up to handle the
transcript
messages. The event listener should be looking for messages of type
transcript
and handling them appropriately. 3. **Review Session Lifecycle**: Confirm that the session is starting and ending correctly, and that the transcript is being requested after the session has concluded. 4. **Check for Updates**: Sometimes, APIs and services are updated, and these updates may require changes in your code. Ensure that you're using the latest version of the VAPI and that your code is up to date with any recent changes. 5. **Contact Support**: If you've gone through these steps and the issue persists, it may be a more complex problem that requires direct support from the VAPI team. If you believe everything is set up correctly and you should be receiving transcripts but are not, it might be time to reach out to the VAPI support team for further assistance. They can provide more detailed troubleshooting and check if there are any issues on their end. Would you like me to guide you through any of these troubleshooting steps, or is there anything else I can assist you with?
s
Hey @Suri To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
6 Views