Kaynağa Gözat

Update xunfei_spark_bot.py

更新讯飞大语言模型到3.5版本
master
stx116 GitHub 1 yıl önce
ebeveyn
işleme
916762cc8c
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: B5690EEEBB952194
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      bot/xunfei/xunfei_spark_bot.py

+ 2
- 2
bot/xunfei/xunfei_spark_bot.py Dosyayı Görüntüle

@@ -46,8 +46,8 @@ class XunFeiBot(Bot):
self.domain = "generalv3"
# 默认使用v2.0版本: "ws://spark-api.xf-yun.com/v2.1/chat"
# v1.5版本为: "ws://spark-api.xf-yun.com/v1.1/chat"
# v3.0版本为: "ws://spark-api.xf-yun.com/v3.1/chat"
self.spark_url = "ws://spark-api.xf-yun.com/v3.1/chat"
# v3.5版本为: "ws://spark-api.xf-yun.com/v3.5/chat"
self.spark_url = "ws://spark-api.xf-yun.com/v3.5/chat"
self.host = urlparse(self.spark_url).netloc
self.path = urlparse(self.spark_url).path
# 和wenxin使用相同的session机制


Yükleniyor…
İptal
Kaydet