Skip to main content

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

datapizza_ai_embedders_openai-0.0.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file datapizza_ai_embedders_openai-0.0.6.tar.gz.

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.6.tar.gz
Algorithm Hash digest
SHA256 ac6250af8949a3a6deedec78d405ef58c4415af469f0bae29ec445b55ab7e40d
MD5 6d4923cfba0f05dfb1d87f2f08f2c456
BLAKE2b-256 efc0bb2a600fe9f23ce16515c39842cc651326c773a613196c94f9bf4fb2c3f9

See more details on using hashes here.

File details

Details for the file datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1b6333842cdd5601e9a7eaf6ac7733084ff3eddad5cb86cdde05123034f8865f
MD5 d916bbbe0e161b1ca3fe70bb5fdce1e7
BLAKE2b-256 8c78ad7b4576b329c5ba30a5dbcf5b82dd1097744a225372de5b8f84067e6713

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page