Skip to main content
Open on GitHub

Smabbler

Smabbler’s graph-powered platform boosts AI development by transforming data into a structured knowledge foundation.

Galaxia

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.

More information: docs

Installation

pip install langchain-galaxia-retriever

Usage

from langchain_galaxia_retriever.retriever import GalaxiaRetriever

gr = GalaxiaRetriever(
api_url="beta.api.smabbler.com",
api_key="<key>",
knowledge_base_id="<knowledge_base_id>",
n_retries=10,
wait_time=5,
)

result = gr.invoke('<test question>')
print(result)


Was this page helpful?