Skip to content

Commit

Permalink
updated installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Dec 11, 2023
1 parent 0f1dcf1 commit c6776ab
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ _build
.ipynb_checkpoints
.idea
01_prompts/vgsales.csv
Untitled*
2 changes: 1 addition & 1 deletion 00_preparation/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For ease-of-use, it is recommended to install it for your use only and to add Co
Use this command from the terminal:

```
mamba create --name prompt-env python=3.9 jupyterlab openai scikit-image pandas matplotlib -c conda-forge
mamba create --name prompt-env python=3.9 jupyterlab openai langchain scikit-image pandas matplotlib -c conda-forge
```

```
Expand Down
Binary file added 00_preparation/test_bob1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 00_preparation/test_bob2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions 00_preparation/test_installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Testing the installation

After setting up the installation and configuring the OpenAI API key, start up Jupyter Lab and create a new Notebook:

![](test_bob1.png)

Execute this code to test if the installation worked:

```
from bia_bob import bob
```

```
%%bob
What's the mission of ScaDS.AI's living lab?
```

It should come up with results such as these:

![](test_bob2.png)
6 changes: 5 additions & 1 deletion _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ format: jb-book
root: intro

parts:
- caption: Tutorial
- caption: Installation
chapters:
- file: 00_preparation/readme
- file: 00_preparation/test_installation

- caption: Tutorial
chapters:
- file: 01_prompts/01_prompting
- file: 01_prompts/02_use_cases
- file: 01_prompts/03_prompt_engineering
Expand Down

0 comments on commit c6776ab

Please sign in to comment.