declare function getEmbeding(embeddingName: EmbeddingName): IEmbeddingSchema;
Retrieves an embedding schema by its name from the swarm's embedding schema service. Logs the operation if logging is enabled in the global configuration.
Parameter | Description |
---|---|
embeddingName |
The name of the embedding to retrieve. |