-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ feat: add SenseNova (商汤) model provider #4162
Conversation
@hezhijie0327 is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4162 +/- ##
========================================
Coverage 92.29% 92.29%
========================================
Files 493 496 +3
Lines 35906 36226 +320
Branches 3268 3445 +177
========================================
+ Hits 33140 33436 +296
- Misses 2766 2790 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4162 +/- ##
==========================================
+ Coverage 92.48% 92.49% +0.01%
==========================================
Files 482 484 +2
Lines 34488 34664 +176
Branches 3231 2139 -1092
==========================================
+ Hits 31896 32063 +167
- Misses 2592 2601 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
商汤的话,根据模型和体量,我建议放在零一万物和阶跃星辰中间 |
As for Shangtang, based on the model and volume, I suggest placing it between Zero One Thing and Stepping Stars. |
…top_p` value range
欸 这个等计算 商汤这个非固定 API Key 有点意思 |
Well, wait until the calculation of SenseTime’s non-fixed API Key is a bit interesting |
@LovelyGuYiMeng This model version is a bit ambiguous. Several document information on the official website seems to be out of sync... Since there is an update time in the model square, it has a high degree of acceptance. Currently, this is the main one. https://console.sensecore.cn/help/docs/model-as-a-service/nova/model/llm/GeneralLLM https://platform.sensenova.cn/doc?path=/model/llm/GeneralLLM.md https://console.sensecore.cn/aistudio/plaza?sort=sort_default&page=1&size=24 |
我个人感觉https://platform.sensenova.cn/doc?path=/model/llm/GeneralLLM.md 的正确 |
I personally feel that https://platform.sensenova.cn/doc?path=/model/llm/GeneralLLM.md is correct |
…-es`" This reverts commit 9655c92.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❤️ Great PR @hezhijie0327 ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
## [Version 1.24.0](v1.23.1...v1.24.0) <sup>Released on **2024-10-25**</sup> #### ✨ Features - **misc**: Add SenseNova (商汤) model provider. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add SenseNova (商汤) model provider, closes [#4162](#4162) ([7a4e0b3](7a4e0b3)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.24.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
But I get an error even if I don’t send pictures, just text. |
我试了下,他这模型对话必须得带图片... 这个限制无解
|
I tried it, but his model dialogue must include pictures... There is no solution to this restriction.
|
## [Version 1.67.0](v1.66.1...v1.67.0) <sup>Released on **2024-10-25**</sup> #### ♻ Code Refactoring - **misc**: Refactor the Google Gen AI. #### ✨ Features - **misc**: Add SenseNova (商汤) model provider. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor the Google Gen AI, closes [lobehub#4484](https://github.com/bentwnghk/lobe-chat/issues/4484) ([b890e8d](b890e8d)) #### What's improved * **misc**: Add SenseNova (商汤) model provider, closes [lobehub#4162](https://github.com/bentwnghk/lobe-chat/issues/4162) ([7a4e0b3](7a4e0b3)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
frequency_penalty
及top_p
范围[TODO]https://console.sensecore.cn/help/docs/model-as-a-service/nova/chat/ChatCompletions/ChatCompletion[TODO][TODO][Request] 帮忙增加下 SenseChat (SenseNova / SenseCore) 模型 Icon lobe-icons#43a. 输入
AccessKeyID
及AccessKeySecret
,使用:
进行拼接存入apiKey
b. 计算时以
:
进行拆分,并按照官网文档参数进行 JWT 计算,并返回apiKey
c. APIToken 有效期为当前时间的 -5s 至 +1800s,每次对话前会重新计算
Note:
1. 获取临时 TOKEN:https://console.sensecore.cn/iam/Security/private-security2. 创建有效期 TOKEN: https://console.sensecore.cn/help/docs/model-as-a-service/nova/overview/Authorization3.
SenseChat-Vision
不支持 Base64 URL📝 补充信息 | Additional Information
对话
工具调用
多模态
模型列表