Composable building blocks of AI interaction and execution in re-factor.
Runnable | Description | Status |
---|---|---|
Completions | Generate text and structured responses to prompts with LLMs. | π’ |
Tools | Provide interfaces to external systems and resources. | π§ |
Flows | Orchestrate complex processes by chaining prompts and tools. | π§ |
Agents | Orchestrate dynamic processes by empowering LLMs to take action. | π§ |
completions
and agents
and often used within the tasks
of flows
.See the Prompts Guide for more details, schemas, and examples.completions
and agents
and often used within the tasks
of flows
.Provides one or more LLM configurations that can be used within the runnable to generate responses.See the LLMs Guide for more details, schemas, and examples.prompts
are required in completions
and agents
and very commonly used in flows
. They provide the context and instructions for the LLM to generate a response.