Skip to content

hacid-project/hacid-RAG

Repository files navigation

Note

The current repository version is for test usage and it's under update.

Quick Usage

  1. Download the .zip file of the indexed knowledge graph here.
  • snomed_all_dataset_nodoc_hitsnomed.zip: The indices of full knowledge graph embedded by hitsnomed
  • snomed_all_dataset_nodoc_minilml12v2.zip: The indices of full knowledge graph embedded by minilml12v2
  • snomed_partial_dataset_nodoc_minilml6v2.zip: The indices of partial knowledge graph embedded by minilml6v2
  1. Download the LLM and embedding model (recommendations: mistral-small and hitsnomed ). Place them in a new folder and check the paths in the rag_util.py

$ LLM = {} and EMBED_MODEL = {}

  1. Unzip the file and put it into the "index" folder. (If there is no "index" folder, create a new one under the root directory.)

  2. Run the rag_playground.ipynb for test. This notebook contains several working scenarios for one sample input. For testing file input, run rag_extraction.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published