Skip to content

Commit 19cfc27

Browse files
committed
updates
1 parent 0b61428 commit 19cfc27

File tree

7 files changed

+120
-273
lines changed

7 files changed

+120
-273
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
ab_challenge/
3+
tmp/

GPT.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function get_token() {
2727

2828
export async function ask({system, prompt, model, temperature}) {
2929
const stream = await openai.chat.completions.create({
30-
model: model || "gpt-4-0125-preview",
30+
model: model || "gpt-4-turbo-2024-04-09",
3131
messages: [
3232
{role: "system", content: system || "You're a helpful assistant." },
3333
{role: "user", content: prompt || "What time is it?" }

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,20 @@ Taelin AI Scripts
22
=================
33

44
Some AI scripts I use daily.
5+
6+
- `holefill`: I use it on VIM to fill code snippets
7+
8+
- `aiemu`: moved to [here](https://github.com/victorTaelin/aiemu)
9+
10+
- `chatsh [model]`: like ChatGPT but in the terminal
11+
12+
Models:
13+
14+
gf: 'gpt-4-turbo-2024-04-09'
15+
gm: 'gpt-4-turbo-2024-04-09'
16+
gs: 'gpt-4-32k-0314'
17+
cs: 'claude-3-opus-20240229'
18+
cm: 'claude-3-sonnet-20240229'
19+
cf: 'claude-3-haiku-20240307'
20+
21+
TODO: remove `Claude.mjs`/`GPT.mjs` and just use `Ask.mjs` in all files

aimulator.mjs

Lines changed: 0 additions & 270 deletions
This file was deleted.

0 commit comments

Comments
 (0)