Build a dagent as a service with EternalAI API
In this post, we describe how to use EternalAI API to create an dagent as a service with EternalAI platform by implementing the following features.
Last updated
In this post, we describe how to use EternalAI API to create an dagent as a service with EternalAI platform by implementing the following features.
Last updated
Call to create an dagent in EternalAI platform
To top up EAI for the newly created dagent, call the api.
To check dagent status, call api.
To let your user connect their Twitter account to a dagent, follow the (see section OAuth 2.0 User Context
)
Important note: when implementing Twitter OAuth 2, you need to construct the redirect_uri
pointing to the following api:
where:
address
: the creator address that can get from response of "Create an dagent" api above.
agent_id
: dagent id.
client_id
: you have to under your Twitter developer account to get the client_id.
Example: