Created
August 18, 2025 16:23
-
-
Save tyzbit/4ee82f7b1b4e614b5f5f9430b3e26296 to your computer and use it in GitHub Desktop.
acars-processor rewrite config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://raw.githubusercontent.com/tyzbit/acars-processor/refs/heads/main/schema.json | |
# Purpose: Forward all human-created messages to New Relic and Discord | |
# Environment variables are substituted at runtime by acars-processor | |
ACARSProcessorSettings: | |
Database: | |
Enabled: true | |
SQLiteDatabasePath: ./messages.db | |
Type: sqlite | |
ACARSHub: | |
MaxConcurrentRequests: 1 | |
ACARS: | |
Host: &ac acarshub | |
Port: 15550 | |
VDLM2: | |
Host: *ac | |
Port: 15555 | |
Steps: | |
- Filter: {Builtin: {HasText: true}} | |
- Filter: | |
Builtin: | |
PreviousMessageSimilarity: | |
Similarity: 0.9 | |
MaximumLookBehind: 100 | |
DontFilterIfLonger: true | |
- Filter: {Builtin: {FromAircraft: true}} | |
- Annotate: | |
Tar1090: | |
URL: http://tar1090 | |
ReferenceGeolocation: 50,50 | |
- Filter: | |
Builtin: | |
FilterOnFailure: false | |
AboveDistanceNm: 100.0 | |
- Filter: | |
Ollama: | |
Model: &ollamamodel qwen3:30b-a3b | |
URL: &ollamaurl http://ollama:11434 | |
FilterOnFailure: true | |
MaxRetryAttempts: 1 | |
MaxRetryDelaySeconds: 5 | |
Timeout: 30 | |
Options: &ollamaopts [ | |
{Name: num_predict, Value: 150}, # Maximum number of tokens (words, kinda) to generate | |
{Name: temperature, Value: 0.4}, # Creativity (0.0-2.0) | |
{Name: top_p, Value: 0.2}, # Answer diversity with top_k (0.0-1.0) | |
{Name: top_k, Value: 20}, # Answer diversity (ex 0-100) | |
{Name: frequency_penalty, Value: 1.1}, # Penalize repeated tokens (0-2.0) | |
{Name: num_gpu, Value: 40}, # Number of layers to offload to GPU | |
] | |
UserPrompt: Does this message mention lavatories (shorthand LAV)? | |
- Send: | |
Discord: | |
Embed: true | |
EmbedColorFacetFields: [tail_code] | |
URL: "${acars_discord_webhook}" | |
FormatText: true | |
FormatTimestamps: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment