Skip to content

animorphcoop/local-knowledge-hub-pipelines

 
 

Repository files navigation

Local Knowledge Hub Pipelines

Fork from https://github.com/open-webui/pipelines to experiment with RAG pipelines at a Co-op Hackathon:

  • pipelines/local-dir_pipeline reading a directory with pdfs or other files
  • pipelines/website_pipeline.py reading a set of webpages
  • pipelines/coop-data_pipeline.py: reading a csv file containing an open directory of co-operatives (e.g. on https://www.uk.coop/resources/open-data — licensed under ODC-by v1.0). It stores the index once built and just loads it afterwards

Usage

install requirements:

pip install -r requirements.txt

Download data in data/ and add links to data or webpages is the three above scripts.

Adapt the scripts for your use cases.

About

Pipelines Fork for the Local Knowledge Hub Project

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.4%
  • Shell 8.7%
  • Dockerfile 1.7%
  • Batchfile 0.2%