j0rd1smit / obsidian-copilot-auto-completion

MIT License
117 stars 12 forks source link

a problem in language recognition #18

Closed happyZYM closed 8 months ago

happyZYM commented 9 months ago

Some times language recognition doesn't work well(I tried it in Chinese), and I modified the prompt in the System Message to Your answer must be in the same language as the text directly surrounding the <mask/> . and it seems better

j0rd1smit commented 9 months ago

Does that work consistently? If you I might update the default system prompt for everybody. (I typically write in English, so I don't have much experience with it myself).

happyZYM commented 9 months ago

Does that work consistently? If you I might update the default system prompt for everybody. (I typically write in English, so I don't have much experience with it myself).

I tried for 10~15 times, despite the effects not being absolute, there is a clear impact.