Uses a prompt to find chunks of relevant text from a document specified by document ID

post/fragments/searchByPrompt

Request body

documentIdnumber required
contentstring required
model'text-embedding-3-small' | 'text-embedding-3-large' | 'text-embedding-ada-002'
matchCountnumber
matchThresholdnumber

Response

Successful response

idnumber required
contentstring required
{"stackTrail":"components:schemas:Fragments-searchByPromptResponse:items:properties:metadata","oasType":"schema","type":"unknown","nullable":true}
documentIdnumber required

Changes

No recorded changes to this endpoint across all 1 revision of this API.