-
-
Notifications
You must be signed in to change notification settings - Fork 108
Add tutorial of LLM integration #1170
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
Conversation
5110d05 to
d70bff9
Compare
|
@y0z Could you review this PR? |
| ========================= | ||
|
|
||
| This tutorial explains how to enable and use the LLM (Large Language Model) integration of Optuna Dashboard. | ||
| With an LLM provider configured, you can interact with the optimization history using natural language—for example, filtering trials or generating Plotly visualizations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be beneficial to expose the API documentation of the LLM Provider to users; this can be addressed in a follow-up task.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds good. I addressed this in 2698001. Could you please take a look?

docs/tutorials/llm-integration.rst
Outdated
| This feature is currently available in the "Smart Selection" and "Trial (List)" tabs. | ||
| For example, in the "Smart Selection" tab, you can use it as follows: | ||
|
|
||
| .. image:: ./images/llm/llm-smart-filtering.gif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image quality seems low. I would like to use a higher resolution so that the text is easy to read. I don't think it would be a big problem if the image size were to increase slightly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your suggestion. Replacing the GIF with an informative image looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your reply. I replaced the image with it and force-pushed to remove the gif file from the git history.
|
Almost LGTM. I leave minor comments. |
d70bff9 to
2698001
Compare
y0z
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your updates!
LGTM.

Contributor License Agreement
This repository (
optuna-dashboard) and Goptuna share common code.This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.
Reference Issues/PRs
None
What does this implement/fix? Explain your changes.
Add tutorial of LLM integration