run-llama / llama-hub

A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
https://llamahub.ai/
MIT License
3.42k stars 727 forks source link

Initial commit of the Mintter Publications Reader - Returns an error #927

Closed elsatch closed 5 months ago

elsatch commented 5 months ago

Description

This loader connects to the Mintter local daemon to extract hypertext documents into LlamaIndex.

For additional information about Mintter: https://github.com/MintterHypermedia/mintter

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

I have tried to run this tool locally using the test.py file, but got an error: File "e:\dev\contrib\llama-hub\llama_hub\mintter\test.py", line 7, in MintterPublicationsReader = download_loader('MintterPublicationsReader') File "E:\dev\contrib\llama-hub.venv\lib\site-packages\llama_index\readers\download.py", line 49, in download_loader reader_cls = download_llama_module( File "E:\dev\contrib\llama-hub.venv\lib\site-packages\llama_index\download\module.py", line 217, in download_llama_module module_info = get_module_info( File "E:\dev\contrib\llama-hub.venv\lib\site-packages\llama_index\download\module.py", line 71, in get_module_info raise ValueError("Loader class name not found in library") ValueError: Loader class name not found in library

I assume my module is not being recognized locally because of some misconfiguration error. After asking on the contributing channel of LlamaIndex discord, I was asked to submit the PR for review.

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Suggested Checklist: