Skip to content

Commit 0ea7ed3

Browse files
authored
docs: update references to renamed tools (#274)
Signed-off-by: Grant Linville <[email protected]>
1 parent 463fe29 commit 0ea7ed3

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/docs/03-tools/01-using.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ You can also refer to OpenAPI definition files as though they were GPTScript too
5757
GPTScript tools can be packaged and shared on GitHub, and referred to by their GitHub URL. For example:
5858

5959
```yaml
60-
tools: github.com/gptscript-ai/image-generation, github.com/gptscript-ai/vision, sys.read
60+
tools: github.com/gptscript-ai/dalle-image-generation, github.com/gptscript-ai/gpt4-v-vision, sys.read
6161

6262
Generate an image of a city skyline at night and write the resulting image to a file called city_skyline.png.
6363

docs/docs/03-tools/02-authoring.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Get the contents of https://github.com
6262
GPTScript is designed to easily export and import tools. Doing this is currently based entirely around the use of GitHub repositories. You can export a tool by creating a GitHub repository and ensureing you have the `tool.gpt` file in the root of the repository. You can then import the tool into a GPTScript by specifying the URL of the repository in the `tools` section of the script. For example, we can leverage the `image-generation` tool by adding the following line to a GPTScript:
6363

6464
```yaml
65-
tools: github.com/gptscript-ai/image-generation
65+
tools: github.com/gptscript-ai/dalle-image-generation
6666

6767
Generate an image of a city skyline at night.
6868
```
@@ -71,11 +71,11 @@ Generate an image of a city skyline at night.
7171

7272
GPTScript can execute any binary that you ask it to. However, it can also manage the installation of a language runtime and dependencies for you. Currently this is only supported for a few languages. Here are the supported languages and examples of tools written in those languages:
7373

74-
| Language | Example |
75-
|----------|---------|
76-
| `Python` | [Image Generation](https://github.com/gptscript-ai/image-generation) - Generate images based on a prompt |
77-
| `Node.js` | [Vision](https://github.com/gptscript-ai/vision) - Analyze and interpret images |
78-
| `Golang` | [Search](https://github.com/gptscript-ai/search) - Use various providers to search the internet |
74+
| Language | Example |
75+
|----------|----------------------------------------------------------------------------------------------------------------|
76+
| `Python` | [Image Generation](https://github.com/gptscript-ai/dalle-image-generation) - Generate images based on a prompt |
77+
| `Node.js` | [Vision](https://github.com/gptscript-ai/gpt4-v-vision) - Analyze and interpret images |
78+
| `Golang` | [Search](https://github.com/gptscript-ai/search) - Use various providers to search the internet |
7979

8080

8181
### Automatic Documentation

examples/recipegenerator/recipegenerator.gpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tools: sys.find, sys.read, sys.write, recipegenerator, github.com/gptscript-ai/vision
1+
tools: sys.find, sys.read, sys.write, recipegenerator, github.com/gptscript-ai/gpt4-v-vision
22

33
Perform the following steps in order:
44

pkg/repos/get_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestManager_GetContext(t *testing.T) {
2626
Source: types.ToolSource{
2727
Repo: &types.Repo{
2828
VCS: "git",
29-
Root: "https://github.com/gptscript-ai/image-generation.git",
29+
Root: "https://github.com/gptscript-ai/dalle-image-generation.git",
3030
Revision: "b9d9ed60c25da7c0e01d504a7219d1c6e460fe80",
3131
},
3232
},

pkg/repos/git/git_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var (
1818

1919
func TestFetch(t *testing.T) {
2020
err := Fetch(context.Background(), testCacheHome,
21-
"https://github.com/gptscript-ai/image-generation.git",
21+
"https://github.com/gptscript-ai/dalle-image-generation.git",
2222
testCommit)
2323
require.NoError(t, err)
2424
}
@@ -28,7 +28,7 @@ func TestCheckout(t *testing.T) {
2828
err := os.RemoveAll(commitDir)
2929
require.NoError(t, err)
3030
err = Checkout(context.Background(), testCacheHome,
31-
"https://github.com/gptscript-ai/image-generation.git",
31+
"https://github.com/gptscript-ai/dalle-image-generation.git",
3232
testCommit, commitDir)
3333
require.NoError(t, err)
3434
}

0 commit comments

Comments
 (0)