discourse-ai/lib/shared/inference
Sam 7d943be7b2
FIX: automatic bot titles missing sometime (#151)
This fixes 2 big issues:

1. No matter how hard you try, grounding anthropic title prompt
is just too hard. This works around by only looking at the last
sentence it returns and treating as title

2. Non English locales would be stuck with "generic" title, this
ensures every bot message gets a title, using a custom field to
track

Also, slightly tunes some anthropic prompts.
2023-08-24 07:20:24 +10:00
..
anthropic_completions.rb FEATURE: streaming mode for the FoldContent strategy. (#134) 2023-08-11 15:08:54 -03:00
discourse_classifier.rb FEATURE: Handle invalid media in NSFW module (#57) 2023-05-11 15:35:39 -03:00
discourse_reranker.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00
function.rb FEATURE: implement command framework for non Open AI (#147) 2023-08-23 07:49:36 +10:00
function_list.rb FIX: automatic bot titles missing sometime (#151) 2023-08-24 07:20:24 +10:00
hugging_face_text_generation.rb FEATURE: streaming mode for the FoldContent strategy. (#134) 2023-08-11 15:08:54 -03:00
openai_completions.rb FEATURE: implement command framework for non Open AI (#147) 2023-08-23 07:49:36 +10:00
openai_embeddings.rb FEATURE: Add Azure cognitive service support (#93) 2023-06-21 10:39:51 +10:00
stability_generator.rb FEATURE: add support for final stable diffusion xl model (#122) 2023-08-02 16:53:28 -03:00