Skip to content

Instantly share code, notes, and snippets.

View hill's full-sized avatar
🤙
Hello!

Tom Hill hill

🤙
Hello!
View GitHub Profile
@hill
hill / jsonPrompt.ts
Last active May 24, 2023 03:34
jsonPrompt
export const jsonPrompt = <T extends z.ZodTypeAny>({
task,
outputSchema,
params = {
maxTokens: 100,
model: 'gpt-3.5-turbo',
temperature: 0,
},
}: {
task: string;

Little Harmonic Labyrinth

The Tortoise and Achilles are spending a day at Coney Island After buying a couple of cotton candies, they decide to take a ride on the Ferris wheel.

Tortoise: This is my favorite ride. One seems to move so far, and reality one gets nowhere.

Achilles: I can see why it would appeal to you. Are you all strapped in? Tortoise: Yes, I think I've got this buckle done. Well, here we go.

Keybase proof

I hereby claim:

  • I am hill on github.
  • I am tomhill (https://keybase.io/tomhill) on keybase.
  • I have a public key whose fingerprint is 1DE8 51CB EC0F BE1F 20BD FC2E B7C0 EAFF 12C1 9264

To claim this, I am signing this object: