Introducing Fireworks AI-Embedding-Models/Fireworks-AI-Embedding-150M-To-350M: Enhancing Your AI Capabilities
Fireworks AI is proud to announce the release of its latest large language models, Fireworks AI-Embedding-Models/Fireworks-AI-Embedding-150M-To-350M. Designed to provide advanced embedding capabilities, these models are perfect for a variety of applications, including similarity comparisons and search.
Pricing
The cost structure for utilizing these models is straightforward:
- Input Price: $0.016 per 1M tokens
- Output Price: $0
- Max Tokens: Refer to specific model documentation
Available Models
Fireworks AI supports a range of state-of-the-art embedding models:
nomic-ai/nomic-embed-text-v1.5
mixedbread-ai/mxbai-embed-large-v1
BAAI/bge-base-en-v1.5
WhereIsAI/UAE-Large-V1
thenlper/gte-large
andthenlper/gte-base
How to Use Fireworks AI Embedding Models
To leverage these embedding models, follow these steps:
- Create a Fireworks account and obtain an API key.
- Install the necessary integration package, such as
langchain-fireworks
if using with LangChain. - Use the API to generate embeddings.
Example Integration
Here is a simple example of generating embeddings using the nomic-ai/nomic-embed-text-v1.5
model:
import openai
client = openai.OpenAI(
base_url="https://api.fireworks.ai/inference/v1",
api_key="<FIREWORKS_API_KEY>"
)
response = client.embeddings.create(
model="nomic-ai/nomic-embed-text-v1.5",
input="search_document: your_text_here"
)
Get Started Today
With Fireworks AI-Embedding-Models/Fireworks-AI-Embedding-150M-To-350M, you can enhance your applications with cutting-edge AI capabilities. Sign up for a Fireworks account today and start exploring the possibilities.