File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ curl https://get.gptscript.ai/install.sh | sh
49
49
50
50
#### Manually
51
51
52
- Download and install the archive for your platform and architecture from the [ release page] ( https://github.com/gptscript-ai/gptscript/releases ) .
52
+ Download and install the archive for your platform and architecture from the [ releases page] ( https://github.com/gptscript-ai/gptscript/releases ) .
53
53
54
54
### 2. Get an API key from [ OpenAI] ( https://platform.openai.com/api-keys ) .
55
55
@@ -61,7 +61,12 @@ export OPENAI_API_KEY="your-api-key"
61
61
62
62
``` shell
63
63
gptscript https://get.gptscript.ai/echo.gpt --input ' Hello, World!'
64
+
65
+ OUTPUT:
66
+
67
+ Hello, World!
64
68
```
69
+ The model used by default is ` gpt-4-turbo-preview ` and you must have access to that model in your OpenAI account.
65
70
66
71
### 4. Extra Credit: Examples and Run Debugging UI
67
72
Original file line number Diff line number Diff line change
1
+ tools: time
2
+
3
+ Ask time to get you the time in different timezones.
4
+
5
+ ---
6
+ name: time
7
+ description: Can tell current time in any timezone,
8
+ args: timezone: The timezone you want time in.
9
+
10
+ #!/bin/bash
11
+ echo "Your current date and time is "
12
+ date
13
+ echo "Time in your requested timezone ${timezone} is "
14
+ TZ=${timezone} date
You can’t perform that action at this time.
0 commit comments