https://github.com/eccenca/llama-index-cmem
llama-index tools eccenca Corporate Memory Integration
https://github.com/eccenca/llama-index-cmem
corporate-memory eccenca integration llama
Last synced: 23 days ago
JSON representation
llama-index tools eccenca Corporate Memory Integration
- Host: GitHub
- URL: https://github.com/eccenca/llama-index-cmem
- Owner: eccenca
- License: apache-2.0
- Created: 2025-01-20T07:56:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-15T15:31:20.000Z (about 1 year ago)
- Last Synced: 2025-05-15T16:23:15.932Z (about 1 year ago)
- Topics: corporate-memory, eccenca, integration, llama
- Language: Python
- Homepage:
- Size: 736 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README-public.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# llama-index-cmem
llama-index tools eccenca Corporate Memory Integration
[![poetry][poetry-shield]][poetry-link] [![ruff][ruff-shield]][ruff-link] [![mypy][mypy-shield]][mypy-link] [![copier][copier-shield]][copier]
## Usage
The llama-index-cmem package allows using [eccenca Corporate Memory](https://eccenca.com/products/enterprise-knowledge-graph-platform-corporate-memory) together with [LlamaIndex](https://docs.llamaindex.ai/en/stable/).
### Components
- SPARQLReader: Use to load documents from SPARQL query to use in ingestion pipeline.
- SPARQLRetriever: Execute SPARQL query to retrieve context from SPARQL endpoint.
- NLSPARQLRetriever: Text-to-SPARQL retriever to retrieve context from SPARQL endpoint using natural language.
- CMEMQueryCatalogRetriever: Execute SPARQL query from CMEM query catalog to retrieve context from SPARQL endpoint.
There are several example notebooks available:
- NLSPARQLRetriever and CMEMQueryCatalogRetriever.
- ChatEngine: Chatting with an RDF knowledge graph data.
- QueryEngine: Single Q&A engine with RDF knowledge graph data.
- PGVector: Generate embeddings from RDF knowledge graph and query with natural language (via vector similarity).
[poetry-link]: https://python-poetry.org/
[poetry-shield]: https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json
[ruff-link]: https://docs.astral.sh/ruff/
[ruff-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&label=Code%20Style
[mypy-link]: https://mypy-lang.org/
[mypy-shield]: https://www.mypy-lang.org/static/mypy_badge.svg
[copier]: https://copier.readthedocs.io/
[copier-shield]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-purple.json