Create Index
This endpoint creates an index and uploads an initial document.
Form Data
This is the initial document you want to upload to your new index. Currently supported file types are md, pdf, and txt.
This is the name of the document you wish to insert into your new index.
This is your account ID.
This is the name of the index you wish to create. This parameter is optional - if left blank will use auto indexing.
This is an optional parameter, allowing you to specify the name of the embeddings model you’d like to use. “mpnet” is the default model and value, “instructor” will use the Instructor XL embedding model instead.
This is an optional parameter that is required when using “instructor” as your embedding model. This will be used as the instruction with with to embed your documents.
Headers
This is your API token associated with your account.
Response
Indicates whether the call was successful.