Unique AI for Developers — Unique AI Documentation
Unique AI for Developers
Deep-dive into the technical internals and advanced features of Unique AI, with in-depth knowledge, code examples, and best practices for leveraging the full potential of the platform.
Quickstart
Get up and running in minutes.
Install the Python SDK, configure your credentials, and run your first search against the Unique knowledge base.
Install the SDK & high-level toolkit
pip install unique-sdk unique-toolkit
Configure & run your first search
import unique_sdk
unique_sdk.api_key ="ukey_..."
unique_sdk.app_id ="app_..."
results = unique_sdk.Search.create(
user_id="user_123",
company_id="company_456",
searchString="quarterly report",
searchType="COMBINED",
)
SDK & Toolkit Docs Unique-AG/ai on GitHub PyPI
SDK & Toolkit domains
- Chat & completions: ChatService for building conversational interfaces with chat completions and streaming.
- Search & knowledge: KnowledgeBaseService for search, content retrieval, folder operations, and document upload.
- Embeddings & LLM: Embedding and language model modules for custom vector search and model interaction.
- Webhooks & events: Verify webhook signatures and handle platform events for real-time integrations.
Prerequisites
You'll need a UNIQUE_API_KEY and UNIQUE_APP_ID from your organization's admin. Python ≥3.11 is required. See the SDK documentation for the full setup guide, or explore tutorials on GitHub.
Explore the developer guides
Core Software Development Kit→ The unique-sdk and unique-toolkit. Includes search, content management, chat completions, folder operations, webhooks, and an experimental CLI.
pip install unique-sdk unique-toolkit
Experimental Prototypes→ Early-stage features and proof-of-concept integrations — including the experimental unique-cli file explorer for knowledge bases. Try new capabilities before they become generally available. Learn more.