mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-16 05:37:28 +00:00
feat: gemini adapter with bidirectional translation incl streaming and embeddings
This commit is contained in:
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"systemInstruction": {"parts": [{"text": "You are a helpful weather bot."}]},
|
||||
"contents": [
|
||||
{"role": "user", "parts": [{"text": "What's the weather in Paris?"}]}
|
||||
],
|
||||
"tools": [
|
||||
{
|
||||
"functionDeclarations": [
|
||||
{
|
||||
"name": "get_weather",
|
||||
"description": "Get current weather for a location",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {"location": {"type": "string"}},
|
||||
"required": ["location"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"toolConfig": {
|
||||
"functionCallingConfig": {
|
||||
"mode": "ANY",
|
||||
"allowedFunctionNames": ["get_weather"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user