Skip to content

This repository contains a console application that calculates the cosine similarity between texts using Azure OpenAI embedding models.

License

Notifications You must be signed in to change notification settings

massimobonanni/EmbeddingAnalyzer

Repository files navigation

Embedding Analyzer

Embedding Analyzer is a console application that allows you to calculate the cosine similarity distance between two texts using embedding models in Azure OpenAI.

What is Cosine Similarity?

Cosine similarity is a measure of similarity between two non-zero vectors of an inner product space. It is defined as the cosine of the angle between the two vectors. In the context of text analysis, cosine similarity is often used to determine how similar two texts are based on their word embeddings.

To learn more about cosine similarity, you can visit the Cosine similarity page on Wikipedia.

Azure OpenAI

Azure OpenAI provides powerful natural language processing capabilities, including pre-trained embedding models that can be used to calculate cosine similarity. To get started with Azure OpenAI, you can refer to the Azure OpenAI documentation.

License

This project is licensed under the MIT License.

About

This repository contains a console application that calculates the cosine similarity between texts using Azure OpenAI embedding models.

Topics

Resources

License

Stars

Watchers

Forks

Languages