AI-Tkoens 中文

AI Apps

AstrBot - Agent Chatbot

AstrBot Configuration Tutorial — Integrating the open-source Agent chatbot platform with AI-Tkoens to inject AI capabilities into instant messaging platforms like QQ, Feishu, DingTalk, and WeChat Work.

AI-Token Integration Method

AstrBot supports integrating AI-Token as a model provider, allowing users to access and utilize various AI model services through AI-Token.

Configuration Steps

Obtain AI-Token API Key

After registering and logging into AI-Token, click 'Console' in the top navigation bar, then click 'Token Management', and then click the 'Add Token' button to create a new API Key. Select the appropriate permissions and click 'Create'.

create-api-key

After successful creation, click the 'Copy Key' button to copy the generated API Key.

copy-api-key

Configure AI-Token Service Provider in AstrBot

Open the AstrBot administration panel, go to the 'Model Providers' page, then click the 'Add Model Provider' button.

AI-Token perfectly supports OpenAI Chat Completion and Responses interfaces. Click 'OpenAI' to enter the OpenAI provider configuration page.

In the pop-up dialog, set the API Base URL to the AI-Token interface address. Please use your own deployed AI-Tkoens, or ensure that the service provider has legitimate upstream authorization and compliance obligations for the AI-Tkoens service. If you have deployed AI-Token locally, fill in the local address, for example, http://localhost:3000/v1. Do not connect API addresses or keys from unknown sources to a production environment.

Then, enter the API Key into the 'API Key' field and click the 'Save' button.

astrbot-provider-config

Then click 'Save' to complete the AI-Token provider configuration.

Apply Service Provider

Go to the 'Configuration File' page, find the 'Model' section, change the 'Default Chat Model' to the AI-Token provider you just created, and click the 'Save' button.

apply

At this point, you have successfully configured AI-Token as AstrBot's model provider. Now, you can access and use various AI model services provided by AI-Token through AstrBot.

Search all English documentation