Files
dependabot[bot] df20cf9c8a Bump langchain in /apps/language_models/langchain (#1968)
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.325 to 0.0.329.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.325...v0.0.329)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-12 19:46:00 -08:00
..
2023-07-21 21:56:27 +05:30
2023-07-17 09:58:15 -07:00
2023-07-17 09:58:15 -07:00

Langchain

How to run the model

1.) Install all the dependencies by running:

pip install -r apps/language_models/langchain/langchain_requirements.txt
sudo apt-get install -y libmagic-dev poppler-utils tesseract-ocr libtesseract-dev libreoffice

2.) Create a folder named user_path in apps/language_models/langchain/ directory.

Now, you are ready to use the model.

3.) To run the model, run the following command:

python apps/language_models/langchain/gen.py --cli=True