Skip to content

Commit 6518854

Browse files
Merge pull request #139 from studystill/main
fix some typos
2 parents 1cf101a + e28d9b6 commit 6518854

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/docs/100-tools/03-offerings/02-image-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ source .venv/bin/activate
2323

2424
> 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.
2525
26-
3. In the same shell session that your virutal environment is activated, reference `<path-to-the-repo>/tool.gpt` in your GPTScript.
26+
3. In the same shell session that your virtual environment is activated, reference `<path-to-the-repo>/tool.gpt` in your GPTScript.
2727

2828
## Usage
2929
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.

docs/docs/101-cookbook/image-generator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ in a specific style that we tell the tool to use.
3535
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`.
3636

3737
## Recap
38-
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.
38+
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.
3939

4040
Notable things to point out:
4141
#### Tools
42-
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.
42+
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.
4343

4444
#### Args
4545
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.

docs/docs/101-cookbook/vision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Notable things to point out:
3737
3838
#### Tools
3939
40-
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.
40+
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.
4141
4242
#### Args
4343

examples/travel-agent.gpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Based on the input, do the following in order:
1919
2. Based on the results build an initial outline of locations to include.
2020
3. For each location you determine, search for essential things to do in that location (maximum of one search per location). Include at
2121
least 5 activities per day and 20 per location.
22-
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.
23-
5. Reevaluate the plan and move dates around such that it is optimized for effecient travel
22+
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.
23+
5. Reevaluate the plan and move dates around such that it is optimized for efficient travel
2424
6. Look over the entire thing one more time and ask yourself if its missing anything. If it is, make your edits now.
2525
7. Write all of this into a vacation.md document.
2626

0 commit comments

Comments
 (0)