Comments (6)
I'm sorry for only understanding what you've meant till now. I think you are right, and perhaps we should add a toggle option for this feature.
from chatbox.
That's pretty much how it works. The system message always comes first in the context.
from chatbox.
@Bin-Huang This is clearly not the case in version 1.2.6.
from chatbox.
@Bin-Huang Same in the version 1.3.0.
from chatbox.
This confuses me. Isn't the example you provided proving that everything is normal? The first entry in the content field is a system prompt, and it remains the first entry as the context grows.
from chatbox.
@Bin-Huang That's right. But entries that are closer to the end have a higher priority, so it should be something like this:
- User message 1
- Assistant message 1
- User message 2
- Assistant message 2
- System message
- User message 3
In this case, the latest user message has the highest priority. After that, the system message has the second-highest priority, and then comes the rest of the context.
On the contrary, the instruction that remains at the beginning slowly loses its power as the context grows. And it doesn't take that long. After 3-4 messages, the system prompt wouldn't be followed as closely as when it started.
from chatbox.
Related Issues (20)
- [BUG] Unable to call alibaba Qwen models with Open AI provider HOT 1
- [Other] 希望安卓端能增加一个拍照的功能
- [Feature] 支持渲染 html 语法
- 搜狗输入法快捷键 BUG HOT 1
- [BUG]安卓客户端使用第三方OpenAI API出现网络错误 HOT 1
- [BUG] Custom model name is not displayed properly.
- 更新问题 HOT 1
- [Feature] Add maximum tokens and other settings for openai models.
- [BUG]Gemini API Safe Report.
- 关于快捷键[Other]
- [BUG] Auto-generated titles are too terse and vague HOT 7
- [BUG]
- [Feature] Ollama image support
- [Other] 阿里云通义千问模型,已经开放API了 HOT 1
- [Feature] The ability to change model's avatar in a chats HOT 1
- 小建议
- [BUG] beautiful UI but gemini support lacks...
- [BUG] npm start missing?! HOT 1
- [BUG]当使用`$ $`或`$$ $$`创建latex公式时,以数字开头的公式无法正确渲染
- [Feature]Gemini supports streaming responses.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatbox.