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

[feature request] add prompt styles support #9

Open
jiacheo opened this issue Aug 3, 2023 · 4 comments
Open

[feature request] add prompt styles support #9

jiacheo opened this issue Aug 3, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@jiacheo
Copy link

jiacheo commented Aug 3, 2023

There are many different styles of prompts for different LLMs, such like openai/llama2 style (especially support SYSTEM role prompt), pure text style, ziya, etc.
From the api_server.py 's parameter, we can see it just support the pure text style.
Maybe it will be a good feature to support these styles.

@shihaobai
Copy link
Collaborator

Thank you very much for your suggestion. We will support this feature very soon.

@llehtahw llehtahw added the enhancement New feature or request label Aug 9, 2023
@XHPlus
Copy link
Contributor

XHPlus commented Aug 9, 2023

Also welcome a contribution from the community, thanks!

@Valdanitooooo
Copy link

Is it possible to integrate in fastchat like vllm?
https://github.com/lm-sys/FastChat/blob/main/docs/vllm_integration.md

@WANDY666
Copy link
Contributor

Hi, we have now added the /v1/chat/completions api, the usage is the same as that of openai.
We use fastchat to target different model types for different styles of prompt stitching.
Maybe you can give it a try.

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

No branches or pull requests

6 participants