Go SDK
ChatBotKit offers a Go software development kit (SDK) that enables developers to create advanced conversational AI applications using the Go programming language. With the ChatBotKit Go SDK, developers can build chatbots, autonomous agents, and other types of conversational AI applications with just a few lines of code.
The ChatBotKit Go SDK provides a flexible platform for developers to build their own custom AI-powered applications. It includes a comprehensive agent package with built-in tool support, enabling developers to create intelligent autonomous agents that can execute tasks, call functions, and interact with external systems.
The ChatBotKit Go SDK is designed to be idiomatic and easy to use, with a simple API that follows Go conventions. It includes comprehensive documentation and examples to help developers get started quickly and easily. With the ChatBotKit Go SDK, developers can build powerful conversational AI applications in no time.
Key Features
- Idiomatic Go API: Clean, Go-native interface that follows language conventions.
- Agent Package: High-level agent execution with built-in planning, progress tracking, and exit control.
- Tool Support: Define custom tools with handlers that execute when the AI calls them.
- Streaming Support: Real-time streaming responses for interactive applications.
- Default Tools: Built-in tools for file operations and shell command execution.
- Type-Safe: Auto-generated types from the OpenAPI specification for compile-time safety.
- Full API Coverage: Access to all ChatBotKit resources including bots, conversations, datasets, and integrations.
Getting Started
To install the SDK simply use the following command:
Then we can use it to interact with our bot just like this:
This is just one of the many ways to interact with your bots using the Go SDK.