openai_assistant_driver
OpenAiAssistantDriver
Bases: BaseAssistantDriver
Source code in griptape/drivers/assistant/openai_assistant_driver.py
api_key: Optional[str] = field(default=None, kw_only=True, metadata={'serializable': False})
class-attribute
instance-attribute
assistant_id: str = field(kw_only=True)
class-attribute
instance-attribute
base_url: Optional[str] = field(default=None, kw_only=True, metadata={'serializable': True})
class-attribute
instance-attribute
event_handler: AssistantEventHandler = field(default=Factory(lambda: OpenAiAssistantDriver.EventHandler()), kw_only=True, metadata={'serializable': False})
class-attribute
instance-attribute
organization: Optional[str] = field(default=None, kw_only=True, metadata={'serializable': True})
class-attribute
instance-attribute
thread_id: Optional[str] = field(kw_only=True)
class-attribute
instance-attribute
EventHandler
Bases: AssistantEventHandler