- Python 3.10 and above
- Virtual environment (recommended)
- Libraries:
openai
,langchain
,streamlit
, and "unstructured[all-docs]"
-
Clone the repository:
git clone https://github.com/xinghao2003/DevHack-BitVerse
-
Navigate to the project directory:
cd DevHack-BitVerse
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\Activate.ps1
-
On macOS/Linux:
source venv/bin/activate
-
-
Install required libraries:
pip install openai langchain streamlit "unstructured[all-docs]"
-
Setup OpenAI API key:
-
Edit a file named
config.py
in the project directory. -
Inside
config.py
, set up your OpenAI API key:client = OpenAI( organization='your-organization-id', api_key='your-api-key' )
Replace
'your-organization-id'
and'your-api-key'
with your actual OpenAI API key. -
-
Run the application:
streamlit run app.py
This will launch the application, and you can access it through your web browser at the specified address.
This project is licensed under the MIT License.