ChatGPT & Claude Integration for .NET: With Voice & PDF Processing

I’ve built a .NET Web API that streamlines integration with ChatGPT and Claude, featuring voice-to-text conversion and PDF data extraction out of the box. It’s designed for production use and handles all the complex pieces – from AI streaming responses to document processing.

Core Features

  • Voice & Documents: Convert speech to text and extract data from PDFs
  • AI Integration: Real-time streaming with ChatGPT and Claude 3
  • Security: JWT authentication, BCrypt hashing
  • Data: EF Core with SQLite, repository pattern
  • API Docs: Full Swagger documentation

Quick Start

bashCopy# Clone and setup
git clone https://github.com/ivanjurina/chatgpt-claude-dotnet-webapi.git
cd chatgpt-claude-dotnet-webapi

# Add your API keys to appsettings.json, then:
dotnet ef database update
dotnet run

Architecture

Built with clean architecture principles, proper error handling, and efficient async patterns throughout. The project provides a solid foundation for building production-ready AI applications.

Use Cases

Ideal for:

  • Voice-enabled AI interfaces
  • Document processing systems
  • Real-time chat applications
  • Enterprise applications needing multiple AI models

Check out the repository for more details and setup instructions.