API
instrukt.agent
: Agents
Base instrukt agents API
Classes
Instrukt agents need to satisfy this base class. |
|
AgentManager handles loading and switching between agents. |
|
|
|
Agent state machine. |
|
|
An enumeration. |
Create a new model by parsing and validating input data from keyword arguments. |
instrukt.indexes
: Indexes
Base Instrukt Index class. |
|
|
An index collection |
|
Details about an embedding |
|
Wrapper around Chroma DB. |
Helper to access chroma indexes. |
|
|
AutoDirLoader is a mix of Langchain's DirectoryLoader and GenericLoader. |
instrukt.commands
: REPL Commands
Instrukt commands.
Commands are created with the Command class and registered using a Route.
RootCmd is the root of all command routes.
# Defining new commands:
To define new commands use the @RootCmd.command decorator. If you add a command on a separate module, make sure to only export the decorated functions with __all__
|
A command class representing a command that can be executed in the REPL. |
|
A class representing a group of commands. |
|
Arbitrary log from a command execution. |