Skip to content

v0.8.0

Choose a tag to compare

@tyzbit tyzbit released this 14 Mar 01:12
· 297 commits to main since this release

What's Changed

  • feat(filters): add OpenAI Filter by @tyzbit in #6

To use OpenAI to filter messages, set FILTER_OPENAI_APIKEY and FILTER_OPENAI_PROMPT, which should be set as a yes or no question such as:

"Does this message mention coffee makers?"
"Does at least part of this message look like it was written by a human?"
"Does this message look like the kind of message that might be entered into evidence at a trial?"

And all sorts of fun ways you might want to filter. The default model is gpt-4o but that is configurable, as is the preamble text instructing the model how to handle the query with FILTER_OPENAI_MODEL (available values here) and FILTER_OPENAI_PREAMBLE.

If you have a local LLM you want acars-annotator to support, let me know!

Full Changelog: v0.7.0...v0.8.0