Skip to content

MEAI Tools

Use the Nomic AI client as MEAI AIFunction tools with any IChatClient.

This example assumes using Nomic; is in scope and apiKey contains your Nomic API key.

1
2
3
4
5
using var client = new NomicClient(apiKey);

// Create AIFunction tools from the Nomic AI client.
var embedTextTool = client.AsEmbedTextTool();
var embedImageTool = client.AsEmbedImageTool();