ChainGraph API Documentation / @badaitech/badai-api / GraphQL / PageWithSimilarity
Type Alias: PageWithSimilarity
PageWithSimilarity =
object
Defined in: client/graphql.ts:1565
A type representing a Page with its similarity score to a query.
Properties
__typename?
optional__typename:"PageWithSimilarity"
Defined in: client/graphql.ts:1566
page
page:
Page
Defined in: client/graphql.ts:1568
The page content and metadata.
similarity
similarity:
Scalars["Float"]["output"]
Defined in: client/graphql.ts:1573
The similarity score between the page and the query, ranging from 0 to 1. Higher values indicate greater similarity.