Package Exports
- @chatbotkit/sdk
- @chatbotkit/sdk/blueprint
- @chatbotkit/sdk/blueprint/index
- @chatbotkit/sdk/blueprint/index.js
- @chatbotkit/sdk/blueprint/v1
- @chatbotkit/sdk/blueprint/v1.js
- @chatbotkit/sdk/bot
- @chatbotkit/sdk/bot/index
- @chatbotkit/sdk/bot/index.js
- @chatbotkit/sdk/bot/session
- @chatbotkit/sdk/bot/session/index
- @chatbotkit/sdk/bot/session/index.js
- @chatbotkit/sdk/bot/session/v1
- @chatbotkit/sdk/bot/session/v1.js
- @chatbotkit/sdk/bot/v1
- @chatbotkit/sdk/bot/v1.js
- @chatbotkit/sdk/buffer
- @chatbotkit/sdk/buffer.js
- @chatbotkit/sdk/channel
- @chatbotkit/sdk/channel/index
- @chatbotkit/sdk/channel/index.js
- @chatbotkit/sdk/channel/v1
- @chatbotkit/sdk/channel/v1.js
- @chatbotkit/sdk/client
- @chatbotkit/sdk/client.js
- @chatbotkit/sdk/contact
- @chatbotkit/sdk/contact/conversation
- @chatbotkit/sdk/contact/conversation/index
- @chatbotkit/sdk/contact/conversation/index.js
- @chatbotkit/sdk/contact/conversation/v1
- @chatbotkit/sdk/contact/conversation/v1.js
- @chatbotkit/sdk/contact/index
- @chatbotkit/sdk/contact/index.js
- @chatbotkit/sdk/contact/secret
- @chatbotkit/sdk/contact/secret/index
- @chatbotkit/sdk/contact/secret/index.js
- @chatbotkit/sdk/contact/secret/v1
- @chatbotkit/sdk/contact/secret/v1.js
- @chatbotkit/sdk/contact/space
- @chatbotkit/sdk/contact/space/index
- @chatbotkit/sdk/contact/space/index.js
- @chatbotkit/sdk/contact/space/v1
- @chatbotkit/sdk/contact/space/v1.js
- @chatbotkit/sdk/contact/task
- @chatbotkit/sdk/contact/task/index
- @chatbotkit/sdk/contact/task/index.js
- @chatbotkit/sdk/contact/task/v1
- @chatbotkit/sdk/contact/task/v1.js
- @chatbotkit/sdk/contact/v1
- @chatbotkit/sdk/contact/v1.js
- @chatbotkit/sdk/conversation
- @chatbotkit/sdk/conversation/attachment
- @chatbotkit/sdk/conversation/attachment/index
- @chatbotkit/sdk/conversation/attachment/index.js
- @chatbotkit/sdk/conversation/attachment/v1
- @chatbotkit/sdk/conversation/attachment/v1.js
- @chatbotkit/sdk/conversation/index
- @chatbotkit/sdk/conversation/index.js
- @chatbotkit/sdk/conversation/message
- @chatbotkit/sdk/conversation/message/index
- @chatbotkit/sdk/conversation/message/index.js
- @chatbotkit/sdk/conversation/message/v1
- @chatbotkit/sdk/conversation/message/v1.js
- @chatbotkit/sdk/conversation/session
- @chatbotkit/sdk/conversation/session/index
- @chatbotkit/sdk/conversation/session/index.js
- @chatbotkit/sdk/conversation/session/v1
- @chatbotkit/sdk/conversation/session/v1.js
- @chatbotkit/sdk/conversation/v1
- @chatbotkit/sdk/conversation/v1.js
- @chatbotkit/sdk/dataset
- @chatbotkit/sdk/dataset/file
- @chatbotkit/sdk/dataset/file/index
- @chatbotkit/sdk/dataset/file/index.js
- @chatbotkit/sdk/dataset/file/v1
- @chatbotkit/sdk/dataset/file/v1.js
- @chatbotkit/sdk/dataset/index
- @chatbotkit/sdk/dataset/index.js
- @chatbotkit/sdk/dataset/record
- @chatbotkit/sdk/dataset/record/index
- @chatbotkit/sdk/dataset/record/index.js
- @chatbotkit/sdk/dataset/record/v1
- @chatbotkit/sdk/dataset/record/v1.js
- @chatbotkit/sdk/dataset/v1
- @chatbotkit/sdk/dataset/v1.js
- @chatbotkit/sdk/file
- @chatbotkit/sdk/file/index
- @chatbotkit/sdk/file/index.js
- @chatbotkit/sdk/file/v1
- @chatbotkit/sdk/file/v1.js
- @chatbotkit/sdk/graphql
- @chatbotkit/sdk/graphql/index
- @chatbotkit/sdk/graphql/index.js
- @chatbotkit/sdk/graphql/v1
- @chatbotkit/sdk/graphql/v1.js
- @chatbotkit/sdk/index
- @chatbotkit/sdk/index.js
- @chatbotkit/sdk/integration
- @chatbotkit/sdk/integration/discord
- @chatbotkit/sdk/integration/discord/index
- @chatbotkit/sdk/integration/discord/index.js
- @chatbotkit/sdk/integration/discord/v1
- @chatbotkit/sdk/integration/discord/v1.js
- @chatbotkit/sdk/integration/email
- @chatbotkit/sdk/integration/email/index
- @chatbotkit/sdk/integration/email/index.js
- @chatbotkit/sdk/integration/email/v1
- @chatbotkit/sdk/integration/email/v1.js
- @chatbotkit/sdk/integration/extract
- @chatbotkit/sdk/integration/extract/index
- @chatbotkit/sdk/integration/extract/index.js
- @chatbotkit/sdk/integration/extract/v1
- @chatbotkit/sdk/integration/extract/v1.js
- @chatbotkit/sdk/integration/index
- @chatbotkit/sdk/integration/index.js
- @chatbotkit/sdk/integration/mcpserver
- @chatbotkit/sdk/integration/mcpserver/index
- @chatbotkit/sdk/integration/mcpserver/index.js
- @chatbotkit/sdk/integration/mcpserver/v1
- @chatbotkit/sdk/integration/mcpserver/v1.js
- @chatbotkit/sdk/integration/messenger
- @chatbotkit/sdk/integration/messenger/index
- @chatbotkit/sdk/integration/messenger/index.js
- @chatbotkit/sdk/integration/messenger/v1
- @chatbotkit/sdk/integration/messenger/v1.js
- @chatbotkit/sdk/integration/notion
- @chatbotkit/sdk/integration/notion/index
- @chatbotkit/sdk/integration/notion/index.js
- @chatbotkit/sdk/integration/notion/v1
- @chatbotkit/sdk/integration/notion/v1.js
- @chatbotkit/sdk/integration/sitemap
- @chatbotkit/sdk/integration/sitemap/index
- @chatbotkit/sdk/integration/sitemap/index.js
- @chatbotkit/sdk/integration/sitemap/v1
- @chatbotkit/sdk/integration/sitemap/v1.js
- @chatbotkit/sdk/integration/slack
- @chatbotkit/sdk/integration/slack/index
- @chatbotkit/sdk/integration/slack/index.js
- @chatbotkit/sdk/integration/slack/v1
- @chatbotkit/sdk/integration/slack/v1.js
- @chatbotkit/sdk/integration/support
- @chatbotkit/sdk/integration/support/index
- @chatbotkit/sdk/integration/support/index.js
- @chatbotkit/sdk/integration/support/v1
- @chatbotkit/sdk/integration/support/v1.js
- @chatbotkit/sdk/integration/telegram
- @chatbotkit/sdk/integration/telegram/index
- @chatbotkit/sdk/integration/telegram/index.js
- @chatbotkit/sdk/integration/telegram/v1
- @chatbotkit/sdk/integration/telegram/v1.js
- @chatbotkit/sdk/integration/trigger
- @chatbotkit/sdk/integration/trigger/index
- @chatbotkit/sdk/integration/trigger/index.js
- @chatbotkit/sdk/integration/trigger/v1
- @chatbotkit/sdk/integration/trigger/v1.js
- @chatbotkit/sdk/integration/twilio
- @chatbotkit/sdk/integration/twilio/index
- @chatbotkit/sdk/integration/twilio/index.js
- @chatbotkit/sdk/integration/twilio/v1
- @chatbotkit/sdk/integration/twilio/v1.js
- @chatbotkit/sdk/integration/whatsapp
- @chatbotkit/sdk/integration/whatsapp/index
- @chatbotkit/sdk/integration/whatsapp/index.js
- @chatbotkit/sdk/integration/whatsapp/v1
- @chatbotkit/sdk/integration/whatsapp/v1.js
- @chatbotkit/sdk/integration/widget
- @chatbotkit/sdk/integration/widget/index
- @chatbotkit/sdk/integration/widget/index.js
- @chatbotkit/sdk/integration/widget/v1
- @chatbotkit/sdk/integration/widget/v1.js
- @chatbotkit/sdk/magic
- @chatbotkit/sdk/magic/index
- @chatbotkit/sdk/magic/index.js
- @chatbotkit/sdk/magic/v1
- @chatbotkit/sdk/magic/v1.js
- @chatbotkit/sdk/memory
- @chatbotkit/sdk/memory/index
- @chatbotkit/sdk/memory/index.js
- @chatbotkit/sdk/memory/v1
- @chatbotkit/sdk/memory/v1.js
- @chatbotkit/sdk/model/v1
- @chatbotkit/sdk/model/v1.js
- @chatbotkit/sdk/package.json
- @chatbotkit/sdk/param
- @chatbotkit/sdk/param.js
- @chatbotkit/sdk/partner
- @chatbotkit/sdk/partner/index
- @chatbotkit/sdk/partner/index.js
- @chatbotkit/sdk/partner/user
- @chatbotkit/sdk/partner/user/index
- @chatbotkit/sdk/partner/user/index.js
- @chatbotkit/sdk/partner/user/token
- @chatbotkit/sdk/partner/user/token/index
- @chatbotkit/sdk/partner/user/token/index.js
- @chatbotkit/sdk/partner/user/token/v1
- @chatbotkit/sdk/partner/user/token/v1.js
- @chatbotkit/sdk/partner/user/v1
- @chatbotkit/sdk/partner/user/v1.js
- @chatbotkit/sdk/partner/v1
- @chatbotkit/sdk/partner/v1.js
- @chatbotkit/sdk/platform
- @chatbotkit/sdk/platform/ability
- @chatbotkit/sdk/platform/ability/index
- @chatbotkit/sdk/platform/ability/index.js
- @chatbotkit/sdk/platform/ability/v1
- @chatbotkit/sdk/platform/ability/v1.js
- @chatbotkit/sdk/platform/action
- @chatbotkit/sdk/platform/action/index
- @chatbotkit/sdk/platform/action/index.js
- @chatbotkit/sdk/platform/action/v1
- @chatbotkit/sdk/platform/action/v1.js
- @chatbotkit/sdk/platform/content
- @chatbotkit/sdk/platform/content/doc
- @chatbotkit/sdk/platform/content/doc/index
- @chatbotkit/sdk/platform/content/doc/index.js
- @chatbotkit/sdk/platform/content/doc/v1
- @chatbotkit/sdk/platform/content/doc/v1.js
- @chatbotkit/sdk/platform/content/index
- @chatbotkit/sdk/platform/content/index.js
- @chatbotkit/sdk/platform/content/manual
- @chatbotkit/sdk/platform/content/manual/index
- @chatbotkit/sdk/platform/content/manual/index.js
- @chatbotkit/sdk/platform/content/manual/v1
- @chatbotkit/sdk/platform/content/manual/v1.js
- @chatbotkit/sdk/platform/content/tutorial
- @chatbotkit/sdk/platform/content/tutorial/index
- @chatbotkit/sdk/platform/content/tutorial/index.js
- @chatbotkit/sdk/platform/content/tutorial/v1
- @chatbotkit/sdk/platform/content/tutorial/v1.js
- @chatbotkit/sdk/platform/example
- @chatbotkit/sdk/platform/example/index
- @chatbotkit/sdk/platform/example/index.js
- @chatbotkit/sdk/platform/example/v1
- @chatbotkit/sdk/platform/example/v1.js
- @chatbotkit/sdk/platform/index
- @chatbotkit/sdk/platform/index.js
- @chatbotkit/sdk/platform/model
- @chatbotkit/sdk/platform/model/index
- @chatbotkit/sdk/platform/model/index.js
- @chatbotkit/sdk/platform/model/v1
- @chatbotkit/sdk/platform/model/v1.js
- @chatbotkit/sdk/platform/report
- @chatbotkit/sdk/platform/report/index
- @chatbotkit/sdk/platform/report/index.js
- @chatbotkit/sdk/platform/report/v1
- @chatbotkit/sdk/platform/report/v1.js
- @chatbotkit/sdk/platform/secret
- @chatbotkit/sdk/platform/secret/index
- @chatbotkit/sdk/platform/secret/index.js
- @chatbotkit/sdk/platform/secret/v1
- @chatbotkit/sdk/platform/secret/v1.js
- @chatbotkit/sdk/platform/v1
- @chatbotkit/sdk/platform/v1.js
- @chatbotkit/sdk/policy
- @chatbotkit/sdk/policy/index
- @chatbotkit/sdk/policy/index.js
- @chatbotkit/sdk/policy/v1
- @chatbotkit/sdk/policy/v1.js
- @chatbotkit/sdk/portal
- @chatbotkit/sdk/portal/index
- @chatbotkit/sdk/portal/index.js
- @chatbotkit/sdk/portal/v1
- @chatbotkit/sdk/portal/v1.js
- @chatbotkit/sdk/report
- @chatbotkit/sdk/report/index
- @chatbotkit/sdk/report/index.js
- @chatbotkit/sdk/report/v1
- @chatbotkit/sdk/report/v1.js
- @chatbotkit/sdk/secret
- @chatbotkit/sdk/secret/index
- @chatbotkit/sdk/secret/index.js
- @chatbotkit/sdk/secret/v1
- @chatbotkit/sdk/secret/v1.js
- @chatbotkit/sdk/skillset
- @chatbotkit/sdk/skillset/ability
- @chatbotkit/sdk/skillset/ability/index
- @chatbotkit/sdk/skillset/ability/index.js
- @chatbotkit/sdk/skillset/ability/v1
- @chatbotkit/sdk/skillset/ability/v1.js
- @chatbotkit/sdk/skillset/index
- @chatbotkit/sdk/skillset/index.js
- @chatbotkit/sdk/skillset/v1
- @chatbotkit/sdk/skillset/v1.js
- @chatbotkit/sdk/space
- @chatbotkit/sdk/space/index
- @chatbotkit/sdk/space/index.js
- @chatbotkit/sdk/space/v1
- @chatbotkit/sdk/space/v1.js
- @chatbotkit/sdk/task
- @chatbotkit/sdk/task/index
- @chatbotkit/sdk/task/index.js
- @chatbotkit/sdk/task/v1
- @chatbotkit/sdk/task/v1.js
- @chatbotkit/sdk/team
- @chatbotkit/sdk/team/index
- @chatbotkit/sdk/team/index.js
- @chatbotkit/sdk/team/v1
- @chatbotkit/sdk/team/v1.js
- @chatbotkit/sdk/types/api/v1
- @chatbotkit/sdk/types/api/v1.js
- @chatbotkit/sdk/types/report
- @chatbotkit/sdk/types/report.js
- @chatbotkit/sdk/usage
- @chatbotkit/sdk/usage/index
- @chatbotkit/sdk/usage/index.js
- @chatbotkit/sdk/usage/series
- @chatbotkit/sdk/usage/series/index
- @chatbotkit/sdk/usage/series/index.js
- @chatbotkit/sdk/usage/series/v1
- @chatbotkit/sdk/usage/series/v1.js
- @chatbotkit/sdk/usage/v1
- @chatbotkit/sdk/usage/v1.js
Readme
ChatBotKit Node SDK
Welcome to the ChatBotKit Node SDK. This is a Node.js-based solution designed to simplify the process of building conversational AI chatbots. Utilize ChatBotKit to rapidly develop and deploy AI bots capable of natural language interactions.
Getting Started
Embark on creating your chatbot with ChatBotKit in a few easy steps:
- Installation: To integrate the SDK into your project, use npm:
npm install @chatbotkit/sdk
- Implementation: Start using the SDK to build and manage your chatbot.
Example: Streaming in Edge and Serverless Environments
Below is a straightforward example demonstrating how to implement streaming with the SDK in both Edge and Serverless environments:
import { ConversationClient } from '@chatbotkit/sdk/conversation/index.js'
// Initialize the ConversationClient
const client = new ConversationClient({
/* configuration options */
})
// Stream messages using the ConversationClient
for await (const { type, data } of client
.complete(null, { model: 'gpt-5-mini', messages })
.stream()) {
if (type === 'token') {
process.stdout.write(data.token)
}
}
// Additional processing can be added hereExplore a detailed example with more advanced features here.
Documentation
For an in-depth exploration of the ChatBotKit Node SDK, including insights into its capabilities and configurations for different environments, visit our type documentation page.
Contributing
Encountered a bug or interested in contributing? Your participation is highly appreciated! Feel free to open an issue or submit a pull request on our official GitHub repository.