Skip to content

Commit c0c72fe

Browse files
committed
fix: rmeove dotprompt
1 parent c4df873 commit c0c72fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/codelab.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ const getJoke = defineTool(
290290

291291
The tool above is a simple example of a tool that retrieves a joke about a specific topic using the JokeAPI. The tool takes a jokeTopic as input and returns a joke as output. The tool uses the fetch function to make an HTTP request to the JokeAPI and returns the joke as a response.
292292

293-
We will not use dotprompt for this example. Let's modify our generate method to use the `getJoke` tool by adding the following code to the `index.ts` file:
293+
Let's modify our generate method to use the `getJoke` tool by adding the following code to the `index.ts` file:
294294
```typescript
295295
export const myFlow = onFlow(
296296
{
@@ -351,7 +351,6 @@ One important thing from the output above is that the joke is generated by the `
351351
You can interact with the tools in the Genkit developer console:
352352
![Genkit Flow](assets/module3/tools.png)
353353

354-
355354
<!-- ------------------------ -->
356355
## Module 4: Prompt Management in Genkit
357356
Duration: 30

0 commit comments

Comments
 (0)