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.3.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.3.0.tar.gz.

File metadata

  • Download URL: llama_index_embeddings_openai_like-0.3.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_embeddings_openai_like-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f07e30492e2dee082b13e1155e43381f88af4ce96410d9f631b06995d82fee7e
MD5 67adef4a6034d076fa1742531cc7bb2a
BLAKE2b-256 1d42eaf4c1f82f43c54d35dfa1dcadd1efe1f56e41db4b0d9edc953616902a58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_embeddings_openai_like-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_embeddings_openai_like-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac9f922c5578600cc477fc552ec20b5bff3e72012619252684a785813d6a2094
MD5 b619485b6c51fde6fcd06bf44abe18ec
BLAKE2b-256 fe95bece3b6a84c18ec46a50e56e4b2d92d349995a7a262b34fc7e60ee87531f

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