Gemini API'de sohbet içi talimatlar sunuluyor

Özgün başlık: Introducing mid-conversation instructions in the Gemini API
İstem önbelleğinizi korurken sistem talimatlarını ve araçlarını konuşmanın ortasında güncelleyin.
Geliştiriciler artık bir konuşmanın ortasında bilgi istemi önbelleğini olduğu gibi korurken sistem talimatlarını veya araçlarını güncelleyebilir.
Bugün, konuşma ortasında sistem talimatları ve araç değişiklikleri, Etkileşimler API'si aracılığıyla Gemini API'sinde önizleme olarak mevcuttur. Bu, temsilcilerin tüm görüşmeyi yeniden okumadan veya maliyetleri artırmadan oturumun ortasında yeni kurallara ve araçlara uyum sağlamasına olanak tanır.
Update system instructions and tools mid-conversation while preserving your prompt cache.
Developers can now update system instructions or tools in the middle of a conversation while keeping the prompt cache intact.
Today, mid-conversation system instruction and tool changes are available in preview in the Gemini API through the Interactions API . This lets agents adapt to new rules and tools mid-session without re-reading the entire conversation or driving up costs.
Actualice las instrucciones y herramientas del sistema en medio de la conversación mientras conserva su caché de avisos.
Los desarrolladores ahora pueden actualizar las instrucciones o herramientas del sistema en medio de una conversación mientras mantienen intacta la caché de mensajes.
Hoy en día, las instrucciones del sistema y los cambios de herramientas en mitad de una conversación están disponibles en vista previa en la API Gemini a través de la API de Interacciones. Esto permite a los agentes adaptarse a nuevas reglas y herramientas a mitad de la sesión sin tener que volver a leer toda la conversación ni aumentar los costos.
Обновляйте системные инструкции и инструменты во время разговора, сохраняя при этом кэш подсказок.
Теперь разработчики могут обновлять системные инструкции или инструменты в середине разговора, сохраняя при этом кэш подсказок.
Сегодня системные инструкции и изменения инструментов в середине разговора доступны в предварительной версии API Gemini через API взаимодействий. Это позволяет агентам адаптироваться к новым правилам и инструментам в середине сеанса, не перечитывая весь разговор и не увеличивая расходы.