Skip to content

Commit 49bf88a

Browse files
committed
faet: improve models
1 parent c3f5320 commit 49bf88a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

content/assets/module2/flow.png

298 KB
Loading

content/assets/module2/models.png

448 KB
Loading

content/codelab.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ You can now access the Firebase emulator suite at [`http://localhost:4000`](http
7575

7676
To start the Genkit developer console, run the following command in the root directory of your Firebase project:
7777
```sh
78-
genkit start --attach http://localhost:4000 --port 4001
78+
genkit start --attach http://localhost:3100 --port 4001
7979
```
8080
You can now access the Genkit developer console at [`http://localhost:4001`](http://localhost:4001). You can use the developer console to interact with your generative AI application and test your prompts and flows:
8181
![Genkit UI](assets/module1/genkitui.png)
@@ -154,6 +154,9 @@ You should get the following response:
154154
}
155155
```
156156

157+
You should see also the flow in the Genkit developer console:
158+
![Genkit Flow](assets/module2/flow.png)
159+
157160
### Connecting to an LLM
158161
Right now, our Genkit flow is just returning the input text as output. Let's connect our Genkit flow to a large language model (LLM) to generate more interesting responses.
159162

@@ -246,6 +249,9 @@ You should get a joke about dogs as the response:
246249
}
247250
```
248251

252+
After installing and configuring the OpenAI plugin, you will be able to interact with the models from the Genkit developer console:
253+
![Genkit Flow](assets/module2/models.png)
254+
249255
### Solution
250256

251257
You can find the solution to this module in the `code/module2` folder of this [GitHub repository](https://github.com/xavidop/genkit-workshop)

0 commit comments

Comments
 (0)