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",
)
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_IDfrom your organization's admin. Python ≥3.11 is required. See the SDK documentation for the full setup guide, or explore tutorials on GitHub.