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.2.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.2.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_openai_like-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9b8b0dca94ee253fe809d0bdb878c7654e33507d3e3ca6764a2ac8f2338227ef
MD5 35198b5e50ffc2b513a9ed3523374da2
BLAKE2b-256 cbad8ce9ca7711fc449b81fe90e9fdefb430ef624819c72b72df923f93ef06e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_openai_like-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5eddf6de0af9565b479cb596dfa094e607d51dbc0b1aaccbc37733c2e9b736
MD5 bcbafc02254a7e302f74e88b6752ced4
BLAKE2b-256 4fbcbcca93d4218c2d4fbb263648f95a9a9f31f9806d941b67e2650dc6f89a6f

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