Skip to main content

llama-index embeddings openai integration

Project description

OpenAILike Embeddings

This integration allows you to use OpenAI-like embeddings APIs with LlamaIndex.

Installation

pip install llama-index-embeddings-openai-like

Usage

from llama_index.embeddings.openai_like import OpenAILikeEmbedding

embedding = OpenAILikeEmbedding(
    model_name="my-model-name",
    api_key="fake",
    api_base="http://localhost:1234/v1",
    embed_batch_size=10,
)

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

llama_index_embeddings_openai_like-0.2.0.tar.gz (3.9 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 llama_index_embeddings_openai_like-0.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_openai_like-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1d6002eb622111c9541f2b34bedc13f7b4897afdcf6dbdc06e440d01c2d58475
MD5 15b89af557ace96351a8344c49d39392
BLAKE2b-256 2a947446fd9c20d34875f3969afe6da55548dcc130de3887e1bf526ff528ebb1

See more details on using hashes here.

File details

Details for the file llama_index_embeddings_openai_like-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_embeddings_openai_like-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87786b215f7b601e36532ff9e24a82379fd252b79ec97b0420ba4f6ddbbc1938
MD5 a0b5de2cf813cc57824646ddda869e80
BLAKE2b-256 23e108341f525aab2e76fe3548b5819830b1ad27f904649adf3ec1bc417891c7

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