embedding.listSpacesquerysince 0.1
Every embedding space of a project.
Request
umwelt call story.umw embedding.listSpaces '{
"projectId": "ball"
}'Request
const result = await client.embeddingListSpaces({ projectId: 'ball' });Request
var result = engine.EmbeddingListSpaces(new ProjectId { ProjectIdValue = "ball" });Response
[
{ "id": "demo", "dimensions": 3, "model": "example-3d" }
]Payload
| Field | Type | Description |
|---|---|---|
projectIdrequired | string | The project to read. |
Result
A list of EmbeddingSpace, each with:
| Field | Type | Description |
|---|---|---|
idalways | string | The space’s id. |
dimensionsalways | integer | The length of every vector in it, from 1 to 4096. |
modelalways | string | The model that makes its vectors. The engine never reads it. |
Errors
VALIDATION_FAILEDThe payload is malformed.NOT_FOUNDThe project does not exist.HANDSHAKE_REQUIREDOver the protocol, hello was not sent first.Every code is listed in Errors.
See also
Was this page helpful?