discourse-ai/lib/modules/ai_bot/commands
Sam 92fb84e24d
iterate commands (#73)
* FEATURE: introduce a more efficient formatter

Previous formatting style was space inefficient given JSON consumes lots
of tokens, the new format is now used consistently across commands

Also fixes

- search limited to 10
- search breaking on limit: non existent directive

* Slight improvement to summarizer
Stop blowing up context with custom prompts

* ensure we include the guiding message

* correct spec

* langchain style summarizer ...

much more accurate (albeit more expensive)

* lint
2023-05-22 12:09:14 +10:00
..
categories_command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
google_command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
image_command.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00
search_command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
summarize_command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
tags_command.rb iterate commands (#73) 2023-05-22 12:09:14 +10:00
time_command.rb FEATURE: add support for GPT <-> Forum integration 2023-05-20 17:45:54 +10:00