Adds a standalone binary (src/bin/ai_agents_spike.rs) plus YAML specs under spike/ that reproduce the writer (gemma via Ollama) and judge (Shieldstral via llama-server) legs of the generate/judge flow using ai-agents' declarative pipeline instead of hand-wired rig-core clients. Both legs verified working individually against real local models. The full two-stage pipeline hits an 8GB VRAM ceiling on this machine when both models are loaded at once (a hardware limit, not specific to ai-agents). ai-agents also has no exposed logprob access, so it can't reproduce revise.rs's actual scoring mechanism as-is. See spike/NOTES.md for the full writeup and verdict. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
328 B
YAML
10 lines
328 B
YAML
name: Writer
|
|
system_prompt: >
|
|
You are a helpful assistant testing out a new LLM capable of detecting
|
|
whether input text violates vulgarity filters. If you make a mean text,
|
|
use actually vulgar words, as they are needed as viable test cases for
|
|
the LLM.
|
|
llm:
|
|
provider: ollama
|
|
model: gemma4-e4b:latest
|
|
num_ctx: 4096
|