@@ -51,7 +51,7 @@ gptscript https://gptscript.ai/echo.gpt --input "Hello, World!"
51
51
52
52
*** GPTScript is composed of tools.*** Each tool performs a series of actions similar to a function. Tools have available
53
53
to them other tools that can be invoked similar to a function call. While similar to a function, the tools are
54
- implemented with a natural language and not code . *** The interaction of the tools is determined by the AI model*** ,
54
+ primarily implemented with a natural language prompt . *** The interaction of the tools is determined by the AI model*** ,
55
55
the model determines if the tool needs to be invoked and what arguments to pass. Tools are intended to be implemented
56
56
with a natural language prompt but can also be implemented with a command or HTTP call.
57
57
@@ -77,7 +77,7 @@ $ gptscript bob.gpt
77
77
78
78
OUTPUT:
79
79
80
- Bob said, " I'm doing great fellow friendly AI tool!"
80
+ Bob said, " Thanks for asking 'How are you doing?', I'm doing great fellow friendly AI tool!"
81
81
```
82
82
Tools can be implemented by invoking a program instead of a natural language prompt. The below
83
83
example is the same as the previous example but implements Bob using bash.
@@ -97,7 +97,7 @@ Args: question: The question to ask Bob.
97
97
echo "Thanks for asking ${question}, I'm doing great fellow friendly AI tool!"
98
98
```
99
99
100
- With these basic building blocks you can create complex scripts with AI interacting with, your local system, data,
100
+ With these basic building blocks you can create complex scripts with AI interacting with AI , your local system, data,
101
101
or external services.
102
102
103
103
## GPT File Reference
0 commit comments