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.5.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.5-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4efa93da6cc10200c4784f02499bd6da874c130583934ef59916caa9593fac7f
MD5 8ad0b8f2aa952fddeeca88678a79e1a8
BLAKE2b-256 2323e1638882ef39241f4b57268c7a0bd91f5e00a27ecddd7b990f7e0bb57fba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datapizza_ai_embedders_openai-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1b4f5af43a7c0e91b1b353cfd46a07195891aa983049a34d3e83bb8b64003975
MD5 4b289f23c3f69557128c969ed6eddce0
BLAKE2b-256 a80b332e790f15011019c2147992fba207262b55340e10a0251ac3f8eca9f497

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