https://github.com/tsjdev-apps/ms-exensions-ai-embeddings-sample
Repository containing a simple console application using Microsoft.Extensions.AI NuGet package to create embeddings.
https://github.com/tsjdev-apps/ms-exensions-ai-embeddings-sample
Last synced: 5 months ago
JSON representation
Repository containing a simple console application using Microsoft.Extensions.AI NuGet package to create embeddings.
- Host: GitHub
- URL: https://github.com/tsjdev-apps/ms-exensions-ai-embeddings-sample
- Owner: tsjdev-apps
- License: mit
- Created: 2024-11-26T20:03:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T20:35:59.000Z (over 1 year ago)
- Last Synced: 2024-12-09T21:30:56.976Z (over 1 year ago)
- Language: C#
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using Microsoft.Extensions.AI to Generate Embeddings in .NET

This repository contains a simple chat application built using the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Microsoft.Extensions.AI) package in .NET. The project demonstrates how to integrate AI capabilities into a .NET application to create Embeddings.
## Usage
To test our application, you'll need either [Ollama](https://ollama.com/) running, a valid OpenAI API key or access to an active Azure OpenAI Service.
## Screenshots
The first screenshot demonstrates the host selection process.

Based on your selection, you will be prompted to enter the necessary parameters.

Finally, you can enter a text to generate the embeddings.

## Blog Posts
If you are more interested into details, please see the following posts on [medium.com](https://medium.com/@tsjdevapps) or in my [personal blog](https://www.tsjdev-apps.de):
- [Using Microsoft.Extensions.AI to Generate Embeddings in .NET](https://medium.com/medialesson/using-microsoft-extensions-ai-to-generate-embeddings-in-net-0e6485180593)
- [Einrichtung von OpenAI](https://www.tsjdev-apps.de/einrichtung-von-openai/)
- [Einrichtung von Azure OpenAI](https://www.tsjdev-apps.de/einrichtung-von-azure-openai/)