[GenAI Orchestrator] lack of dependencies for run_vectorisation.py

Open Beginner friendly
#2,089 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
ai

Research direction

Start with scripts/indexing/vectorisation/run_vectorisation.py and reproduce the import failure in Image 26.3.3. Check the container's declared dependencies for the missing langchain module, then rerun the script and confirm that the import and vectorisation startup complete without ModuleNotFoundError.

Written by the indexing model from the issue text.

Description

In Image 26.3.3 llm-indexing-tools have a lack of dependencies for run_vectorisation.py.

When run_vectorisation.py is run from the container, the following error occurs:

Traceback (most recent call last):
  File "/app/tock-llm-indexing-tools/scripts/indexing/vectorisation/run_vectorisation.py", line 52, in <module>
    from langchain.text_splitter import RecursiveCharacterTextSplitter
ModuleNotFoundError: No module named 'langchain.text_splitter’ 
Dominant language
Kotlin
Stars
612
Forks
156
Avg merge
5d 10h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from theopenconversationkit/tock

All issues in theopenconversationkit/tock

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.