googleapis / googleapis/nodejs-agentplatform

Are `example` and `format` fields taken into account by Gemini?

Open
#485 3 comments 0 reactions 0 assignees View on GitHub
api: aiplatform priority: p3 type: question
Dominant language
TypeScript
Stars
182
Forks
69
Avg merge
1d 8h
Merged PRs (30d)
10

Description

If we have code like:
```ts
const functionDeclarations = [
{
functionDeclarations: [
{
name: "get_current_weather",
description: 'get weather in a given location',
parameters: {
type: FunctionDeclarationSchemaType.OBJECT,
properties: {
location: {type: FunctionDeclarationSchemaType.STRING},
description: "foobar"
// ! these two
example: "celsius"
format: " "
},
required: ['location'],
},
},
],
},
];
```

Are `example` and `format` fields sent to LLM? Does it influence the Gemini answer?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.