db
RDBMS CLI handler
Attributes
Classes
DBCLI
Bases: BaseCLI
Eleanor framework RDBMS and data utilities
CLI base class
Warning
An odd behavior with Fire has been observed where subclasses of BaseCLI
take override __init__
and take parameters caus Fire to incorrectly
identify self
as a required CLI argument.
Parameters:
-
config
(str
, default:None
) –Path to configuration file
InitAgent
Bases: InitParticipant
RDBMS agent initialization record
Attributes
create_episodic_memory_collection
class-attribute
instance-attribute
episodic_memory_collection_config
class-attribute
instance-attribute
settings
class-attribute
instance-attribute
settings: AgentResourceSettings = Field(
default_factory=AgentResourceSettings
)
vectordb_name
class-attribute
instance-attribute
vectordb_name: Optional[str] = Field(
default="default",
description="Name of the vector database connection. When null/None no episodic memory collection will be created for the agent",
)
Functions
InitCollection
Bases: BaseDataModel
RDBMS collection initialization record
Attributes
collection_type
class-attribute
instance-attribute
collection_type: MemoryCollectionType = Field(
default="semantic"
)
InitNamespace
Bases: BaseDataModel
RDBMS namespace initialization record
Attributes
collections
class-attribute
instance-attribute
collections: List[InitCollection] = Field(
default_factory=list
)
sessions
class-attribute
instance-attribute
sessions: List[InitSession] = Field(default_factory=list)
settings
class-attribute
instance-attribute
settings: NamespaceResourceSettings = Field(
default_factory=NamespaceResourceSettings
)
InitParticipant
Bases: BaseDataModel
RDBMS user/agent initialization record
InitScript
Bases: BaseDataModel
RDBMS initialization script
Attributes
namespaces
class-attribute
instance-attribute
namespaces: List[InitNamespace] = Field(
default_factory=list
)
InitSession
Bases: BaseDataModel
RDBMS session initialization record
Attributes
participant_names
class-attribute
instance-attribute
settings
class-attribute
instance-attribute
settings: SessionResourceSettings = Field(
default_factory=SessionResourceSettings
)
InitUser
Bases: InitParticipant
RDBMS user initialization record
Attributes
settings
class-attribute
instance-attribute
settings: UserResourceSettings = Field(
default_factory=UserResourceSettings
)