[Highly recommended] create a new conda environment Conda
If you are using conda, you can follow this step
conda create --name llama python=3.10
And activate the environmetn
conda activate llama
This readme provides instructions on how to use the Streamlit application titled new_llama.py. Additionally, it guides you on how to customize Pinecone API credentials by modifying the secrets.toml file within the .streamlit folder. For a visual demonstration of the application, refer to the included video located at video/demo.mkv.
To run the Streamlit application, follow these steps:
-
Open a terminal window.
-
Navigate to the directory containing the
new_llama.pyfile. -
Run the following command to start the Streamlit application:
streamlit run new_llama.py
-
Once the application is launched, open a web browser and go to the provided URL (usually
http://localhost:8501). -
Explore the features and functionalities of the Streamlit application through the user interface.
If you wish to use your own Pinecone account and replicate API credentials, follow these steps:
-
Locate the
.streamlitfolder within the project directory. -
Open the
secrets.tomlfile within the.streamlitfolder using a text editor of your choice. -
Update the Pinecone API credentials with your own credentials. This typically includes details such as API key, secret key, and other relevant information.
-
Save the changes to the
secrets.tomlfile.
For a visual walkthrough of the Streamlit application, watch the included demo video. The video provides a comprehensive overview of the application's features and functionalities.
