Skip to main content

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")

Metadata

Release files for datapizza-ai-embedders-openai 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datapizza-ai-embedders-openai 0.0.6
File Size Uploaded
datapizza_ai_embedders_openai-0.0.6.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datapizza-ai-embedders-openai 0.0.6
File Interpreter ABI Platform
datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / datapizza_ai_embedders_openai-0.0.6.tar.gz

Download URL datapizza_ai_embedders_openai-0.0.6.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ac6250af8949a3a6deedec78d405ef58c4415af469f0bae29ec445b55ab7e40d
BLAKE2b-256 checksum
How to use checksums
efc0bb2a600fe9f23ce16515c39842cc651326c773a613196c94f9bf4fb2c3f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl

Download URL datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b6333842cdd5601e9a7eaf6ac7733084ff3eddad5cb86cdde05123034f8865f
BLAKE2b-256 checksum
How to use checksums
8c78ad7b4576b329c5ba30a5dbcf5b82dd1097744a225372de5b8f84067e6713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page