A newer version of the Gradio SDK is available:
5.9.1
Setting Up the Environment
conda create -n automated_interview_filtering python=3.10.14
pip install -r requirements.txt
brew install ffmpeg
Creating a .env file
Create a .env
file at the same directory level as this ENV_SETUP.md
file, following the required field as listed in .env.example
. You may visit the following to create free trial accounts and obtain your API keys:
- Llamaparse: https://cloud.llamaindex.ai/login
- OpenAI: https://platform.openai.com/playground
- Nvidia NIMs: https://build.nvidia.com/nvidia
Running the Sample Code
conda activate automated_interview_filtering
python -m src.main_test
You can choose to either use NVIDIA-NIMs or OpenAI as the LLM Provider. This can be changed by selecting the YAML config files in src/main_test.py
NOTE
src/main_test.py
is a sample usage of the backend code. Please refer to src/sample_inputs.py
for example of what the required input fields are.