How it works
At a high level, context injection works like this:- set your Vocode prompt to include template values
- include a
context_endpoint
parameter to your bot - when an inbound call comes in, Vocode will query the context endpoint provided with the caller phone number
- the queried information from the endpoint is then filled into the prompt template