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.44k stars 731 forks source link

GeniusReader loader #819

Closed ThibaudARoy closed 7 months ago

ThibaudARoy commented 8 months ago

Description

Added GeniusReader loader, which allows for loading of documents from the Genius API

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

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:

nerdai commented 8 months ago

Thanks for the contribution @ThibaudARoy. Looks like test our failing due to import errors. Can you follow a similar pattern to whats been used in the past, which is to do lazy imports and throw an error if the module is not installed?

See here: https://github.com/run-llama/llama-hub/blob/364feb5b9c41a081da53aae02e894c6caa2f478d/llama_hub/llama_packs/gradio_agent_chat/base.py#L36

jerryjliu commented 7 months ago

@ThibaudARoy is there an update on this?

ThibaudARoy commented 7 months ago

@jerryjliu updated the import statement. Let me know if there's anything else I can fix.

jerryjliu commented 7 months ago

sorry for delay @ThibaudARoy seems like there's some minor linting errors you can fix with make lint; make format!