discourse-ai/spec/lib/completions
Sam b0a0cbe3ca
FIX: improve bot behavior (#408)
* FIX: improve bot behavior

- Provide more information to Gemini context post function execution
- Use system prompts for Claude (fixes Dall E)
- Ensure Assistant is properly separated
- Teach Claude to return arrays in JSON vs XML

Also refactors tests so we do not copy tool preamble everywhere

* System msg is claude-2 only. fix typo

---------

Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com>
2024-01-08 10:28:03 -03:00
..
dialects FIX: improve bot behavior (#408) 2024-01-08 10:28:03 -03:00
endpoints FEATURE: AI Bot Gemini support. (#402) 2024-01-04 18:15:34 -03:00
llm_spec.rb FIX: AI helper not working correctly with mixtral (#399) 2024-01-04 09:53:47 -03:00