https://github.com/tryagi/jina
C# SDK based on official Jina OpenAPI specification
https://github.com/tryagi/jina
ai autosdk csharp dotnet jina langchain langchain-dotnet net8 netstandard openapi sdk
Last synced: 10 months ago
JSON representation
C# SDK based on official Jina OpenAPI specification
- Host: GitHub
- URL: https://github.com/tryagi/jina
- Owner: tryAGI
- License: mit
- Created: 2024-09-15T13:31:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-14T14:32:07.000Z (10 months ago)
- Last Synced: 2025-04-14T23:09:00.248Z (10 months ago)
- Topics: ai, autosdk, csharp, dotnet, jina, langchain, langchain-dotnet, net8, netstandard, openapi, sdk
- Language: C#
- Homepage: https://tryagi.github.io/Jina/
- Size: 600 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jina
[](https://www.nuget.org/packages/Jina/)
[](https://github.com/tryAGI/Jina/actions/workflows/dotnet.yml)
[](https://github.com/tryAGI/Jina/blob/main/LICENSE.txt)
[](https://discord.gg/Ca2xhfBf3v)
## Features 🔥
- Fully generated C# SDK based on [official Jina OpenAPI specification](https://api.jina.ai/openapi.json) using [AutoSDK](https://github.com/tryAGI/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
```csharp
using Jina;
using var api = new JinaApi(apiKey);
var response = await api.Embeddings.CreateEmbeddingAsync(new TextEmbeddingInput
{
Model = "jina-clip-v1",
Input = new List
{
new()
{
Text = "Hello, world!",
}
}
});
Console.WriteLine($"[{string.Join(", ", response.Data[0].Embedding ?? [])}]");
```
## Support
Priority place for bugs: https://github.com/tryAGI/Jina/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Jina/discussions
Discord: https://discord.gg/Ca2xhfBf3v
## Acknowledgments

This project is supported by JetBrains through the [Open Source Support Program](https://jb.gg/OpenSourceSupport).

This project is supported by CodeRabbit through the [Open Source Support Program](https://github.com/marketplace/coderabbitai).