AIAgentLLMContext
Constructs a new instance of AIAgentLLMContext with the provided parameters.
Parameters
A list of tools described by ToolDescriptor that the agent can interact with.
A registry of available tools, defaulting to an empty ToolRegistry.
The initial prompt used in the context, represented by a Prompt instance.
The language model used for processing prompts and generating responses.
An optional ResponseProcessor for handling and processing model responses.
Responsible for executing the logic for prompt processing in the context.
The operational environment of the AI agent, represented by an AIAgentEnvironment.
Configuration settings for the AI agent, encapsulated in an AIAgentConfig.
A clock instance for managing time-related operations within the context.
Constructs a new instance of AIAgentLLMContext with the provided parameters.
Parameters
A list of tools described by ToolDescriptor that the agent can interact with.
A registry of available tools, defaulting to an empty ToolRegistry.
The initial prompt used in the context, represented by a Prompt instance.
The language model used for processing prompts and generating responses.
An optional ResponseProcessor for handling and processing model responses.
Responsible for executing the logic for prompt processing in the context.
The operational environment of the AI agent, represented by an AIAgentEnvironment.
Configuration settings for the AI agent, encapsulated in an AIAgentConfig.
A clock instance for managing time-related operations within the context.
Constructs a new instance of AIAgentLLMContext with the provided parameters.
Parameters
A list of tools described by ToolDescriptor that the agent can interact with.
A registry of available tools, defaulting to an empty ToolRegistry.
The initial prompt used in the context, represented by a Prompt instance.
The language model used for processing prompts and generating responses.
An optional ResponseProcessor for handling and processing model responses.
Responsible for executing the logic for prompt processing in the context.
The operational environment of the AI agent, represented by an AIAgentEnvironment.
Configuration settings for the AI agent, encapsulated in an AIAgentConfig.
A clock instance for managing time-related operations within the context.
Constructors
Properties
Represents the clock instance used for time-related operations and scheduling within the context.
Represents the clock instance used for time-related operations and scheduling within the context.
Provides access to the configuration settings for an AI agent within the LLM context.
Provides access to the configuration settings for an AI agent within the LLM context.
Provides access to the configuration settings for an AI agent within the LLM context.
Represents the execution environment associated with an AI agent within the context of the LLM (Large Language Model) framework.
Represents the execution environment associated with an AI agent within the context of the LLM (Large Language Model) framework.
Represents the execution environment associated with an AI agent within the context of the LLM (Large Language Model) framework.
LLM currently associated with this context.
LLM currently associated with this context.
LLM currently associated with this context.
The PromptExecutor responsible for performing operations on the current prompt.
The PromptExecutor responsible for performing operations on the current prompt.
The PromptExecutor responsible for performing operations on the current prompt.
Response processor currently associated with this context.
Response processor currently associated with this context.
Response processor currently associated with this context.
A ToolRegistry that contains metadata about available tools.
A ToolRegistry that contains metadata about available tools.
A ToolRegistry that contains metadata about available tools.
List of current tools associated with this agent context.
List of current tools associated with this agent context.
List of current tools associated with this agent context.
Functions
Returns the current prompt used in the LLM context.
Creates a deep copy of this LLM context.
Returns the current prompt used in the LLM context.
Creates a deep copy of this LLM context.
Returns the current prompt used in the LLM context.
Creates a deep copy of this LLM context.
Executes a read session within the AIAgentLLMContext, ensuring concurrent safety with active write session and other read sessions.
Executes a read-only session within the context of AIAgentLLMReadSession and returns the result of the provided block.
Executes a read session within the AIAgentLLMContext, ensuring concurrent safety with active write session and other read sessions.
Executes a read session within the AIAgentLLMContext, ensuring concurrent safety with active write session and other read sessions.
Updates the current AIAgentLLMContext with a new prompt and ensures thread-safe access using a read lock.
Updates the current AIAgentLLMContext with a new prompt and ensures thread-safe access using a read lock.
Updates the current AIAgentLLMContext with a new prompt and ensures thread-safe access using a read lock.
Executes a write session on the AIAgentLLMContext, ensuring that all active write and read sessions are completed before initiating the write session.
Executes a block of code within a write session for the AI Agent LLM context.
Executes a write session on the AIAgentLLMContext, ensuring that all active write and read sessions are completed before initiating the write session.
Executes a write session on the AIAgentLLMContext, ensuring that all active write and read sessions are completed before initiating the write session.