public class AgentProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
static Agent |
agent()
Provides a vanilla agent with CoreMemory
|
static Agent |
agentWithMemory(Memory memory)
Create a new agent with a type of memory
|
Agent |
get()
Return the agent
|
static AgentProvider |
provideAgent()
The starting point for creating agents
|
AgentProvider |
withMemory(Memory memory)
Create a new agent with the memory provided
|
AgentProvider |
withTools(Object... tools)
Create a new agent with the tools provided
|
public static Agent agent()
public static Agent agentWithMemory(Memory memory)
memory - public static AgentProvider provideAgent()
public AgentProvider withMemory(Memory memory)
memory - public AgentProvider withTools(Object... tools)
tools - public Agent get()
Copyright © 2016. All rights reserved.