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.1.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.

File details

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

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 51ea521e30885c1009945032945abab31a5ecbfbcf79063b4176a9d742d8976a
MD5 c46b7602868731c5e9f47088cb697fc6
BLAKE2b-256 8d76d4a6842bc535ade3de3b4e6bae826034fb993ac1804fbe8ad49ebc164704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0885d764da9076c9824c7e165750c55eca8dfd998a459c6b9c250f0c8e4cb003
MD5 25d1c6f758b001807b9d162d834a3136
BLAKE2b-256 d9ec092b058e1d8d2c9b0d9bac62a0b4da6dc4057a38d3828e2e6fb9169e29ef

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