-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from redhat-gpte-devopsautomation/main
Push to master repo
- Loading branch information
Showing
81 changed files
with
638 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"asciidoc.antora.enableAntoraSupport": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
== AI with LLMs Demo Setup | ||
|
||
In this module we will show you the *setup* steps, the things you do BEFORE going on stage, and introduce you to a new template that provisions both the SDLC (Software Development Lifecycle) and the MDLC (Model Development Lifecycle). Where the SDLC is implemented as a Tekton-based Trusted Application Pipeline as seen in previous modules and the MDLC is implemented as a Red Hat OpenShift AI (RHOAI) pipeline based on Kubeflow. | ||
|
||
Where RHOAI is responsible for the LLM serving, management, and monitoring. | ||
|
||
Where RHTAP + RHDH is responsible for the application code pipeline and lifecycle. | ||
|
||
A 10-minute video that walks through a AI/ML template for building out a LLM-powered Chatbot https://www.youtube.com/watch?v=4YS0wuUpfAo[chatbot] | ||
|
||
image::chatbot-1.png[Chatbot1, width=640, height=480] | ||
|
||
image::chatbot-2.png[Chatbot2, width=640, height=480] | ||
|
||
A https://www.youtube.com/watch?v=9R1yRNHFpGU[behind the scenes tour] and deeper dive video. | ||
|
||
And a video that describes some of the https://youtu.be/0d2JpeqPg3U[clean up process] | ||
|
||
|
||
=== Setup | ||
|
||
LLMs take a fair bit of time to "spawn" within their pod, use the cooking show technique by running the template once *BEFORE* taking the stage, before sharing your screen. | ||
|
||
image::LLM-templates.png[] | ||
|
||
The primary template to run is called *Secured Chatbot with a Self-Hosted Large Language Model (LLM)*. The best way to learn about this template is to execute it. | ||
|
||
Start a new project, an application that leverages a LLM for Natural Language Processing (NLP). The creation of a net new LLM-infused microservice is as simple as clicking *Choose* on the *Secured Chatbot with a Self-Hosted Large Language Model (LLM)* template. | ||
|
||
Fill-in some fields and follow the wizard: | ||
|
||
Name: *marketingbot* | ||
|
||
Group Id: *redhat.janus* | ||
|
||
Artifact Id: *marketingbot* | ||
|
||
Java Package Name: *org.redhat.janus* | ||
|
||
Description: *A LLM infused marketingbot app* | ||
|
||
image::chatbot-3.png[] | ||
|
||
Click *Next* | ||
|
||
Model Name: *parasol-instruct* | ||
|
||
image::chatbot-4.png[] | ||
|
||
Note: Expanding the list of model names in the screenshot will be covered later, for now, just pick the one you have access to which is *parasol-instruct* out-of-the-box. | ||
|
||
Click *Next* | ||
|
||
For Image Registry, keep all the defaults | ||
|
||
image::chatbot-5.png[] | ||
|
||
Click *Next* | ||
|
||
For Repository Location, keep all the defaults | ||
|
||
image::chatbot-6.png[] | ||
|
||
Click *Review* | ||
|
||
image::chatbot-7.png[] | ||
|
||
Click *Create* | ||
|
||
The animation takes few seconds however this hides the heavy lifting happening under the covers. | ||
|
||
image::chatbot-8.png[] | ||
|
||
Click on *Open Component in catalog* | ||
|
||
image::chatbot-9.png[] | ||
|
||
Click on *CD* tab | ||
|
||
image::chatbot-10.png[] | ||
|
||
Look for *Healthy* under the *-ai-build* application | ||
|
||
Click on the *Overview tab* and then *RHOAI Data Science Project* | ||
|
||
image::chatbot-11.png[] | ||
|
||
Login in via *rhsso* and the provided password | ||
|
||
Look at the *Deployed Models* section, it is very likely that you do not yet have a green check mark indicating that the model server is in fact up. It can take several minutes for the model server to be ready. | ||
|
||
image::chatbot-12.png[] | ||
|
||
The green check mark is important. Again, use the cooking show technique and "pull the baked cake out of the oven". | ||
|
||
image::chatbot-13.png[] | ||
|
||
Now, you are ready to begin the basic demo flow. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.