Create Corpus
Creates a new corpus in Vectara.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
Unique key for the new corpus.
string
Display name for the corpus.
string
Description of the corpus.
boolean
Whether queries to this corpus should be saved by default.
Uncommon arguments
boolean
Treat queries as answers instead of questions.
boolean
Treat indexed documents as questions instead of answers.
string
Encoder name to use for the corpus.
array of object
Filter attribute definitions for the corpus.
array of object
Custom dimension definitions for the corpus.