diff --git a/docs/docs/100-tools/03-offerings/02-image-generation.md b/docs/docs/100-tools/03-offerings/02-image-generation.md index d0e80db1..b47d3c8f 100644 --- a/docs/docs/100-tools/03-offerings/02-image-generation.md +++ b/docs/docs/100-tools/03-offerings/02-image-generation.md @@ -23,7 +23,7 @@ source .venv/bin/activate > Note: You can install the python dependencies manually by running `pip install -r requirements.txt` in the root of the cloned repository. This prevents the need to run `make bootstrap` or activate the virtual environment. -3. In the same shell session that your virutal environment is activated, reference `/tool.gpt` in your GPTScript. +3. In the same shell session that your virtual environment is activated, reference `/tool.gpt` in your GPTScript. ## Usage To use the Image Generation tool, you need to make sure that the OPENAI_API_KEY environment variable is set to your OpenAI API key. You can obtain an API key from the OpenAI platform if you don't already have one. diff --git a/docs/docs/101-cookbook/image-generator.md b/docs/docs/101-cookbook/image-generator.md index 10c96ee8..9d5b861e 100644 --- a/docs/docs/101-cookbook/image-generator.md +++ b/docs/docs/101-cookbook/image-generator.md @@ -35,11 +35,11 @@ in a specific style that we tell the tool to use. This will generate an image of a city skyline at night in the style of a 17th century impressionist oil painting and write the resulting image to a file named `painting.png`. ## Recap -In this example, we have created a GPTScript that leverages the `image-generation` tool to generate an image based on a prompt. We gave it some flexibility by specifiying an argument `prompt` that the user can provide when running the script. We also specified gave the script a specific style of the image that we want to generate, that being a 17th century impressionist oil painter. +In this example, we have created a GPTScript that leverages the `image-generation` tool to generate an image based on a prompt. We gave it some flexibility by specifying an argument `prompt` that the user can provide when running the script. We also specified gave the script a specific style of the image that we want to generate, that being a 17th century impressionist oil painter. Notable things to point out: #### Tools -The `tools` directive was used here to reference the `image-generation` tool and the `sys.download` and `sys.write` system tools. GPTScript will know the tools availble to it and will use them when it sees fit in the script. +The `tools` directive was used here to reference the `image-generation` tool and the `sys.download` and `sys.write` system tools. GPTScript will know the tools available to it and will use them when it sees fit in the script. #### Args We used the `args` directive to specify the `prompt` argument that the user can provide when running the script. This is a required argument and the user must provide it when running the script. diff --git a/docs/docs/101-cookbook/vision.md b/docs/docs/101-cookbook/vision.md index 9d24a9ee..934b76af 100644 --- a/docs/docs/101-cookbook/vision.md +++ b/docs/docs/101-cookbook/vision.md @@ -37,7 +37,7 @@ Notable things to point out: #### Tools -The `tools` directive was used here to reference the `vision` and the `sys.write` tools. GPTScript will know the tools availble to it and will use them when it sees fit in the script. +The `tools` directive was used here to reference the `vision` and the `sys.write` tools. GPTScript will know the tools available to it and will use them when it sees fit in the script. #### Args diff --git a/examples/travel-agent.gpt b/examples/travel-agent.gpt index 8c1737c3..5c7263bd 100644 --- a/examples/travel-agent.gpt +++ b/examples/travel-agent.gpt @@ -19,8 +19,8 @@ Based on the input, do the following in order: 2. Based on the results build an initial outline of locations to include. 3. For each location you determine, search for essential things to do in that location (maximum of one search per location). Include at least 5 activities per day and 20 per location. -4. With all of the activities and locations, build out an itenerary that outlines each day and each hour in that day for the trip. -5. Reevaluate the plan and move dates around such that it is optimized for effecient travel +4. With all of the activities and locations, build out an itinerary that outlines each day and each hour in that day for the trip. +5. Reevaluate the plan and move dates around such that it is optimized for efficient travel 6. Look over the entire thing one more time and ask yourself if its missing anything. If it is, make your edits now. 7. Write all of this into a vacation.md document.