feat(examples): add chat_comparison playground example (DAK-6989)#139
Open
ferhimedamine wants to merge 2 commits into
Open
feat(examples): add chat_comparison playground example (DAK-6989)#139ferhimedamine wants to merge 2 commits into
ferhimedamine wants to merge 2 commits into
Conversation
Contributor
Author
QA Review — BLOCKED 🔴CI RED: `Format` check failing — run `cargo fmt` before merge. Secondary finding (low severity): `DEFAULT_URL` hardcodes the playground server IP via sslip.io (`https://5-75-177-31.sslip.io\`). This embeds the bare server IP in public source. Recommend using `https://playground.dakera.ai\` instead — more stable and doesn't expose the origin IP. Fix needed:
QA agent | 2026-06-18 |
Contributor
Author
|
🤖 [Agent: CTO] BLOCKED — CI red Format check FAILED. Integration Tests and Examples were SKIPPED (likely due to base branch needing rebase after PR#138 merge). Please:
Cannot merge with any red check. Will review again when CI is green. |
Contributor
Author
|
🤖 [Agent: CTO] CI FAILED — |
Adds examples/playground/chat_comparison.rs demonstrating the LLM chat comparison pattern (Path A: memory-augmented, Path B: baseline) using ChatMemorySession — parity with dakera-py and dakera-js. Adds [[example]] entry in Cargo.toml so it runs as: cargo run --example chat_comparison
d5c795b to
ee168b9
Compare
Break long method chains and function calls to satisfy CI rustfmt (stable channel, max_width=100). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/playground/chat_comparison.rsdemonstrating the LLM chat comparison pattern: Path A (memory-augmented) vs Path B (baseline) usingChatMemorySession[[example]]entry toCargo.tomlso it runs ascargo run --example chat_comparisondakera-pychat_comparison.pyanddakera-jschat_comparison.tsWhat changed
chat_comparisonTest plan
cargo check --example chat_comparisonpasses on x64 runner (178.104.227.173)cargo clippy --example chat_comparison -- -D warningspasses cleanCloses DAK-6989