Skip to content

Vellum

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Vellum OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0

Usage

1
2
3
using Vellum;

using var client = new VellumClient(apiKey);

Getting Started

Basic example showing how to create a client and list prompt deployments.

1
2
3
4
5
6
// Create a Vellum client using your API key.
using var client = new VellumClient(apiKey);

// List all prompt deployments in your workspace.
var deployments = await client.SubpackageDeployments.ListAsync(
    limit: 10);

MEAI Tools

Example showing how to use the Vellum client as MEAI AIFunction tools.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// Create a Vellum client and wrap it as MEAI AIFunction tools.
using var client = new VellumClient(apiKey);

// Create tools for use with any IChatClient.
var executePromptTool = client.AsExecutePromptTool();
var searchDocumentsTool = client.AsSearchDocumentsTool();
var listDeploymentsTool = client.AsListDeploymentsTool();
var listDocumentIndexesTool = client.AsListDocumentIndexesTool();

// Verify the tools were created successfully.

Support

Priority place for bugs: https://github.com/tryAGI/Vellum/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Vellum/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.