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

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ebe51f56690f6f63aa72d733ea3ec6a9ab8412b296bff1d13a868ef844941d7
MD5 55790bdb950220bce076b702f4dada39
BLAKE2b-256 7b96d2a034b76692dd2044c5ca246a342df5a74daa30287703751e4e6f735ac7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87deb760ce04c580d3e06858c2f527cd0ac7b2ed32beb03f890bed69fa01cf0b
MD5 6a089672950e1a8f82f9d3c4ff93b44b
BLAKE2b-256 3f4f9665f50e311105f09ade894bb142f378e806699f172be8b8039aac69740a

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