carter-js
carter-js provides a robust and intuitive set of tools for integrating your nodeJS projects with CarterAPI.
V2 is out now! See the documentation here!
Prerequisites
In order to use carter-js
you'll need to sign up to sign up to CarterAPI and create an agent. CarterAPI has excellent documentation.
Installation
`npm install carter-js`
The Carter Object
The main component of carter-js
is the Carter
object. This object provides a set of methods to interact with your carter agent, create useful skills, track the conversation history and analyse your agent's response times.
It is important to remember to use the new
keyword in order to create an instance of the Carter object. Pass in the apiKey of your specific agent - remember to keep this secret while developing and in production as this will allow anyone access to your agent.
Last updated