File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/content/docs/workers-ai/configuration Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments