discourse-ai/lib/completions
Hoa Nguyen 2063b3854f
FEATURE: Add Ollama provider (#812)
This allows our users to add the Ollama provider and use it to serve our AI bot (completion/dialect).

In this PR, we introduce:

    DiscourseAi::Completions::Dialects::Ollama which would help us translate by utilizing Completions::Endpoint::Ollama
    Correct extract_completion_from and partials_from in Endpoints::Ollama

Also

    Add tests for Endpoints::Ollama
    Introduce ollama_model fabricator
2024-10-01 10:45:03 +10:00
..
dialects FEATURE: Add Ollama provider (#812) 2024-10-01 10:45:03 +10:00
endpoints FEATURE: Add Ollama provider (#812) 2024-10-01 10:45:03 +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: add a SambaNova LLM provider (#797) 2024-09-12 11:28:08 +10:00
prompt.rb FIX: Malformed message in systemless + inline img scenario (#771) 2024-08-23 16:41:57 -03: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