RagRetrieveRequest
Fields
5 fields
min_score- number
project_id· required- string (uuid)
query_text· required- string
source_ids- array of string (uuid) or null
top_k- integer
Raw schema (JSON)
{
"properties": {
"min_score": {
"default": 0,
"maximum": 1,
"minimum": 0,
"title": "Min Score",
"type": "number"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"query_text": {
"maxLength": 5000,
"minLength": 1,
"title": "Query Text",
"type": "string"
},
"source_ids": {
"anyOf": [
{
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Source Ids"
},
"top_k": {
"default": 10,
"maximum": 50,
"minimum": 1,
"title": "Top K",
"type": "integer"
}
},
"required": [
"project_id",
"query_text"
],
"title": "RagRetrieveRequest",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/test-management/cases/rag-retrieve— Rag Retrieve
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON