| ```sh | |
| python3.11 -m venv --clear .venv | |
| shell: source .venv/bin/activate | |
| PS: .\.venv\Scripts\Activate.ps1 | |
| python -m pip install pip setuptools wheel --upgrade | |
| pip install ipykernel IProgress ipywidgets --upgrade | |
| pip install \ | |
| gradio \ | |
| langchain langchain-community \ | |
| sentence-transformers \ | |
| langchain_google_genai \ | |
| langchain-pinecone \ | |
| huggingface_hub \ | |
| python-dotenv | |
| pip install langchain_groq # Groq API | |
| pip install langsmith # LangSmith | |
| PS: | |
| pip install gradio langchain langchain-community sentence-transformers langchain_google_genai langchain-pinecone huggingface_hub langchain_groq langsmith python-dotenv | |
| # pinecone-client==2.2.4 \ | |
| ``` | |
| ```sh | |
| huggingface-cli login # Use HUGGINGFACEHUB_API_TOKEN | |
| huggingface-cli whoami | |
| ``` | |
| ```sh | |
| pip3 freeze > requirements.txt | |
| ``` | |