Skip to content

namespace

Namespace settings module

Classes

NamespaceResourceSettings

Bases: BaseDataModel

Per namespace dynamic (DB enabled) configuration settings

Attributes:

Attributes

auto_create_agent_settings class-attribute instance-attribute
auto_create_agent_settings: AgentResourceSettings = Field(
    default_factory=AgentResourceSettings,
    title="Auto Create Agent Settings",
    description="Template settings object that will be used to set defaults on auto created agents. Note that memory is always enabled and a default episodic memory collection will be created.",
)
auto_create_agent_vectordb class-attribute instance-attribute
auto_create_agent_vectordb: str = Field(
    default="default",
    title="Auto Create Agent VectorDB",
    description="Name of the VectorDB reference used for auto created agent's episodic memory collection",
)
auto_create_agents class-attribute instance-attribute
auto_create_agents: bool = Field(
    default=True,
    title="Enable Auto Create Agents",
    description="When set to true, agents not found in the RDBMS will automatically get created when seen on chat completion requests. Note that that default persona will be used which isn't likely the long-term behavior and will likely need to be edited.",
)
default_llm_ref class-attribute instance-attribute
default_llm_ref: str = Field(
    default="default",
    title="Default LLM Reference",
    description="A reference string to the default LLM configuration. Must be present in the backend settings.",
)
model_config class-attribute instance-attribute
model_config = ConfigDict(
    populate_by_name=True,
    use_enum_values=True,
    extra="ignore",
    strict=False,
)
session_defaults class-attribute instance-attribute
session_defaults: NamespaceSessionDefaults = Field(
    default_factory=NamespaceSessionDefaults,
    title="Default Auto-Create Session Settings",
    description=__doc__,
)

NamespaceSessionDefaults

Bases: BaseDataModel

Default settings to use for sessions auto-created in the namespace.

Attributes:

Attributes

memory class-attribute instance-attribute
memory: MemorySettings = Field(
    default_factory=MemorySettings,
    title="Default Session Memory Settings",
    description=__doc__,
)
model_config class-attribute instance-attribute
model_config = ConfigDict(
    populate_by_name=True,
    use_enum_values=True,
    extra="ignore",
    strict=False,
)