discourse-ai/lib/shared/inference
Sam f0e1c72aa7
FEATURE: implement command framework for non Open AI (#147)
Open AI support function calling, this has a very specific shape
that other LLMs have not quite adopted.

This simulates a command framework using system prompts on LLMs
that are not open AI.

Features include:

- Smart system prompt to steer the LLM
- Parameter validation (we ensure all the params are specified correctly)

This is being tested on Anthropic at the moment and intial results
are promising.
2023-08-23 07:49:36 +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 FEATURE: implement command framework for non Open AI (#147) 2023-08-23 07:49:36 +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