Skip to content

Commit 7b78257

Browse files
authored
Update index.mdx (#7661)
1 parent 414fcac commit 7b78257

File tree

1 file changed

+2
-2
lines changed
  • src/pages/[platform]/build-a-backend/data/custom-business-logic/connect-bedrock

1 file changed

+2
-2
lines changed

src/pages/[platform]/build-a-backend/data/custom-business-logic/connect-bedrock/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ import {
154154
export const MODEL_ID = "anthropic.claude-3-haiku-20240307-v1:0";
155155

156156
export const generateHaikuFunction = defineFunction({
157-
entry: "./generate-haiku.ts",
157+
entry: "./generateHaiku.ts",
158158
environment: {
159159
MODEL_ID,
160160
},
161161
});
162162

163163
const schema = a.schema({
164-
generate: a
164+
generateHaiku: a
165165
.query()
166166
.arguments({ prompt: a.string().required() })
167167
.returns(a.string())

0 commit comments

Comments
 (0)