Skip to content

EmbeddingsClient.search

Cosine-rank the team's embeddings against q (top 20).

Server: GET /api/foundry-embed/search/?q=….

Signature

search(q: str) -> list[dict[str, Any]]

Parameters

Name Type Required Default
q str yes -

Fields

Field
q

Return shape

list[dict[str, Any]]

Permission

This is a local SDK helper. It does not call the CloudSprite HTTP API.

Usage

embeddings_client.search(q)