I’m making persona chatbot with animation character.
By using function, I’m trying to make chatbot find data what he doesn’t know, from vdb.
But, this function does not work well, especially in general sentence, such as “‘Gyorhong’ is so cute, aren’t she?”
He does not return function args, but answer like this, “Haha, Gyoryong is cute? But who is Gyoryong? Can you tell me what the story is about?”
Terrible… I cannot understand why chatbot doesn’t use function, even he doensn’t know what Gyoryong is…
I wonder that function calling fits for only question or query, not general conversation situation?
Below is my function to make chatbot do this.
“description”: “If user says the words what you don’t know, you should use this function even if user prompt is not question.”,
“description”: “The word you don’t know that the user mentioned in the world view of the animation character”,
Popping forum text into an AI to improve, we can not just read it, but examine the AI’s understanding when it rewrites. It is clear that it doesn’t understand, so I lay out the operations of functions and knowledge retrieval within a roleplay or game scenario. I also gave the function names that alone would inform.
“description”: “This function is used to enhance the AI’s knowledge about in-game characters or situations that users mention but the AI doesn’t initially recognize. It enables the AI to retrieve information related to the game’s world view, enhancing its ability to provide informed responses.”
" word parameter description": “The specific word mentioned by the user in the context of the game character that the AI doesn’t initially identify.”
Then a bit more tweaking. Try:
"description": "This function is used to enhance the AI's knowledge about in-game characters or situations that users mention but the AI doesn't initially recognize. It enables the AI to retrieve information related to the game's world view, enhancing its ability to provide informed responses.",
"description": "The specific word mentioned by the user in the context of the game's world view that the AI doesn't identify."
One could imagine more direct functions, such as “character_biography” “player health” or others.
I tried this, but it doesn’t work, too.
Seeing that the example of the function call official document(function call) is also a question, I think it is suitable for a chatbot that solves the question.
But let’s look for more examples or references used in open-domain chatbots.