Nous.Tools.Summarize (nous v0.13.3)
View SourceTool for summarizing long text using an LLM call.
Uses nous's own Nous.Agent.run/3 with a lightweight model to
summarize content focused on a specific research question.
Usage
agent = Agent.new("openai:gpt-4",
tools: [&Summarize.summarize/2],
deps: %{summary_model: "openai:gpt-4o-mini"}
)
Summary
Functions
Summarize a long text into key points.