rest

Search the Divan-e Shams by meaning (any language)

Semantic search over the ghazals: given a theme, feeling, or idea in ANY language, returns the GHAZALS closest in meaning — each with its best-matching couplet as a preview and a cosine score. Couplet-level and whole-ghazal vectors are both searched. status='unavailable' means the index is not built yet.

get/api/divan/search_meaning

Request

  • Base URL: https://masnavi.ai
  • URL: https://masnavi.ai/api/divan/search_meaning
  • Auth: none declared

Query parameters

qstring required

What the ghazal should be ABOUT, in any language.

Example:dying to yourself and being reborn
limitinteger

Response

Successful Response

querystring required
statusstring
total_indexed_beytsinteger
total_indexed_ghazalsinteger
notestring

Changes

No recorded changes to this operation across all 1 revision of this API.