LlamaIndex Retrievers Integration: AlletraX10000Retriever
This llama-index retriever will provide interfaces for the user applications to do semantic similarity search on the embeddings for Data Intelligence solution of HPE AlletraMP X10000
How to use SDK
Install llama-index-retrievers-alletra-x10000-retriever
pip install llama-index-retrievers-alletra-x10000-retriever
Driver code
from llama_index.core.chat_engine import CondensePlusContextChatEngine
from llama_index.core.memory import ChatMemoryBuffer
from llama_index.retrievers.alletra_x10000_retriever import (
AlletraX10000Retriever,
)
# Configure the llm settings before using the retriever
retriever = AlletraX10000Retriever(
uri="https://example.com",
s3_access_key="",
s3_secret_key="",
collection_name="testcollection",
top_k=50,
search_config={"radius": 0.75},
)
memory = ChatMemoryBuffer.from_defaults(token_limit=1000)
chatbot = CondensePlusContextChatEngine.from_defaults(
retriever=retriever, memory=memory
)
res = chatbot.chat(
"Who was the eldest daughter of the steward of the old Lord de Versely?"
)
print(res)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_retrievers_alletra_x10000_retriever-0.2.0.tar.gz.
File metadata
- Download URL: llama_index_retrievers_alletra_x10000_retriever-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79418d835e25ba5782bc8704a725a1bbf58cf4691c6b8e5c049e651353601aac
|
|
| MD5 |
104a788ec5fdd5f3a73aff501c629041
|
|
| BLAKE2b-256 |
f982e06f1c7668b08bfc97bb924970ce5ed621c8ff510a0f62918bf067036f17
|
File details
Details for the file llama_index_retrievers_alletra_x10000_retriever-0.2.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_retrievers_alletra_x10000_retriever-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b49444db2403b42e3be33b9a85e2da2e7e88bf48a61cbe1005dc1bbd7b41bb04
|
|
| MD5 |
217cd1eb57438033439778bc0f711c5d
|
|
| BLAKE2b-256 |
dda35ec1198e10f006adb063fbab67c5b18cba3449c0dd5132b574c51c58dce8
|