This repository contains the development of an internal configurator to map services, intercept business opportunities, and boost cross-selling. Designed for sales and employee training, it’s interactive, predictive, and enhances decision-making before client meetings.
In this guide, I'll show you how to create a virtual environment in Python and install dependencies from a file called requirements.txt.
First of all, it is a good practice to create a virtual environment to isolate the project and manage dependencies independently from other projects. Here's how to do it:
- Open terminal or shell.
- Go to your project directory:
cd /path/of/your/project - Create a virtual environment using the following command:
python -m venv env
This will create a folder called env inside the project directory.
To activate the virtual environment, use the following commands based on your operating system:
- on macOS/Linux
source env/bin/activate- on Windows
.\env\Scripts\activateAfter activating the virtual environment, you will see the prefix (env) at the beginning of the line in the terminal.
Run the following command:
pip install -r requirements.txtThis will install all dependencies specified in the requirements.txt file into your virtual environment.
This repository contains an example on how to use GroqCloud to run the Llama model using the Groq SDK with Python.
To get started using GroqCloud, follow these steps:
- Go to the official website of GroqCloud and create an account.
- Once registered, log in and get your API keys needed to connect to GroqCloud from your Python environment.
To connect to GroqCloud, you will need to install the Python client provided by Groq. You can do this using pip :
pip install groqOnce you have the API key from your GroqCloud account, you will need to set up your environment for access:
export GROQ_API_KEY="your_api_key"At this point you can use front_test to carry out your tests and understand how the LLM works
This repository contains an example of how to use Streamlit to create a simple web application in Python.
To install Streamlit, you can use pip. Run the following command:
pip install streamlitTo launch the app, run the following command from your shell or terminal:
streamlit run app.pyThis will open the web application in your default browser.