SDKs and templates

Our SDKs are available on Github.

We offer SDKs in JavaScript, PHP, and Python to simplify API integration. Code examples for each language's SDK demonstrate common use cases and are available in the respective subrepositories. These SDKs streamline interaction with our API endpoints, making queries easier. Check the subrepositories for examples :

SDK
folder
branch SDK version (update)

Javascript

version 2.0 (2025)

Python

version 2.0 (2025)

Ruby

main (2025)

PHP

version 2.0 (Nov 2024)

Templates

We also provide a set of partial templates that demonstrate how to use some functions of the K-ai SDKs to interact with K-ai service in different languages.

Senario
Search
Chatbot
Audit

Microsoft Copilot Studio

Streamlit (Python)

For a all-in-one template, with all functionalities ready-to-use, and a customized interface following your brand identity, don't hesitate to contact us !

Last updated