Search For Similar

In addition to the metadata that Graphlit indexes into the knowledge graph, all the text from your content is automatically added into a searchable index.

Here is an example of finding similar content to the search text "Unstructured Data". The --search-type argument accepts Vector, Hybrid and Keyword search types. (Vector is the default, if not specified.)

The similar chunks are returned, per page, with the relevance score based on the search type. (Vector and Hybrid search return a different scale of relevance scores, but higher relevance means higher numbers.)

g query --type content --search "Unstructured Data" --search-type Vector
g query --type content --search "Unstructured Data" --search-type Hybrid

When searching by keywords, Graphlit only supports returning the content 'hit' by the search, rather than the individual chunks as with Vector or Hybrid search.

g query --type content --search "generate knowledge in real-world" --search-type Keyword

Last updated