Knowledge

Knowledge API

Knowledge bases, files, search, segments and events.

Knowledge turns uploaded files into searchable knowledge bases with asynchronous ingestion and inspectable text segments. Concepts and behavior follow OpenAI vector stores (stores, file attachments, batches and search), so OpenAI vector stores experience applies. Differences: search has no next page (native results count chunks, while the compatible URL groups files); auto ranking does not rerank, so request default-2024-11-15 for reranking; chunk sizes use estimated tokens rather than a model tokenizer; ingestion accepts at most 100000000 bytes per file and also supports images and XLSX; native deletion retains a readable, restorable store for seven days. Start with praxis.knowledge.vectorStores.create, passing file_ids from File uploads to begin ingestion.

Add files to a knowledge base and search relevant chunks by meaning and keywords. Authenticate with your API Key as a Bearer token; call from a server.

https://api.deepraxis.ai/knowledge/v1

Quickstart: official Python SDK

ResourceUse
Knowledge basesCreate, retrieve, update, delete and restore
FilesAttach, retrieve, edit attributes, remove and retry
BatchesAdd files in batches, retrieve status and cancel
SearchFind relevant text chunks
SegmentsRead chunks, positions and terms
EventsRead store and ingestion events

Error codes · Limits and file formats · OpenAI vector stores

Export

On this page

No Headings