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

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9a92e8a7f0c840a84f09da613b2d17052e912f7ac21ab7040762074a2d3213cb
MD5 7ba4e06a6ddb3e41e140433b6e8f75cc
BLAKE2b-256 2dbc0169dc7e7e3f83fb5072ac662eef5ac80dc46921dfcf43f71a8d5b36ff40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_netmind-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68e772afd44271ebbd758924ab5268fa8928719c480b0bb6501c2de92dfeccfe
MD5 6f3693cca3f47cfe3bcadeb91d248c79
BLAKE2b-256 baae4e563a5d725bfe3c220460d18c795469d5817268bba4b09e1a2168e15621

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