View Source GptAgent.Impl (gpt_agent v2.1.2)
Provides the implementation of the GptAgent public API
Summary
Functions
Adds a user message
Connects to the GPT Agent
Connects to the GPT Agent and sets the default assistant
Creates a new thread
Returns the default assistant
Sets the default assistant
Starts the GPT Agent
Submits tool output
Returns the thread ID
Functions
Adds a user message
Connects to the GPT Agent
Connects to the GPT Agent and sets the default assistant
@spec create_thread() :: {:ok, binary()}
Creates a new thread
Returns the default assistant
Sets the default assistant
@spec shutdown(pid()) :: :ok
Starts the GPT Agent
Submits tool output
Returns the thread ID