googleapis / googleapis/nodejs-agentplatform
Are `example` and `format` fields taken into account by Gemini?
- 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
Assessment
This issue has not been assessed yet.