Articles on: Components of TorqAgents

What are Embeddings?

What are Embeddings and how are they used in TorqAgent?
Embeddings create a numerical representation of textual data, useful for finding similar documents. TorqAgent provides several embedding models, including Azure OpenAI Embeddings and LocalAI Embeddings​​​​​​.

How do I set up Azure OpenAI Embeddings?
To set up Azure OpenAI Embeddings, you need an Azure OpenAI account and API key. The setup process involves creating a deployment in Azure OpenAI Studio and connecting it with the TorqAgent Embeddings component​​.

What is LocalAI Embeddings and how to configure it?
LocalAI Embeddings is a REST API compatible with OpenAI API specifications for local inferencing. It supports running LLMs locally or on-prem with consumer-grade hardware. The setup involves cloning the LocalAI repository, downloading the model, and configuring the base path and model name in TorqAgent​​.

How does OpenAI Embeddings function in TorqAgent?
OpenAI Embeddings in TorqAgentuse text embeddings to measure the relatedness of text strings, aiding in search, clustering, recommendations, anomaly detection, diversity measurement, and classification. The setup includes connecting the OpenAI API key and configuring additional parameters like batch size and timeout​​

Updated on: 04/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!