Skip to content

LLMCapabilitiesConfig

Base classes

Name Children Inherits
ConfigModel
llmling.config.base
Base class for all LLMling configuration models.

⋔ Inheritance diagram

graph TD
  3922376966["models.LLMCapabilitiesConfig"]
  2455074328["base.ConfigModel"]
  330168112["schema.Schema"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2455074328 --> 3922376966
  330168112 --> 2455074328
  3879467795 --> 330168112
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ConfigModel

Configuration for LLM system capabilities.

Source code in src/llmling/config/models.py
class LLMCapabilitiesConfig(ConfigModel):
    """Configuration for LLM system capabilities."""

    load_resource: bool = False
    """Whether the LLM can load and access resource content."""

    get_resources: bool = False
    """Whether the LLM can discover available resources."""

    install_package: bool = False
    """Whether the LLM can install new Python packages for future tools."""

    register_tool: bool = False
    """Whether the LLM can register importable functions as new tools."""

    register_code_tool: bool = False
    """Whether the LLM can create new tools from provided Python code."""

    chain_tools: bool = False
    """Whether the LLM gains capability to chain multiple tool calls into one."""

chain_tools class-attribute instance-attribute

chain_tools: bool = False

Whether the LLM gains capability to chain multiple tool calls into one.

get_resources class-attribute instance-attribute

get_resources: bool = False

Whether the LLM can discover available resources.

install_package class-attribute instance-attribute

install_package: bool = False

Whether the LLM can install new Python packages for future tools.

load_resource class-attribute instance-attribute

load_resource: bool = False

Whether the LLM can load and access resource content.

register_code_tool class-attribute instance-attribute

register_code_tool: bool = False

Whether the LLM can create new tools from provided Python code.

register_tool class-attribute instance-attribute

register_tool: bool = False

Whether the LLM can register importable functions as new tools.

:fa-brands-github: Show source on GitHub