gorilla
gorilla copied to clipboard
[bug] Hosted Gorilla: <Issue>No module named 'langchain_experimental.text_splitter'
Describe the bug
when I run RAFT:
python3 raft.py --datapath sample_data/United_States_PDF.pdf --output ./sample_ds4 --distractors 4 --doctype pdf --chunk_size 512 --questions 5 --openai_key OPENAI_KEY
there is an error:
Traceback (most recent call last):
File "raft.py", line 9, in <module>
from langchain_experimental.text_splitter import SemanticChunker
ModuleNotFoundError: No module named 'langchain_experimental.text_splitter'
To Reproduce Steps to reproduce the behavior: langchain 0.0.354 langchain-community 0.0.20 langchain-core 0.1.23 langchain-experimental 0.0.47 langchain-openai 0.0.6 langcodes 3.3.0 langdetect 1.0.9
Hi! Please make sure to run pip install -r requirements.txt
in the raft
directory to install dependencies before running the script.