🇬🇧United Kingdom @chris_hall_hu_cheng

Account created on 13 October 2011, over 13 years ago
#

Recent comments

🇬🇧United Kingdom chris_hall_hu_cheng

Is this issue still going to be valid after issue: https://www.drupal.org/project/ai/issues/3514985 📌 Move Assistants API to use function calling Active Move Assistants API to use function calling?

I had a quick attempt to try and work out how to get this to work but got a little lost. I attempted to alter the process function in the AiAssitantApiRunner, I managed to add the actions json into $return (matching what I saw when debugging and forcing it to do the RAG search action via the chat prompt) and it did run the code after foreach ($return['actions'] as $action) { BUT still didn't actually respond based on the RAG search results apart from the two times it did work for no apparent reason.. Am I missing something simple.

I need to get something working for a client soon. I am thinking my best bet is to hand craft something similar to this approach https://gorannikolovski.com/blog/deep-chat-js-semantic-search-and-openai... or probably better still make my own custom copy of the AI Deepchat module and replace the AiAssitantApiRunner calls with my own service that makes lower level calls similar to the ones used in the debug admin section the AI module suite provides.

Production build 0.71.5 2024