Skip to content

Commit 7ff8e94

Browse files
michaelwassermanMike Wasserman
andauthored
Add tool-response input type in Explainer example (#195)
Co-authored-by: Mike Wasserman <msw@chromium.org>
1 parent b982338 commit 7ff8e94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ const session = await LanguageModel.create({
179179
content: `You are a helpful assistant. You can use tools to help the user.`,
180180
},
181181
],
182-
expectedInputs: [{ type: "text", languages: ["en"] }],
183-
expectedOutputs: [{ type: "tool-call" }, { type: "text", languages: ["en"] }],
182+
expectedInputs: [{ type: "text", languages: ["en"] }, { type: "tool-response" }],
183+
expectedOutputs: [{ type: "text", languages: ["en"] }, { type: "tool-call" }],
184184
tools: [
185185
{
186186
name: "getWeather",

0 commit comments

Comments
 (0)