Skip to content
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

The system_role should be chat_role but not prmpt_template #19

Open
HongjianTang opened this issue Dec 4, 2023 · 0 comments
Open

The system_role should be chat_role but not prmpt_template #19

HongjianTang opened this issue Dec 4, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@HongjianTang
Copy link

auto-classifier/src/main.ts

Lines 111 to 115 in 06c3c05

let user_prompt = this.settings.commandOption.prmpt_template;
user_prompt = user_prompt.replace('{{input}}', input);
user_prompt = user_prompt.replace('{{reference}}', refs.join(','));
const system_role = this.settings.commandOption.prmpt_template;

The user_prompt and system_role both are prmpt_template, it seems not right.

@HyeonseoNam HyeonseoNam pinned this issue Mar 9, 2024
@HyeonseoNam HyeonseoNam unpinned this issue Mar 9, 2024
@HyeonseoNam HyeonseoNam added the good first issue Good for newcomers label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants