Skip to main content

llama-index embeddings netmind integration

Project description

LlamaIndex Embeddings Integration: Netmind

Installation

To install the required package, run:

pip install llama-index-llms-netmind

Setup

  1. Set your Netmind API key as an environment variable. Visit https://www.netmind.ai/ and sign up to get an API key.
import os

os.environ["NETMIND_API_KEY"] = "you_api_key"

Basic Usage

from llama_index.embeddings.netmind import NetmindEmbedding

embed_model = NetmindEmbedding(model_name="BAAI/bge-m3", api_key="")
embeddings = embed_model.get_text_embedding("hello world")
print(len(embeddings))

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_netmind-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_netmind-0.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3d8561220b2a30fccbaaf4263817fcb6e05b52592c14c031e33c38da2326c8eb
MD5 c987787719864fa84da755797d8f5034
BLAKE2b-256 4b721b3d94aceedaca3d2c2ee18e131da629c3e1f064dc321c4ce1fa0a6b36ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b763a7f2cc37104e1349bfa1db2391b72da68ce66cf46d1d6feffac586d8f3c
MD5 84cd755dae15cf37a461259db133ad31
BLAKE2b-256 4caabd5da089cf26d80f9622e80decd991812890bff11b8b02282a4c0b63707b

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