discourse-ai/lib
Sam 05d8b021f1
FIX: scrub invalid prompts when truncating (#426)
When you trim a prompt we never want to have a state where there
is a "tool" reply without a corresponding tool call, it makes no
sense

Also

- GPT-4-Turbo is 128k, fix that
- Claude was not preserving username in prompt
- We were throwing away unicode usernames instead of adding to
message
2024-01-16 13:48:00 +11:00
..
ai_bot FEATURE: even smoother streaming (#420) 2024-01-15 18:51:14 +11:00
ai_helper REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
automation REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
completions FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
database DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
embeddings REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
inference DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
nsfw FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
sentiment FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
summarization REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
tasks/modules FEATURE: Per post embeddings (#387) 2023-12-29 12:28:45 -03:00
tokenizer Mixtral (#376) 2023-12-26 14:49:55 -03:00
toxicity FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
utils FEATURE: DNS SRV support for TEI (#363) 2023-12-18 13:21:21 -03:00
automation.rb FEATURE: LLM based peroidical summary report (#357) 2023-12-19 12:04:15 +11:00
chat_message_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
engine.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
post_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00