Agent
@julep/sdk / Modules / managers/agent / AgentsManager
Class: AgentsManager
managers/agent.AgentsManager
BaseManager serves as the base class for all manager classes that interact with the Julep API. It provides common functionality needed for API interactions.
Hierarchy
β³
AgentsManager
Table of contents
Constructors
Properties
Methods
Constructors
constructor
β’ new AgentsManager(apiClient
): AgentsManager
Constructs a new instance of BaseManager.
Parameters
Returns
Inherited from
Defined in
Properties
apiClient
β’ apiClient: JulepApiClient
The JulepApiClient instance used for API interactions.
Inherited from
Defined in
Methods
create
βΈ create(Β«destructuredΒ»
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Β«destructuredΒ»
Object
undefined
βΊ about
string
undefined
βΊ instructions
string
| string
[]
[]
βΊ model?
string
"julep-ai/samantha-1-turbo"
βΊ name
string
undefined
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
delete
βΈ delete(agentId
): Promise
<void
>
Parameters
agentId
string
Returns
Promise
<void
>
Defined in
get
βΈ get(agentId
): Promise
<Agent
>
Parameters
agentId
string
Returns
Promise
<Agent
>
Defined in
list
βΈ list(Β«destructuredΒ»?
): Promise
<Agent
[]>
Parameters
Β«destructuredΒ»
Object
{}
βΊ limit?
number
100
βΊ metadataFilter?
Object
{}
βΊ offset?
number
0
Returns
Promise
<Agent
[]>
Defined in
update
βΈ update(agentId
, request
, overwrite?
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
βΈ update(agentId
, request
, overwrite
): Promise
<Partial
<Agent
> & { id
: string
}>
Parameters
Returns
Promise
<Partial
<Agent
> & { id
: string
}>
Defined in
Last updated