Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAIProvider - Class in org.machanism.machai.ai.provider
-
Base implementation of the
Genaicontract shared by concrete provider integrations. - AbstractAIProvider() - Constructor for class org.machanism.machai.ai.provider.AbstractAIProvider
-
Creates a provider base instance.
- addMcpServer(String, String, String, String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Registers one MCP server/tool with the underlying provider SDK.
- addMcpServer(String, String, String, String) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Registers an MCP server definition to include in future Anthropic requests.
- addMcpServer(String, String, String, String) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Adds one or more MCP server tools from configuration.
- addMcpServers() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Reads sequential MCP server configuration groups and registers them with the concrete provider implementation.
- addPrompt(String, String, ToolFunction, Role, ParamDescriptor...) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Registers a prompt callback for providers that support prompt tools.
- addPrompts(FunctionTools) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Scans the provided
FunctionToolsinstance for methods annotated withPrompt, and registers each prompt using its name, description, and role. - addPrompts(FunctionTools) - Method in interface org.machanism.machai.ai.provider.Genai
-
Scans the provided
FunctionToolsinstance for methods annotated withPrompt, and registers each prompt for use during a run. - addPrompts(FunctionTools) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Scans the provided
FunctionToolsinstance for methods annotated withPrompt, and registers each prompt for use during a run. - addTool(String, String, ToolFunction, ParamDescriptor...) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Adds a tool to the provider.
- addTool(String, String, ToolFunction, ParamDescriptor...) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Registers a local function tool that Anthropic may request during response generation.
- addTool(String, String, ToolFunction, ParamDescriptor...) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Registers a function tool for the current provider instance.
- addTool(String, String, ToolFunction, ParamDescriptor...) - Method in class org.machanism.machai.ai.provider.impl.ToolsProvider
-
Registers a tool function with the provider.
- addTools(FunctionTools) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Registers all annotated tool methods from the given
FunctionToolsinstance. - addTools(FunctionTools) - Method in interface org.machanism.machai.ai.provider.Genai
-
Registers a set of tool functions that may be invoked during a run.
- addTools(FunctionTools) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Registers a set of tool functions that may be invoked during a run.
- addUsage(String, Usage) - Static method in class org.machanism.machai.ai.manager.UsageStatistics
-
Adds a single
Usagerecord for a specific model identifier. - addWebSearch() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Registers a web-search capability when enabled in configuration.
- addWebSearch(String, String, String, String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Registers a provider-specific web-search tool.
- addWebSearch(String, String, String, String) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Registers a web search tool and optional user-location hints for future requests.
- addWebSearch(String, String, String, String) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Adds the built-in OpenAI web search tool when configured.
- ANTHROPIC_API_KEY - Static variable in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Configuration property name that contains the Anthropic API key or authorization token.
- ANTHROPIC_BASE_URL - Static variable in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Configuration property name that overrides the Anthropic API base URL.
- AnthropicProvider - Class in org.machanism.machai.ai.provider.impl
-
Anthropic-backed implementation of Machai's
Genaiabstraction. - AnthropicProvider() - Constructor for class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Creates an Anthropic provider instance.
- apply(JsonNode, File, Configurator) - Method in interface org.machanism.machai.ai.tools.ToolFunction
-
Executes the tool with the given parameters, working directory, and configuration.
- applyTools(Genai, Class<?>) - Method in class org.machanism.machai.ai.tools.FunctionToolsLoader
-
Applies all discovered
FunctionToolsinstallers to the given provider, filtered by application class compatibility. - Architecture overview - Search tag in Overview
- Section
- ASSISTANT - Enum constant in enum org.machanism.machai.ai.tools.Role
-
Represents the AI assistant or provider.
- AUTH_URL - Static variable in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Default OpenID Connect token endpoint for CodeMie.
- AUTH_URL_PROP_NAME - Static variable in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Configuration key used to override the default token endpoint.
- Authentication modes - Search tag in class org.machanism.machai.ai.provider.impl.CodeMieProvider
- Section
B
- BASE_URL - Static variable in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Base URL for the CodeMie Code Assistant API.
- Behavior Summary: - Search tag in org.machanism.machai.ai.provider.AbstractAIProvider.setErrorHandling(boolean)
- Section
C
- captureUsage(Optional<ResponseUsage>) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Captures and records usage statistics from an optional
ResponseUsageinstance. - chatModel - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Active model identifier used in
Genai.perform(). - clear() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Clears the provider state.
- clear() - Method in interface org.machanism.machai.ai.provider.Genai
-
Clears any stored files and session/provider state.
- clear() - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Clears any stored files and session/provider state.
- clear() - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Clears the accumulated conversation inputs so the provider can be reused for a new request.
- clear() - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Clears all accumulated inputs for the next request.
- CodeMieProvider - Class in org.machanism.machai.ai.provider.impl
-
Genaiimplementation that integrates with EPAM CodeMie. - CodeMieProvider() - Constructor for class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Creates a CodeMie provider instance.
- Configuration - Search tag in class org.machanism.machai.ai.provider.impl.AnthropicProvider
- Section
- Configuration - Search tag in class org.machanism.machai.ai.provider.impl.OpenAIProvider
- Section
- Configuration and runtime behavior - Search tag in Overview
- Section
- converToType(Parameter, String) - Static method in class org.machanism.machai.ai.provider.TypeConverter
-
Converts a string input to an object of the type specified by the given
Parameter. - Core contracts and support types - Search tag in package org.machanism.machai.ai.provider
- Section
D
- DEFAULT_WEBSEARCH_TYPE_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Default web search type name.
- defaultValue() - Element in annotation type org.machanism.machai.ai.tools.Param
-
Optional default value for the parameter.
- description() - Element in annotation type org.machanism.machai.ai.tools.Param
-
Description of the parameter's purpose and usage.
- description() - Element in annotation type org.machanism.machai.ai.tools.Prompt
-
Description of the prompt's purpose and content.
- description() - Element in annotation type org.machanism.machai.ai.tools.Tool
-
Description of the tool's purpose and functionality.
E
- embedding(String, long) - Method in interface org.machanism.machai.ai.provider.EmbeddingProvider
-
Computes an embedding vector for the provided text.
- embedding(String, long) - Method in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Requests an embedding vector for the given input text.
- embedding(String, long) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Requests an embedding vector for the given input text.
- EmbeddingProvider - Interface in org.machanism.machai.ai.provider
-
EmbeddingProvider defines the contract for AI embedding providers.
F
- FunctionTools - Interface in org.machanism.machai.ai.tools
-
Service-provider interface (SPI) for installing host-provided function tools.
- FunctionToolsLoader - Class in org.machanism.machai.ai.tools
-
Discovers and applies
FunctionToolsimplementations using Java'sServiceLoadermechanism. - FunctionToolsLoader() - Constructor for class org.machanism.machai.ai.tools.FunctionToolsLoader
-
Constructs a new
FunctionToolsLoaderand discovers availableFunctionToolsimplementations usingServiceLoader.
G
- Genai - Interface in org.machanism.machai.ai.provider
-
Contract for a generative-AI provider integration.
- GenaiAdapter - Class in org.machanism.machai.ai.provider
-
Delegating
Genaiimplementation. - GenaiAdapter() - Constructor for class org.machanism.machai.ai.provider.GenaiAdapter
-
Creates an adapter without a delegate.
- GenAI Client - Search tag in Overview
- Section
- GenaiProviderManager - Class in org.machanism.machai.ai.manager
-
Utility class for dynamically loading and initializing generative AI providers and embedding providers.
- get(Class<?>) - Static method in class org.machanism.machai.ai.provider.TypeConverter
-
Returns the simplified type name for the given Java class.
- getAllModelUsages() - Static method in class org.machanism.machai.ai.manager.UsageStatistics
-
Returns the aggregated usage map for all models.
- getClient() - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Creates and configures an Anthropic client using the current provider configuration.
- getClient() - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Returns the underlying OpenAI client.
- getConfigurator() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
- getDescription() - Method in class org.machanism.machai.ai.tools.ParamDescriptor
-
Returns a description of the parameter's purpose or usage.
- getEmbeddingProvider(String, Configurator) - Static method in class org.machanism.machai.ai.manager.GenaiProviderManager
-
Dynamically loads and initializes an
EmbeddingProviderbased on the specified provider/model string. - getInputCachedTokens() - Method in class org.machanism.machai.ai.manager.Usage
-
Returns the number of cached input tokens reported by the provider.
- getInputTokens() - Method in class org.machanism.machai.ai.manager.Usage
-
Returns the number of input tokens consumed by the request.
- getName() - Method in class org.machanism.machai.ai.tools.ParamDescriptor
-
Returns the parameter's name.
- getOutputTokens() - Method in class org.machanism.machai.ai.manager.Usage
-
Returns the number of output tokens generated by the response.
- getParamValue(JsonNode, String, String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Retrieves the value for a parameter from the given JSON node, or returns the default value if not present.
- getProjectDir() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Returns the current project directory.
- getProvider(String, Configurator) - Static method in class org.machanism.machai.ai.manager.GenaiProviderManager
-
Dynamically loads and initializes a
Genaiprovider based on the specified provider/model string. - getTimeout() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Returns the configured request timeout.
- getToken(String, String, String) - Static method in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Requests an OAuth 2.0 access token from the given token endpoint.
- getType() - Method in class org.machanism.machai.ai.tools.ParamDescriptor
-
Returns the parameter's data type.
- getUsageForModel(String) - Static method in class org.machanism.machai.ai.manager.UsageStatistics
-
Returns the aggregated usage entries for a specific model.
I
- Included provider families - Search tag in package org.machanism.machai.ai.provider
- Section
- Included providers - Search tag in package org.machanism.machai.ai.provider.impl
- Section
- init(String, Configurator) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Initializes the provider from the given configuration.
- init(String, Configurator) - Method in interface org.machanism.machai.ai.provider.EmbeddingProvider
-
Initializes the provider with application configuration.
- init(String, Configurator) - Method in interface org.machanism.machai.ai.provider.Genai
-
Initializes the provider with application configuration.
- init(String, Configurator) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Initializes the provider with application configuration.
- init(String, Configurator) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Initializes this provider with the supplied model and configuration.
- init(String, Configurator) - Method in class org.machanism.machai.ai.provider.impl.CodeMieProvider
-
Initializes the provider using configuration values.
- inputsLog(File) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Enables request input logging to the given file.
- inputsLog(File) - Method in interface org.machanism.machai.ai.provider.Genai
-
Enables logging of provider inputs to the given directory.
- inputsLog(File) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Enables logging of provider inputs to the given directory.
- instructions - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Optional instructions applied to the request.
- instructions(String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Sets system-level instructions applied to subsequent requests.
- instructions(String) - Method in interface org.machanism.machai.ai.provider.Genai
-
Sets system/session instructions for the current conversation.
- instructions(String) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Sets system/session instructions for the current conversation.
- isErrorHandling() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Returns whether runtime tool errors are handled conversationally.
- isRequired() - Method in class org.machanism.machai.ai.tools.ParamDescriptor
-
Indicates whether the parameter is required.
L
- LINE_SEPARATOR - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Line separator used when composing prompts.
- LOG_INPUTS_PROP_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Configuration property name indicating whether provider inputs should be logged.
- LOG_LINE_LENG - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Maximum length for log lines.
- LOG_SECTION_SEPARATOR - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Separator for log sections.
- logInputs() - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Writes the current request inputs to
AbstractAIProvider.inputsLogwhen logging is enabled. - logInputsSpec(Writer) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Writes provider-specific input items to the supplied log writer.
- logInputsSpec(Writer) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Writes provider-specific input items to the supplied log writer.
- logInputsSpec(Writer) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
- logUsage() - Static method in class org.machanism.machai.ai.manager.UsageStatistics
-
Logs usage summaries for every model currently present in the registry.
- logUsageForModel(String) - Static method in class org.machanism.machai.ai.manager.UsageStatistics
-
Logs a summary of the aggregated
Usagerecords for a specific model.
M
- MAX_OUTPUT_TOKENS - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Default maximum number of tokens the model may generate.
- maxOutputTokens - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Maximum number of output tokens for responses.
- maxToolCalls - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Maximum number of tool calls permitted per response.
- MCP_PROP_NAME_PREFIX - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Prefix for MCP property names.
N
- name() - Element in annotation type org.machanism.machai.ai.tools.Param
-
Optional parameter name.
- name() - Element in annotation type org.machanism.machai.ai.tools.Prompt
-
Optional prompt name.
- name() - Element in annotation type org.machanism.machai.ai.tools.Tool
-
Optional tool name.
- normalize(String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Normalizes a string for case-insensitive comparisons.
- NOT_DEFINED - Static variable in annotation type org.machanism.machai.ai.tools.Param
-
Placeholder value indicating that the parameter name or default value is not defined.
- NOT_DEFINED - Static variable in annotation type org.machanism.machai.ai.tools.Prompt
-
Placeholder value indicating that the prompt name is not defined.
- NOT_DEFINED - Static variable in annotation type org.machanism.machai.ai.tools.Tool
-
Placeholder value indicating that the tool name is not defined.
- NULL - Static variable in annotation type org.machanism.machai.ai.tools.Param
-
Placeholder value indicating a null parameter value.
O
- OPENAI_API_KEY - Static variable in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Configuration/environment key used by OpenAI-compatible clients to provide the API key.
- OPENAI_BASE_URL_NAME - Static variable in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Configuration/environment key used to override the OpenAI-compatible base URL.
- OpenAIProvider - Class in org.machanism.machai.ai.provider.impl
-
OpenAI-backed
Genaiimplementation. - OpenAIProvider() - Constructor for class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Creates an OpenAI provider instance.
- org.machanism.machai.ai - package org.machanism.machai.ai
-
Provides Machai's AI integration layer, including provider abstractions, provider implementations, provider lifecycle management, usage accounting, and function-tool metadata used during model-assisted workflows.
- org.machanism.machai.ai.manager - package org.machanism.machai.ai.manager
-
Provides management utilities and data structures for working with generative AI providers and their token-usage metrics.
- org.machanism.machai.ai.provider - package org.machanism.machai.ai.provider
-
Defines the provider abstraction layer used by Machai to integrate with concrete generative AI platforms through a consistent application-facing API.
- org.machanism.machai.ai.provider.impl - package org.machanism.machai.ai.provider.impl
-
Provides concrete implementations of the Machai generative AI provider abstraction.
- org.machanism.machai.ai.tools - package org.machanism.machai.ai.tools
-
Defines the annotation model and runtime contracts used to expose Java methods and service-provider implementations as AI-accessible tools and prompts.
P
- Package responsibilities - Search tag in package org.machanism.machai.ai
- Section
- Package structure - Search tag in Overview
- Section
- PARAGRAPH_SEPARATOR - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Paragraph separator used when composing prompts.
- Param - Annotation Type in org.machanism.machai.ai.tools
- ParamDescriptor - Class in org.machanism.machai.ai.tools
-
Descriptor for a parameter used in tool or prompt definitions within the AI provider framework.
- ParamDescriptor(String, String, boolean, String) - Constructor for class org.machanism.machai.ai.tools.ParamDescriptor
-
Constructs a new
ParamDescriptorwith the specified properties. - PASSWORD_PROP_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Environment variable name for authenticating with the GenAI provider.
- perform() - Method in interface org.machanism.machai.ai.provider.Genai
-
Executes the provider to produce a response based on the accumulated prompts and state.
- perform() - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Executes the provider to produce a response based on the accumulated prompts and state.
- perform() - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Sends the accumulated conversation to Anthropic and returns the final text response.
- perform() - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Executes a request using the currently configured model, inputs, and tools.
- perform() - Method in class org.machanism.machai.ai.provider.impl.ToolsProvider
-
Executes the provider's perform logic.
- PROJECT_DIR_PARAM_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Name of the project directory parameter.
- projectDir - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Working directory passed to tool handlers as contextual information.
- prompt(String) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Sets the prompt text for the provider.
- prompt(String) - Method in interface org.machanism.machai.ai.provider.Genai
-
Adds a user prompt to the current session.
- prompt(String) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Adds a user prompt to the current session.
- prompt(String) - Method in class org.machanism.machai.ai.provider.impl.AnthropicProvider
-
Adds a non-blank user prompt to the current conversation.
- prompt(String) - Method in class org.machanism.machai.ai.provider.impl.OpenAIProvider
-
Adds a text prompt to the current request input.
- prompt(String) - Method in class org.machanism.machai.ai.provider.impl.ToolsProvider
-
Adds a prompt text to the provider's prompt list.
- Prompt - Annotation Type in org.machanism.machai.ai.tools
-
Annotation to mark a method as a prompt within the AI provider framework.
- provider - Variable in class org.machanism.machai.ai.provider.GenaiAdapter
-
Delegate provider.
- Provider delegation - Search tag in class org.machanism.machai.ai.provider.impl.CodeMieProvider
- Section
- Provider Naming Convention - Search tag in class org.machanism.machai.ai.manager.GenaiProviderManager
- Section
- Purpose and scope - Search tag in Overview
- Section
R
- role() - Element in annotation type org.machanism.machai.ai.tools.Prompt
-
The participant role associated with the prompt.
- Role - Enum in org.machanism.machai.ai.tools
-
Enumeration representing participant roles in an AI interaction context.
S
- safelyInvokeTool(String, ToolFunction, JsonNode, File) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Safely invokes a tool function and converts
IOExceptions into a textual error payload suitable for the model conversation. - SERVERID_PROP_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Configuration property name for the target GenAI server identifier.
- SESSION_ID_PARAM_NAME - Static variable in interface org.machanism.machai.ai.tools.ToolFunction
-
Standard parameter name for session identification in tool requests.
- setErrorHandling(boolean) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Configures how runtime tool errors are handled by the invocation logic.
- setErrorHandling(boolean) - Method in interface org.machanism.machai.ai.provider.Genai
-
Configures whether tool invocation errors should be returned to the model for conversational recovery or propagated as exceptions.
- setErrorHandling(boolean) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
- setProjectDir(File) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Sets the project directory.
- setProjectDir(File) - Method in interface org.machanism.machai.ai.provider.Genai
-
Sets the working directory for the provider, which may be used by tool handlers.
- setProjectDir(File) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Sets the working directory for the provider, which may be used by tool handlers.
- setProvider(Genai) - Method in class org.machanism.machai.ai.provider.GenaiAdapter
-
Sets the delegate provider.
- setTimeout(long, OpenAIProvider) - Method in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Sets the timeout value used by provider client creation.
- SpecialException - Exception Class in org.machanism.machai.ai.tools
-
Exception used to signal the end of a task without terminating the application.
- SpecialException(Exception) - Constructor for exception class org.machanism.machai.ai.tools.SpecialException
-
Constructs a new
SpecialExceptionthat wraps another exception. - SpecialException(String) - Constructor for exception class org.machanism.machai.ai.tools.SpecialException
-
Constructs a new
EndTaskExceptionwith the specified detail message. - SupportedFor - Annotation Type in org.machanism.machai.ai.tools
-
Indicates which application classes a
FunctionToolsimplementation supports.
T
- timeoutSec - Variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Request timeout in seconds;
0means SDK defaults are used. - Tool - Annotation Type in org.machanism.machai.ai.tools
-
Annotation to mark a method as a tool function within the AI provider framework.
- ToolFunction - Interface in org.machanism.machai.ai.tools
-
Functional interface representing a tool callable by a provider during a run.
- ToolsProvider - Class in org.machanism.machai.ai.provider.impl
-
AI provider implementation for managing and invoking host-defined function tools.
- ToolsProvider() - Constructor for class org.machanism.machai.ai.provider.impl.ToolsProvider
-
Constructs a new
ToolsProviderwith a default configuration. - TypeConverter - Class in org.machanism.machai.ai.provider
-
Utility class for converting between Java types and their string representations, as well as mapping Java types to simplified type names (e.g., "string", "integer", "array").
- TypeConverter() - Constructor for class org.machanism.machai.ai.provider.TypeConverter
-
Creates a type converter utility instance.
- typeMap - Static variable in class org.machanism.machai.ai.provider.TypeConverter
-
Immutable mapping from Java classes to simplified type names.
- Typical usage - Search tag in interface org.machanism.machai.ai.provider.Genai
- Section
- Typical usage - Search tag in package org.machanism.machai.ai
- Section
- Typical usage - Search tag in package org.machanism.machai.ai.provider
- Section
- Typical usage - Search tag in package org.machanism.machai.ai.provider.impl
- Section
- Typical usage - Search tag in package org.machanism.machai.ai.tools
- Section
- Typical workflow - Search tag in Overview
- Section
U
- Usage - Class in org.machanism.machai.ai.manager
-
Immutable token-usage metrics for a single generative AI interaction.
- Usage(long, long, long) - Constructor for class org.machanism.machai.ai.manager.Usage
-
Creates a usage record.
- Usage Example - Search tag in annotation type org.machanism.machai.ai.tools.SupportedFor
- Section
- Usage Example - Search tag in class org.machanism.machai.ai.manager.GenaiProviderManager
- Section
- Usage Example - Search tag in class org.machanism.machai.ai.provider.impl.ToolsProvider
- Section
- Usage Example - Search tag in class org.machanism.machai.ai.tools.FunctionToolsLoader
- Section
- Usage Example - Search tag in interface org.machanism.machai.ai.tools.ToolFunction
- Section
- Usage notes - Search tag in Overview
- Section
- UsageStatistics - Class in org.machanism.machai.ai.manager
-
Central registry for aggregated GenAI token-usage statistics.
- UsageStatistics() - Constructor for class org.machanism.machai.ai.manager.UsageStatistics
-
Creates a usage statistics registry instance.
- USER - Enum constant in enum org.machanism.machai.ai.tools.Role
-
Represents the end user or client.
- USERNAME_PROP_NAME - Static variable in class org.machanism.machai.ai.provider.AbstractAIProvider
-
Environment variable name for authenticating with the GenAI provider.
V
- value() - Element in annotation type org.machanism.machai.ai.tools.SupportedFor
-
The set of application classes for which the annotated
FunctionToolsimplementation is compatible. - valueOf(String) - Static method in enum org.machanism.machai.ai.tools.Role
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.machanism.machai.ai.tools.Role
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form