Are there any plans to add support for adding fill...
# agents
p
Are there any plans to add support for adding filler words during execution of function calls? Has anyone here implemented something like that already. The basic idea is that the function calling invovles a lot of latency as the LLM needs to stream all the tokens for arguments, our code call the function and then re-trigger an LLM response again with function result. I want to add some filler words during these executions. Is there a way to do that?
j
generate_reply
in a function call should work for pipeline agent and openai realtime model
p
No I want the ability to add some static text to be spoken during the function call. Something like
Let me check that for you...
without needing one more LLM call Is this possible to do? Maybe if we can implement our own LLM plugin, this is possible
j
then
session.say
?
p
Yes - we can execute session.say within function call which is triggered after all the tokens of arguments are streamed from LLM. What I meant to say was to make the agent say something before the function call execution and when we detect this is a tool call response from LLM. Something like below flow: 1. Send transcript to LLM 2. LLM detects we need to make a tool call 3. We have some static string we want to say as the function call arguments are still being streamed from LLM 4. Execute function call