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

File metadata

  • Download URL: llama_index_embeddings_openai_like-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cef7af4bce284e8e6730532dbd0aa325e77398a5d5524edb2d2e3acb122fb5b6
MD5 f1c04d906cc7c17c735fc281ec6ec0c6
BLAKE2b-256 b2df79e4748196213b55931d5f8377141fff41135f5988d5501860824cc95390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_embeddings_openai_like-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 167c7e462cde7d53ea907ceaffbbf10a750676c7c9f7bcc9bc9686a41921387a
MD5 7e4c63ec9ad099248e27b83a8d416233
BLAKE2b-256 018eb9ea889f88318f2faa20b615989e12a15a133c9273630f9266fcf69f35a6

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