Go to file
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
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
app REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
assets FEATURE: even smoother streaming (#420) 2024-01-15 18:51:14 +11:00
config FEATURE: even smoother streaming (#420) 2024-01-15 18:51:14 +11:00
db DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
discourse_automation FEATURE: allow sending AI based report to a topic (#377) 2023-12-22 11:46:23 +11:00
lib FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
spec FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
test/javascripts FEATURE: even smoother streaming (#420) 2024-01-15 18:51:14 +11:00
tokenizers Mixtral (#376) 2023-12-26 14:49:55 -03:00
.discourse-compatibility DEV: Updates to the summarization strategy API (#301) 2023-11-21 13:27:35 -03:00
.eslintrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierignore FEATURE: UI to update ai personas on admin page (#290) 2023-11-21 16:56:43 +11:00
.prettierrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.rubocop.yml DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.streerc DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.template-lintrc.cjs DEV: Update linting (#326) 2023-11-29 23:01:48 +01:00
Gemfile DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
Gemfile.lock DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md CHORE: Update Readme (#185) 2023-09-04 15:46:35 -03:00
package.json DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00
plugin.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
translator.yml DEV: Add Crowdin support (#108) 2023-07-15 00:56:15 +02:00
yarn.lock DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco