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="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.2.0.tar.gz (4.1 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.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_retrievers_galaxia-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c0c66f3f8defafb5ba6c2f788785f0c59de92990b03840b4d22a9c2a46d67449
MD5 c23638b23fceee61a38ff87206826dc7
BLAKE2b-256 31a2944d26f14bfbc912ad3b03ecbf6479ec37c649d4825755b5ba9409f281d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_retrievers_galaxia-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba0a3876f09fe6b7a15f10edbcde8b87a7093266c97d6cfb4cec0d97be8a6bbf
MD5 b0343f1e47763d533f86ecf6024a5be6
BLAKE2b-256 e57a095f8356774b91ed10d91c8ce0c15100c112721418d94de16b6e98cb746b

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