LangChain
View on GitHubC# implementation of LangChain. We try to be as close to the original as possible in terms of abstractions, but are open to new entities.
C#/.NET port of LangChain offering composable chains, prompt templates, document loaders, embeddings and vector stores for building LLM and RAG applications, closely mirroring the original Python abstractions.
Use Cases
Build RAG pipelines over PDFs and documents in C#Question answering with retrieved contextComposable chains with prompt templatesEmbedding generation and vector similarity searchChat apps backed by local or paid LLMsLLM usage and cost trackingProvider-agnostic LLM integration in .NET apps
Built With
- Language
- C#
- Frameworks
- LangChain · .NET · Semantic Kernel · OpenAI SDK · Sqlite · PdfPig · Blazor · Microsoft.Extensions.AI
Tags
langchain · csharp · dotnet · llm · rag · embeddings · vector-database · chains · prompt-templates · openai · sdk · nuget · document-loaders · text-splitters