discourse-ai/db
Sam e76fc77189
fixes (#53)
* Minor... use username suggester in case username already exists

* FIX: ensure we truncate long prompts

Previously we

1. Used raw length instead of token counts for counting length
2. We totally dropped a prompt if it was too long

New implementation will truncate "raw" if it gets too long maintaining
meaning.
2023-05-06 07:31:53 -03:00
..
fixtures fixes (#53) 2023-05-06 07:31:53 -03:00
migrate FEATURE: add a table to audit OpenAI usage (#45) 2023-04-26 11:44:29 +10:00
post_migrate FEATURE: Prompts can consist of multiple messages. (#21) 2023-03-21 12:04:59 -03:00