semanticSearchFiles(input: SemanticSearchFilesInput!): SemanticSearchFilesPayload!
Requires project.knowledge.read.
Arguments
Input fields
input
Response
Returns SemanticSearchFilesPayload!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query SemanticSearchFiles($input: SemanticSearchFilesInput!) {
semanticSearchFiles(input: $input) {
searchTimeMs
totalMatches
data {
chunk {
id
content
index
}
file {
id
checksum
path
versionId
}
match {
matchType
score
}
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{
"input": {
"queryVector": [],
"dimension": "D768"
}
}