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. |
||
|---|---|---|
| .. | ||
| ai_bot | ||
| ai_helper | ||
| automation | ||
| completions | ||
| database | ||
| embeddings | ||
| inference | ||
| nsfw | ||
| sentiment | ||
| summarization | ||
| tasks/modules | ||
| tokenizer | ||
| toxicity | ||
| utils | ||
| automation.rb | ||
| chat_message_classificator.rb | ||
| classificator.rb | ||
| engine.rb | ||
| post_classificator.rb | ||