Skip to main content

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="https://beta.api.smabbler.com",
    api_key="<key>",
    knowledge_base_id="<knowledge_base_id>",
)

result = retriever._retrieve(QueryBundle(
    "<test question>"
))

print(result)

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_retrievers_galaxia-0.1.0.tar.gz (3.4 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_retrievers_galaxia-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_retrievers_galaxia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a7e517413abca2b07985e3a43be43e4016668d77891b9b61504721a6066633c
MD5 6e9ebba7c0ba8f4d641ddf05fdf2a14a
BLAKE2b-256 c743a191be2ddcab4cd46b1336a963014398cdd3bb3fa3bfe2ab91bf6ea3943f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_retrievers_galaxia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46f914882b909465642c59ce14a01dd83f79f365ef84fcdb6a7eae222e600416
MD5 2dec0e16af335fbc4d5aab6abfbe3c81
BLAKE2b-256 93e8efdd4e83164db509f8cfdc52e7d6845ed6923dd735831f6201d83783caf7

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