OpenAI embedder for the datapizza-ai framework
Project description
OpenAI Embedder
OpenAI embedder implementation.
Installation
pip install datapizza-ai-embedders-openai
Usage
from datapizza.embedders.openai import OpenAIEmbedder
embedder = OpenAIEmbedder(api_key="your-openai-api-key")
embeddings = embedder.embed("Hello world", model_name="text-embedding-ada-002")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datapizza_ai_embedders_openai-0.0.2.tar.gz.
File metadata
- Download URL: datapizza_ai_embedders_openai-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4d84408e5f7131d285b3589f482395bae0a84399481de3f222883b8f9b330c7
|
|
| MD5 |
d16a92c487787055a81b3b747ac77d62
|
|
| BLAKE2b-256 |
b668944d3abdb267be421e96b44232a1f716f8e1e22ce3c46abaf6cd72c47b31
|
File details
Details for the file datapizza_ai_embedders_openai-0.0.2-py3-none-any.whl.
File metadata
- Download URL: datapizza_ai_embedders_openai-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a1b2bdab08c442cacd7c5efa5a9c9812ce6f16103b801d48cda439ffba72b5
|
|
| MD5 |
e81692a67ddaa4bb23d2ee36a3f451fe
|
|
| BLAKE2b-256 |
0042d939e2c07dede7347ce792d29ea275adf8badd0cb4f8aa16b96b32f8597a
|