From ad3aef713ad6db11a63bcad2917e1040560c05ff Mon Sep 17 00:00:00 2001 From: Trevor Royer Date: Thu, 19 Dec 2024 16:03:50 -0700 Subject: [PATCH] reorder pages --- ...drawio.png => 03-composer-assistants.drawio.png} | Bin ...-Assistant.png => 03-create-basic-assistant.png} | Bin ...ster.png => 04-create-elasticsearch-cluster.png} | Bin ...h-operator.png => 04-elasticsearch-operator.png} | Bin ...ticsearch-yaml.png => 04-elasticsearch-yaml.png} | Bin ...3-show-pipeline-1.png => 04-show-pipeline-1.png} | Bin ...3-show-pipeline-2.png => 04-show-pipeline-2.png} | Bin ...view-experiments.png => 04-view-experiments.png} | Bin content/modules/ROOT/nav.adoc | 8 ++++---- .../pages/{040-assistant.adoc => 03-assistant.adoc} | 4 ++-- ...{03-elasticsearch.adoc => 04-elasticsearch.adoc} | 12 ++++++------ ...041-rag-assistant.adoc => 05-rag-assistant.adoc} | 0 .../modules/ROOT/pages/{05-diy.adoc => 06-diy.adoc} | 0 13 files changed, 12 insertions(+), 12 deletions(-) rename content/modules/ROOT/assets/images/{040-Composer_Assistants.drawio.png => 03-composer-assistants.drawio.png} (100%) rename content/modules/ROOT/assets/images/{040-Create-Basic-Assistant.png => 03-create-basic-assistant.png} (100%) rename content/modules/ROOT/assets/images/{03-create-elasticsearch-cluster.png => 04-create-elasticsearch-cluster.png} (100%) rename content/modules/ROOT/assets/images/{03-elasticsearch-operator.png => 04-elasticsearch-operator.png} (100%) rename content/modules/ROOT/assets/images/{03-elasticsearch-yaml.png => 04-elasticsearch-yaml.png} (100%) rename content/modules/ROOT/assets/images/{03-show-pipeline-1.png => 04-show-pipeline-1.png} (100%) rename content/modules/ROOT/assets/images/{03-show-pipeline-2.png => 04-show-pipeline-2.png} (100%) rename content/modules/ROOT/assets/images/{03-view-experiments.png => 04-view-experiments.png} (100%) rename content/modules/ROOT/pages/{040-assistant.adoc => 03-assistant.adoc} (98%) rename content/modules/ROOT/pages/{03-elasticsearch.adoc => 04-elasticsearch.adoc} (86%) rename content/modules/ROOT/pages/{041-rag-assistant.adoc => 05-rag-assistant.adoc} (100%) rename content/modules/ROOT/pages/{05-diy.adoc => 06-diy.adoc} (100%) diff --git a/content/modules/ROOT/assets/images/040-Composer_Assistants.drawio.png b/content/modules/ROOT/assets/images/03-composer-assistants.drawio.png similarity index 100% rename from content/modules/ROOT/assets/images/040-Composer_Assistants.drawio.png rename to content/modules/ROOT/assets/images/03-composer-assistants.drawio.png diff --git a/content/modules/ROOT/assets/images/040-Create-Basic-Assistant.png b/content/modules/ROOT/assets/images/03-create-basic-assistant.png similarity index 100% rename from content/modules/ROOT/assets/images/040-Create-Basic-Assistant.png rename to content/modules/ROOT/assets/images/03-create-basic-assistant.png diff --git a/content/modules/ROOT/assets/images/03-create-elasticsearch-cluster.png b/content/modules/ROOT/assets/images/04-create-elasticsearch-cluster.png similarity index 100% rename from content/modules/ROOT/assets/images/03-create-elasticsearch-cluster.png rename to content/modules/ROOT/assets/images/04-create-elasticsearch-cluster.png diff --git a/content/modules/ROOT/assets/images/03-elasticsearch-operator.png b/content/modules/ROOT/assets/images/04-elasticsearch-operator.png similarity index 100% rename from content/modules/ROOT/assets/images/03-elasticsearch-operator.png rename to content/modules/ROOT/assets/images/04-elasticsearch-operator.png diff --git a/content/modules/ROOT/assets/images/03-elasticsearch-yaml.png b/content/modules/ROOT/assets/images/04-elasticsearch-yaml.png similarity index 100% rename from content/modules/ROOT/assets/images/03-elasticsearch-yaml.png rename to content/modules/ROOT/assets/images/04-elasticsearch-yaml.png diff --git a/content/modules/ROOT/assets/images/03-show-pipeline-1.png b/content/modules/ROOT/assets/images/04-show-pipeline-1.png similarity index 100% rename from content/modules/ROOT/assets/images/03-show-pipeline-1.png rename to content/modules/ROOT/assets/images/04-show-pipeline-1.png diff --git a/content/modules/ROOT/assets/images/03-show-pipeline-2.png b/content/modules/ROOT/assets/images/04-show-pipeline-2.png similarity index 100% rename from content/modules/ROOT/assets/images/03-show-pipeline-2.png rename to content/modules/ROOT/assets/images/04-show-pipeline-2.png diff --git a/content/modules/ROOT/assets/images/03-view-experiments.png b/content/modules/ROOT/assets/images/04-view-experiments.png similarity index 100% rename from content/modules/ROOT/assets/images/03-view-experiments.png rename to content/modules/ROOT/assets/images/04-view-experiments.png diff --git a/content/modules/ROOT/nav.adoc b/content/modules/ROOT/nav.adoc index 994ec49..cf1f8b8 100644 --- a/content/modules/ROOT/nav.adoc +++ b/content/modules/ROOT/nav.adoc @@ -1,6 +1,6 @@ * xref:01-overview.adoc[Environment Overview] * xref:02-vllm.adoc[vLLM] -* xref:03-elasticsearch.adoc[Elasticsearch] -* xref:040-assistant.adoc[Assistant] -* xref:041-rag-assistant.adoc[Retrieval-Augmented Generation (RAG)] -* xref:05-diy.adoc[(Optional) Find your own doc] +* xref:03-assistant.adoc[Assistant] +* xref:04-elasticsearch.adoc[Elasticsearch] +* xref:05-rag-assistant.adoc[Retrieval-Augmented Generation (RAG)] +* xref:06-diy.adoc[(Optional) Find your own doc] diff --git a/content/modules/ROOT/pages/040-assistant.adoc b/content/modules/ROOT/pages/03-assistant.adoc similarity index 98% rename from content/modules/ROOT/pages/040-assistant.adoc rename to content/modules/ROOT/pages/03-assistant.adoc index 85c45d1..57e0637 100644 --- a/content/modules/ROOT/pages/040-assistant.adoc +++ b/content/modules/ROOT/pages/03-assistant.adoc @@ -8,7 +8,7 @@ Assistants are a core concept in how Composer AI works, and the main way in whic An `Assistant` is an object stored in our database and contains a Prompt and the flow that Composer will use to orchestrate the response to a message from the user. -image::040-Composer_Assistants.drawio.png[Assistant Graph] +image::03-composer-assistants.drawio.png[Assistant Graph] NOTE: Currently Composer only supports simple RAG flows but we have future plans to expand into more complex flows. @@ -37,7 +37,7 @@ Prompt: Respond to the user in Pig Latin + [.bordershadow] -image::040-Create-Basic-Assistant.png[Create Basic Assistant] +image::03-create-basic-assistant.png[Create Basic Assistant] === Testing Basic Assistant diff --git a/content/modules/ROOT/pages/03-elasticsearch.adoc b/content/modules/ROOT/pages/04-elasticsearch.adoc similarity index 86% rename from content/modules/ROOT/pages/03-elasticsearch.adoc rename to content/modules/ROOT/pages/04-elasticsearch.adoc index 14f0979..d499334 100644 --- a/content/modules/ROOT/pages/03-elasticsearch.adoc +++ b/content/modules/ROOT/pages/04-elasticsearch.adoc @@ -11,17 +11,17 @@ The Elasticsearch (ECK) Operator has already been installed on the cluster for y . With the `composer-ai-apps` namespace selected in the OpenShift Web Console, navigate to `Operators` > `Installed Operators` and select the `Elasticsearch (ECK) Operator`. + -image::03-elasticsearch-operator.png[Elasticsearch Operator] +image::04-elasticsearch-operator.png[Elasticsearch Operator] . Click the `+Create instance` option for an `Elasticsearch Cluster` + -image::03-elasticsearch-operator.png[Elasticsearch Operator] +image::04-elasticsearch-operator.png[Elasticsearch Operator] . Update the object name to `elasticsearch` and click `Create`. + -image::03-elasticsearch-yaml.png[Elasticsearch YAML] +image::04-elasticsearch-yaml.png[Elasticsearch YAML] Three new Elasticsearch pods will be created in the `composer-ai-apps` namespace. Once they are Ready, you are ready to move on to the next step. @@ -38,12 +38,12 @@ For demonstration purposes we will be ingesting documentation for various Red Ha To get you started, we have included an ingestion pipeline to populate the elasticsearch instance with information pulled from openshift documentation. Go to pipelines in the composer-ai-apps namespaces. Run the `ingestion-pipeline` pipeline with the default parameters. Set the `source` workspace to the VolumeClaimTemplate option. -image::03-show-pipeline-1.png[Instantiate Template] +image::04-show-pipeline-1.png[Instantiate Template] -image::03-show-pipeline-2.png[Instantiate Template] +image::04-show-pipeline-2.png[Instantiate Template] The progress can be viewed in the "Experiments and runs" section in the Openshift AI console. -image::03-view-experiments.png[Instantiate Template] +image::04-view-experiments.png[Instantiate Template] From here you can view the progress of the Kubeflow Pipeline (KFP), as well as the logs of individual steps, similar to Tekton. diff --git a/content/modules/ROOT/pages/041-rag-assistant.adoc b/content/modules/ROOT/pages/05-rag-assistant.adoc similarity index 100% rename from content/modules/ROOT/pages/041-rag-assistant.adoc rename to content/modules/ROOT/pages/05-rag-assistant.adoc diff --git a/content/modules/ROOT/pages/05-diy.adoc b/content/modules/ROOT/pages/06-diy.adoc similarity index 100% rename from content/modules/ROOT/pages/05-diy.adoc rename to content/modules/ROOT/pages/06-diy.adoc