DocETL can be easily installed using pip, Python's package installer, or from source. Follow these steps to get DocETL up and running on your system:
Before installing DocETL, ensure you have Python 3.10 or later installed on your system. You can check your Python version by running:
If you want to use the parsing tools, you need to install the parsing extra:
This command will install DocETL along with its dependencies as specified in the pyproject.toml file. To verify that DocETL has been installed correctly, you can run the following command in your terminal:
To install DocETL from source, follow these steps:
If you want to use only the parsing extra:
Create a .env file in the project root and add your OpenAI API key:
Alternatively, you can set the OPENAI_API_KEY environment variable in your shell.
If you encounter any issues during installation, please ensure that:
For further assistance, please refer to the project's GitHub repository or reach out on the Discord server.