Skip to content

Commit

Permalink
Update index.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
kokokosal authored May 25, 2024
1 parent 558ead9 commit 559ff74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ import {
export const MODEL_ID = "anthropic.claude-3-haiku-20240307-v1:0";

export const generateHaikuFunction = defineFunction({
entry: "./generate-haiku.ts",
entry: "./generateHaiku.ts",
environment: {
MODEL_ID,
},
});

const schema = a.schema({
generate: a
generateHaiku: a
.query()
.arguments({ prompt: a.string().required() })
.returns(a.string())
Expand Down

0 comments on commit 559ff74

Please sign in to comment.