We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414fcac commit 7b78257Copy full SHA for 7b78257
src/pages/[platform]/build-a-backend/data/custom-business-logic/connect-bedrock/index.mdx
@@ -154,14 +154,14 @@ import {
154
export const MODEL_ID = "anthropic.claude-3-haiku-20240307-v1:0";
155
156
export const generateHaikuFunction = defineFunction({
157
- entry: "./generate-haiku.ts",
+ entry: "./generateHaiku.ts",
158
environment: {
159
MODEL_ID,
160
},
161
});
162
163
const schema = a.schema({
164
- generate: a
+ generateHaiku: a
165
.query()
166
.arguments({ prompt: a.string().required() })
167
.returns(a.string())
0 commit comments