Rag Request
data class RagRequest(val query: String, val similarityThreshold: <Error class: unknown class> = 0.8, val topK: Int = 8, val labels: Set<String> = emptySet())
RAG request. Contains a query and parameters for similarity search.
Parameters
query
the query string to search for
similarity Threshold
the minimum similarity score for results (default is 0.8)
top K
the maximum number of results to return (default is 8)
labels
optional set of labels to filter results. If not set all entities may be returned. If set, only the given entities will be searched for.