Are there any examples with few shot training for ...
# koog-agentic-framework
y
Are there any examples with few shot training for the koog agent?
a
Hi @Yogeshvu, not sure if I got you correctly – you mean an example of a training any type of a production-ready agent or an example of how we can inject few-shot prompting into an agent? I can't help with the first, but as for the second, here is how you can do it via the system prompt: https://github.com/JetBrains/koog/blob/6e1b5b7f92c276bdea57b93f6b89dfaea58621ab/docs/docs/prompt-api.md#creating-a-prompt
y
@Anastasiia Zarechneva thanks for the inputs, yes I think this should work.. I am looking at examples use-cases where we have perhaps a natural language input, and perhaps some desired outputs which we would like to provide the agent as a context( consider something like text--sql with )..
🙌 1
a
Yeah, in this case the prompt builder is what you need 🙂 Feel free to reach out if any questions arise on the way!
v
Hey, also please feel free to check out related article (by Denis Domanskiy) that showcases few-shot example which actually trapped the LLM in a pattern https://blog.jetbrains.com/ai/2025/07/when-tool-calling-becomes-an-addiction-debugging-llm-patterns-in-koog/
K 1