General
Create knowledge base
This operation initialises an empty knowledge base and attaches it to your user. You always need to perform this operation after registartion. Upon a successful registration you recieve a KB ID which you can then use to manage or query the KB.
The request body contains the following fields:
- name: The name of the knowledge base.
- type: Specifies the type of the knowledge base.
- query: This type is designated for use with the Ask service.
- tech: Coming soon! This type is designated for providing guards or constraints for the Ask service, ensuring that queries are processed within specified guidelines.
- paragraps: Contains optional chunking parameters.
- chunkSize: The maximum size of each chunk, in tokens.
- chunkOverlap: The number of overlapping tokens between consecutive chunks.
POST
/
Authorizations
X-API-Key
string
headerrequiredBody
application/json
name
string | null
type
enum<string>
default: queryAvailable options:
query
, tech
paragraphs
object
Response
200 - application/json
id
string
requiredname
string
requiredtype
enum<string>
requiredAvailable options:
query
, tech
paragraphs
object
requireddateCreated
string
required