marvin.beta.assistants.assistants
Tip
All async methods that have an _async
suffix have sync equivalents that can be called with out the suffix e.g. run()
and await run_async()
.
Assistant
¶
The Assistant class represents an AI assistant that can be created, deleted, loaded, and interacted with.
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
The unique identifier of the assistant. None if the assistant hasn't been created yet. |
name |
str
|
The name of the assistant. |
description |
str
|
A description of the assistant. |
instructions |
str
|
Instructions for the assistant. |
model |
str
|
The model used by the assistant. |
tools |
list
|
List of tools used by the assistant. |
tool_resources |
dict
|
dict of tool resources associated with the assistant. |
metadata |
dict
|
Additional data about the assistant. |