-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Docs for prompt engineering UI #9568
Conversation
50537b2
to
308c827
Compare
Signed-off-by: Corey Zumar <corey.zumar@mgcw6f7y3m.corp.databricks.com>
@dbczumar Thank you for the contribution! Could you fix the following issue(s)? ⚠ DCO checkThe DCO check failed. Please sign off your commit(s) by following the instructions here. See https://github.com/mlflow/mlflow/blob/master/CONTRIBUTING.md#sign-your-work for more details. |
Documentation preview for de37ed8 will be available here when this CircleCI job completes successfully. More info
|
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.
LGTM!
@mlflow-automation autoformat |
.. |new_run| image:: ../_static/images/new_run.png | ||
:width: 25% | ||
|
||
.. |prompt_modal_1| image:: ../_static/images/prompt_modal_1.png | ||
:width: 70% |
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.
Yes, let me know if you have suggestions for improvements
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.
GIF? To me this looks like one screenshot.
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.
.. |add_row| image:: ../_static/images/add_row.png | ||
:width: 10% | ||
|
||
.. |add_row_modal| image:: ../_static/images/add_row_modal.png | ||
:width: 50% |
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.
Yes, let me know if you have suggestions for improvements
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.
LGTM overall, couple small things
Step 1: Create an AI Gateway Completions Route | ||
---------------------------------------------- | ||
To use the prompt engineering UI, you need to create one or more :ref:`AI Gateway <gateway>` | ||
completions :ref:`Routes <routes>`. Follow the |
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.
we support chat routes now too
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.
Great catch - fixed!
and *max_tokens* (currently empty). The LLM response will appear in the *Output* section. | ||
|
||
.. figure:: ../_static/images/prompt_modal_2.png | ||
:scale: 25% | ||
:align: center |
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.
this image has max_tokens of 1000. can we update the text?
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.
Great catch - fixed!
Signed-off-by: Corey Zumar <corey.zumar@mgcw6f7y3m.corp.databricks.com>
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.
@prithvikannan @harupy thanks for the excellent feedback. Addressed your comments! :)
Step 1: Create an AI Gateway Completions Route | ||
---------------------------------------------- | ||
To use the prompt engineering UI, you need to create one or more :ref:`AI Gateway <gateway>` | ||
completions :ref:`Routes <routes>`. Follow the |
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.
Great catch - fixed!
.. |new_run| image:: ../_static/images/new_run.png | ||
:width: 25% | ||
|
||
.. |prompt_modal_1| image:: ../_static/images/prompt_modal_1.png | ||
:width: 70% |
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.
Yes, let me know if you have suggestions for improvements
and *max_tokens* (currently empty). The LLM response will appear in the *Output* section. | ||
|
||
.. figure:: ../_static/images/prompt_modal_2.png | ||
:scale: 25% | ||
:align: center |
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.
Great catch - fixed!
.. |add_row| image:: ../_static/images/add_row.png | ||
:width: 10% | ||
|
||
.. |add_row_modal| image:: ../_static/images/add_row_modal.png | ||
:width: 50% |
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.
Yes, let me know if you have suggestions for improvements
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.
Left a few more comments, otherwise LGTM!
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com> Signed-off-by: Corey Zumar <39497902+dbczumar@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com> Signed-off-by: Corey Zumar <39497902+dbczumar@users.noreply.github.com>
What changes are proposed in this pull request?
Docs for prompt engineering UI
How is this patch tested?
Does this PR require documentation update?
Release Notes
Is this a user-facing change?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What component(s), interfaces, languages, and integrations does this PR affect?
Components
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/gateway
: AI Gateway service, Gateway client APIs, third-party Gateway integrationsarea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingInterface
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportLanguage
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesIntegrations
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrationsHow should the PR be classified in the release notes? Choose one:
rn/breaking-change
- The PR will be mentioned in the "Breaking Changes" sectionrn/none
- No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" sectionrn/feature
- A new user-facing feature worth mentioning in the release notesrn/bug-fix
- A user-facing bug fix worth mentioning in the release notesrn/documentation
- A user-facing documentation change worth mentioning in the release notes