Skip to content
中文

Knowledge API

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 PDFs up to 512 MiB and other formats up to 50 MiB (the Router conversion limit), including images and XLSX; native hierarchical chunking retrieves child matches with parent context, and native search content can reference source images with image_file_id; 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.com/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