2.1 Dependency Installation
This topic describes the information to install the dependencies.
Note:
These packages must be installed in the environment where the document verification services are installed.Common Dependencies:
Note:
These dependencies are mandatory.Note:
If you are installing on server behind the proxy server then provide the proxy settings e.g., if connected to Oracle network then following proxy will work. Set the proxy before installing the dependencies according to the shell (bash/csh/sh etc).https_proxy = http://www-proxy.us.example.com:80
https_proxy = http://www-proxy.idc.example.com:80
no_proxy=localhost,127.0.0.1,.us.example.com,.ocir.io,.examplecorp.com,.examplevcn.com
pip install pypdf==3.9.1
pip install PyPDF2==3.0.1
pip install Flask==2.2.5
pip install pdfminer.six==20221105
pip install pydantic==1.10.13
pip install pytesseract==0.3.9
pip install openpyxl==3.1.2
pip install PyMuPDF==1.22.5
pip install sentence-transformers==2.2.2
pip install tabulate==0.9.0
pip install oci==2.112.1
pip install oracledb==1.3.2
pip install langchain==0.1.13
pip install langchain-community==0.0.29
pip install langchain-core==0.1.42
pip install langchain-experimental==0.0.55
pip install langchain-text-splitters==0.0.1
pip install langsmith==0.1.37
pip install docx2txt==0.8
pip install tiktoken==0.5.2
pip install py-eureka-client==0.10.0
pip install pandas==1.4.1
pip install importlib-metadata==6.0.0
pip install xlrd==2.0.1
LLM Dependencies:
The dependencies mentioned below can be installed based on which large language model you choose to configure.
Install the below dependencies, to use OpenAI LLM.
pip install openai==1.17.0
pip install langchain-openai==0.1.3
Install the below dependencies, to use Cohere LLM.
pip install cohere==5.1.7
pip install langchain-cohere==0.1.0
Install the below dependencies, to use Gemini LLM.
pip install google-generativeai==0.4.1
pip install langchain-google-genai==1.0.1
Install the below dependencies, to use Llama LLM.
pip install llama-cpp-python==0.1.83
Note:
This application works when the above libraries are installed with required versions. Don’t upgrade the libraries unless instructed in the documentation.Parent topic: Application Installation