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:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"contents": [
|
||||
{"role": "user", "parts": [{"text": "What's the weather in Paris and Tokyo?"}]},
|
||||
{
|
||||
"role": "model",
|
||||
"parts": [
|
||||
{"functionCall": {"name": "get_weather", "args": {"location": "Paris"}}},
|
||||
{"functionCall": {"name": "get_weather", "args": {"location": "Tokyo"}}}
|
||||
]
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"parts": [
|
||||
{"functionResponse": {"name": "get_weather", "response": {"content": "{\"temp_c\":18}"}}},
|
||||
{"functionResponse": {"name": "get_weather", "response": {"content": "{\"temp_c\":27}"}}}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user