Skip to content

Slides and code samples for the talk "Integrate Multimodal Language Models into .NET Backends with OpenAI .NET API and .NET Aspire", given at the Generation AI Meetup in Karlsruhe, Germany in October 2024

Notifications You must be signed in to change notification settings

thinktecture-labs/gen-ai-meetup-2024-10-integrate-mlms-into-dotnet-backends-with-openai-and-aspire

Repository files navigation

Integrate Multimodal Language Models into .NET Backends with OpenAI .NET API and .NET Aspire

This talk was given at the October 2024 Generation AI Meetup in Karlsruhe, Germany.

Prerequisites

You require the following prerequisites:

You can configure the API key by creating a file called appsettings.Development.json in the folder backend/AiInformationExtractionApi and add the following contents:

{
    "openAi": {
        "apiKey": "paste your OpenAI API key here"
    }
}

You can also use dotnet user-secrets to achieve the same thing.

How to compile and run the example

Simply build and run the solution via your IDE or with dotnet run.

The most important integration tests can be found in the AspireAppHost.IntegrationTests project:

  • TextIntegrationTests
  • SpeechIntegrationTests
  • ImageIntegrationTests

About

Slides and code samples for the talk "Integrate Multimodal Language Models into .NET Backends with OpenAI .NET API and .NET Aspire", given at the Generation AI Meetup in Karlsruhe, Germany in October 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published