# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 1
# self = https://watcher.sour.is/conv/d7ayhxa
調用通義千問大模型 Function Calling 實現實時天氣查詢**
OpenAI 在它的多個版本的模型裏提供了一個非常有用的功能叫 Function Calling,就是你傳遞一些方法的信息給到大模型,大模型根據用戶的提問選擇合適的方法 Function,然後輸出給你,你再來決定是否執行。之所以需要 Function Calling,通俗來講就是大模型不具備實時性。因爲模型是基於之前的數據訓練出來的。而 Function Calling 具備實時性的優勢,比如 ⌘ Read more