discourse-ai/lib/completions
Sam 545500b329
FEATURE: allows forced LLM tool use (#818)
* FEATURE: allows forced LLM tool use

Sometimes we need to force LLMs to use tools, for example in RAG
like use cases we may want to force an unconditional search.

The new framework allows you backend to force tool usage.

Front end commit to follow

* UI for forcing tools now works, but it does not react right

* fix bugs

* fix tests, this is now ready for review
2024-10-05 09:46:57 +10:00
..
dialects FEATURE: allows forced LLM tool use (#818) 2024-10-05 09:46:57 +10:00
endpoints FEATURE: allows forced LLM tool use (#818) 2024-10-05 09:46:57 +10:00
anthropic_message_processor.rb FEATURE: anthropic function calling (#654) 2024-06-06 08:34:23 +10:00
function_call_normalizer.rb FIX: more robust function call support (#581) 2024-04-19 06:54:54 +10:00
llm.rb FEATURE: allows forced LLM tool use (#818) 2024-10-05 09:46:57 +10:00
prompt.rb FEATURE: allows forced LLM tool use (#818) 2024-10-05 09:46:57 +10:00
prompt_messages_builder.rb FEATURE: Add support for contextualizing a DM to a bot (#627) 2024-05-21 17:17:02 +10:00
upload_encoder.rb FEATURE: Add vision support to AI personas (Claude 3) (#546) 2024-03-27 14:30:11 +11:00
xml_tag_stripper.rb FIX: display search correctly, bug when stripping XML (#668) 2024-06-14 15:28:40 +10:00