llama-index retrievers galaxia integration
Project description
LlamaIndex Retrievers Integration: Galaxia
Galaxia Knowledge Base
Galaxia Knowledge Base is an integrated knowledge base and retrieval mechanism for RAG. In contrast to standard solution, it is based on Knowledge Graphs built using symbolic NLP and Knowledge Representation solutions. Provided texts are analysed and transformed into Graphs containing text, language and semantic information. This rich structure allows for retrieval that is based on semantic information, not on vector similarity/distance.
Implementing RAG using Galaxia involves first uploading your files to Galaxia, analyzing them there and then building a model (knowledge graph). When the model is built, you can use GalaxiaRetriever to connect to the API and start retrieving.
Installation
pip install llama-index-retrievers-galaxia
Usage
from llama_index.retrievers.galaxia import GalaxiaRetriever
from llama_index.core.schema import QueryBundle
retriever = GalaxiaRetriever(
api_url="beta.api.smabbler.com",
api_key="<key>",
knowledge_base_id="<knowledge_base_id>",
)
result = retriever._retrieve(QueryBundle(
"<test question>"
))
print(result)
Project details
Release history Release notifications | RSS feed
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_galaxia-0.2.1.tar.gz.
File metadata
- Download URL: llama_index_retrievers_galaxia-0.2.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92841c3973697fafbec8ecbe3d3f49fa363e3accd5d6a2a0d7e35373e3fb5969
|
|
| MD5 |
00928692d9add31e0097b28ac18c0a6d
|
|
| BLAKE2b-256 |
1c150c8dec7eae63799c7b38e3e9afa77c78d7490ebfd53d6a2ec2c151719891
|
File details
Details for the file llama_index_retrievers_galaxia-0.2.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_retrievers_galaxia-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f381d5be46856bc27cda4f383e57c9dc8e9a89311da2afb3a3320a528b0c6617
|
|
| MD5 |
13bab00d84e1102cee4f6496460f0b07
|
|
| BLAKE2b-256 |
5d27c568aff5ae416eee8a5c9247f30d7c7da975874ffc8cea5f4ec135411c1b
|