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

feat: webui use querystring as settings #814

Merged
merged 1 commit into from
Aug 31, 2024
Merged

feat: webui use querystring as settings #814

merged 1 commit into from
Aug 31, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Aug 31, 2024

After this PR merged, User can use querystring to set parameters

LLM Playground

http://192.168.8.10:8000/playground?model=openai%3Agpt-4o-mini&role=%25code%25&temperature=0&top_p=0

URLSearchParams {
    'model' => 'openai:gpt-4o-mini',
    'role' => '%code%',
    'temperature' => '0',
    'top_p' => '0' },

image

LLM Arena

http://192.168.8.10:8000/arena?models=openai%3Agpt-4o-mini%2Copenai%3Agpt-4o

URLSearchParams { 'models' => 'openai:gpt-4o-mini,openai:gpt-4o' },

image

@sigoden
Copy link
Owner Author

sigoden commented Aug 31, 2024

Partial solve #808: set role within the URL

@sigoden sigoden merged commit ed242c6 into main Aug 31, 2024
3 checks passed
@sigoden sigoden deleted the feat branch August 31, 2024 09:53
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

Successfully merging this pull request may close these issues.

1 participant