Introduction
Multi-document chat APIs allow you to ask questions and chat with a collection of related documents.
The APIs are RESTful and can be easily integrated into your existing systems.
API Endpoints
Endpoint | Description |
---|---|
/md/file/upload | Upload files with tags supplied as metadata |
/md/file/search | Do vector search over indexed files based on tags or query |
/md/chat | Ask question over multiple related documents in a chat session |
Base URL
The base URL for the APIs is https://us-central.unstract.com/api/v1
Authentication
All the APIs require the platform key to be passed in the header. You can get your active platform key under Platform Settings in Unstract Cloud.
Type | How to pass credentials |
---|---|
Bearer Token | HTTP header name : Authorization |
HTTP header value : Bearer <platform_key> |