discourse-ai/spec
Sam 181113159b
FIX: setting explorer was exceeding token budget
This refactor changes it so we only include minimal data in the
system prompt which leaves us lots of tokens for specific searches

The new search command allows us to pull in settings on demand

Descriptions are include in short search results, and names only
in longer results

Also: 

* In dev it is important to tell when calls are made to open ai
this adds a console log to increase awareness around token usage

* PERF: stop counting tokens so often

This changes it so we only count tokens once per response

Previously each time we heard back from open ai we would count
tokens, leading to uneeded delays

* bug fix, commands may reach in for tokenizer

* add logging to console for anthropic calls as well

* Update lib/shared/inference/openai_completions.rb

Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>
2023-09-01 11:48:51 +10:00
..
fixtures/embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
integration/embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
lib/modules FIX: setting explorer was exceeding token budget 2023-09-01 11:48:51 +10:00
models FEATURE: Multi-model support for the AI Bot module. (#56) 2023-05-11 10:03:03 -03:00
requests REFACTOR: Build related topics using TopicQuery. (#124) 2023-08-02 16:58:09 -03:00
serializers FIX: Serialize channel title for DMs (#90) 2023-06-16 14:37:16 -03:00
shared FEATURE: add initial support for personas (#172) 2023-08-30 16:15:03 +10:00
support FEATURE: port to use claude-2 for chat bot (#114) 2023-07-27 11:24:44 +10:00
system FEATURE: Show suggested title prompt in new location (#171) 2023-08-29 09:45:53 -07:00
plugin_spec.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00