plano/crates/hermesllm/src/apis
Salman Paracha b4543ba56c
Introduce signals change (#655)
* adding support for signals

* reducing false positives for signals like positive interaction

* adding docs. Still need to fix the messages list, but waiting on PR #621

* Improve frustration detection: normalize contractions and refine punctuation

* Further refine test cases with longer messages

* minor doc changes

* fixing echo statement for build

* fixing the messages construction and using the trait for signals

* update signals docs

* fixed some minor doc changes

* added more tests and fixed docuemtnation. PR 100% ready

* made fixes based on PR comments

* Optimize latency

1. replace sliding window approach with trigram containment check
2. add code to pre-compute ngrams for patterns

* removed some debug statements to make tests easier to read

* PR comments to make ObservableStreamProcessor accept optonal Vec<Messagges>

* fixed PR comments

---------

Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local>
Co-authored-by: MeiyuZhong <mariazhong9612@gmail.com>
Co-authored-by: nehcgs <54548843+nehcgs@users.noreply.github.com>
2026-01-07 11:20:44 -08:00
..
streaming_shapes cargo clippy (#660) 2025-12-25 21:08:37 -08:00
amazon_bedrock.rs cargo clippy (#660) 2025-12-25 21:08:37 -08:00
anthropic.rs cargo clippy (#660) 2025-12-25 21:08:37 -08:00
mod.rs Add support for v1/responses API (#622) 2025-12-03 14:58:26 -08:00
openai.rs cargo clippy (#660) 2025-12-25 21:08:37 -08:00
openai_responses.rs Introduce signals change (#655) 2026-01-07 11:20:44 -08:00