discourse-ai/lib/completions/endpoints
Roman Rizzi 971e03bdf2
FEATURE: AI Bot Gemini support. (#402)
It also corrects the syntax around tool support, which was wrong.

Gemini doesn't want us to include messages about previous tool invocations, so I had to shuffle around some code to send the response it generated from those invocations instead. For this, I created the "multi_turn" context, which bundles all the context involved in the interaction.
2024-01-04 18:15:34 -03:00
..
anthropic.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
aws_bedrock.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
base.rb FEATURE: AI Bot Gemini support. (#402) 2024-01-04 18:15:34 -03:00
canned_response.rb FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00
gemini.rb FEATURE: AI Bot Gemini support. (#402) 2024-01-04 18:15:34 -03:00
hugging_face.rb FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00
open_ai.rb FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00
vllm.rb FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00