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 732 forks source link

Code Hierarchy Node Parser #932

Closed ryanpeach closed 7 months ago

ryanpeach commented 7 months ago

Description

Moved from https://github.com/run-llama/llama_index/pull/7450

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

Every language is extensively tested in pytest

Checklist:

The following items need to be completed before moving out of draft:

review-notebook-app[bot] commented 7 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

ryanpeach commented 7 months ago
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[19], [line 1](vscode-notebook-cell:?execution_count=19&line=1)
----> [1](vscode-notebook-cell:?execution_count=19&line=1) from llama_hub.file.code.code_hierarchy import CodeHierarchyNodeParser
      [2](vscode-notebook-cell:?execution_count=19&line=2) from llama_index.text_splitter import CodeSplitter
      [3](vscode-notebook-cell:?execution_count=19&line=3) from llama_index.readers import SimpleDirectoryReader

ModuleNotFoundError: No module named 'llama_hub'
ryanpeach commented 7 months ago

Moved to https://github.com/run-llama/llama_index/pull/10671