Skip to content

Commit ceb28bd

Browse files
authored
Update src/content/docs/workers-ai/configuration/bindings.mdx
1 parent b2fc8e2 commit ceb28bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/workers-ai/configuration/bindings.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ const answer = await env.AI.run('@cf/meta/llama-3.1-8b-instruct', {
7878
* `presence_penalty` <Type text="number" /> <MetaInfo text="optional" />
7979
* Increases the likelihood of the model introducing new topics (maximum: 2, minimum: 0).
8080
* `messages` <Type text="{
81-
role: "user" | "assistant" | "system" | "tool" | (string & NonNullable<unknown>);
81+
role: \"user\" | \"assistant\" | \"system\" | \"tool\" | (string & NonNullable<unknown>);
8282
content: string;
8383
name?: string;
8484
}[]" /> <MetaInfo text="optional" />
8585
* An array of message objects representing the conversation history.
8686
* `tools` <Type text="{
87-
type: "function" | (string & NonNullable<unknown>);
87+
type: \"function\" | (string & NonNullable<unknown>);
8888
function: {
8989
name: string;
9090
description: string;
9191
parameters?: {
92-
type: "object" | (string & NonNullable<unknown>);
92+
type: \"object\" | (string & NonNullable<unknown>);
9393
properties: {
9494
[key: string]: {
9595
type: string;

0 commit comments

Comments
 (0)