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

接入openai server评测时,system input 该如何自定义修改? #281

Open
ethanyys opened this issue Jan 14, 2025 · 1 comment
Open

Comments

@ethanyys
Copy link

ethanyys commented Jan 14, 2025

请教一下,在接入openai server评测时,system input 该如何自定义修改呢?

我在 evalscope.models.server_adapter中的make_request_content中 看到支持修改system_input,但在参数配置文档和上层接口中没找到该如何设置

@Yunnglin
Copy link
Collaborator

目前这一字段还未支持自定义,目前可以先修改gen_prompt函数的返回字典,添加上'system_prompt'
例如:

{'data': [query], 'system_prompt': prompt_template}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants