Skip to content

Commit

Permalink
testing new commands in antora
Browse files Browse the repository at this point in the history
  • Loading branch information
kknoxrht committed Jun 3, 2024
1 parent f329ece commit fc54985
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions modules/chapter3/pages/section1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ Navigate to the Data Science Project section of the OpenShift AI Console /Dashbo

. Select the WorkBench button, then create workbench

.. Name: ollama-model
.. Name: `ollama-model`

.. Notebook Image: Minimal Python
.. Notebook Image: `Minimal Python`

.. Leave the remianing options default

.. Optionally, scroll to the bottom, check the Use data connection box
.. Optionally, scroll to the bottom, check the `Use data connection box`

.. Select *storage* from the dropdown to attach the storage bucket to the workbench.

Expand Down
17 changes: 8 additions & 9 deletions modules/chapter3/pages/section2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,19 @@ Before we continue we need to perform the following additional step. As mentione

We will need to obtain the endpoint from the OpenShift AI model serving console. I usually just paste the text below into a cell in the Jupyter Notebook and paste the url in the code block from there.

```yaml
[source, yaml]
----
curl https://your-endpoint/api/pull \
-k \
-H "Content-Type: application/json" \
-d '{"name": "mistral"}'
----


```
. Next copy the entire code snippet, and open the OpenShift Dashboard.
. At the top right of the dashboard, locate the ">_" and select it.
. This will open the terminal window at the bottom of the dashboard.
. Click on the Start button in the terminal window, wait for the bash..$ prompt to appear
. Past the modified code block into the window and press enter.

. Next copy the entire code snippet, and open the OpenShift Dashboard.
. At the top right of the dashboard, locate the ">_" and select it.
. This will open the terminal window at the bottom of the dashboard.
. Click on the Start button in the terminal window, wait for the bash..$ prompt to appear
. Past the modified code block into the window and press enter.

The message: *status: pulling manifest* should appear. This begins the model downloading process.

Expand Down

0 comments on commit fc54985

Please sign in to comment.