Discover and explore top open-source AI tools and projects—updated daily.
marcominerva.NET library for ChatGPT integration, supporting OpenAI and Azure OpenAI
Top 85.3% on SourcePulse
This library provides a .NET integration for OpenAI and Azure OpenAI Service, enabling developers to easily incorporate ChatGPT capabilities into their applications. It offers robust features for managing conversations, handling streaming responses, and integrating with function and tool calling.
How It Works
The library leverages .NET's dependency injection for seamless integration. It manages conversation history using an in-memory cache with configurable message limits and expiration times, allowing for stateful interactions. The core functionality is exposed through an IChatGptClient interface, supporting both synchronous and streaming asynchronous calls, with options to customize model parameters, response formats, and system prompts.
Quick Start & Requirements
dotnet add package ChatGptNetChatGpt service with API keys and model details.Highlighted Details
MemoryCache.AskStreamAsync and AsDeltas.Maintenance & Community
develop branch.Licensing & Compatibility
Limitations & Caveats
Seed and ResponseFormat are only supported by newer models.1 year ago
Inactive
64bit
openai
openai