Setup
As with any project, the first step is setting up your environment. Let's get started by ensuring you have a project structure ready to work with.
Important
Since this is an intermediate-level course, please ensure you've gone through the Griptape Setup - Visual Studio Code course to set up your environment. We will be starting from the code at that point.
Create a Project
Following the instructions in Griptape Setup - Visual Studio Code please:
- Create your project folder. Example:
griptape-shotgrid-tool - Set up your virtual environment
- Ensure you
pip install griptape python-dotenv - Create a
.envfile with yourOPENAI_API_KEY - Create your
app.pyfile with the following code:
Next Steps
And there we have it, your environment is all set up! In the next section, we'll get started by using one of Griptape's built-in Tools (DateTimeTool) and understand how it works.