Closed akdeb closed 4 months ago
Hi @akdeb! You can pass a sessionSettings
object to VoiceProvider
to change the system prompt.
<VoiceProvider
auth={{
type: 'apiKey',
value: apiKey
}}
sessionSettings={{
'systemPrompt': 'YOUR SYSTEM PROMPT HERE'
}}
>
</VoiceProvider>
You can find other possible values for sessionSettings
here: https://dev.hume.ai/reference/empathic-voice-interface-evi/chat/chat#send
Edit: I hope this also addresses your question in https://github.com/HumeAI/hume-evi-next-js-starter/issues/2
Makes sense thanks @zachkrall!
Does
@humeai/voice-react
have an easy way of updating the system prompt? Couldn't find it in the docs and the index.d.ts