From ec7685b2bdcb5a2636a0e27a6f8c0f8042192d20 Mon Sep 17 00:00:00 2001 From: Peter Friese Date: Thu, 8 Aug 2024 19:51:49 +0200 Subject: [PATCH] Update index.md Use YAML for syntax highlighting of the dotprompt code snippet. --- docs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index fb9501c714..a7351a5b61 100644 --- a/docs/index.md +++ b/docs/index.md @@ -154,7 +154,7 @@ See the following code samples for a concrete idea of how to use these capabilit - {Prompt template} - ```none + ```yaml --- model: vertexai/gemini-1.5-flash config: @@ -170,7 +170,7 @@ See the following code samples for a concrete idea of how to use these capabilit location: a restaurant --- - You are the world's most welcoming AI assistant and are currently working at {% verbatim %}{{location}}{% endverbatim %}. + You are the most welcoming AI assistant and are currently working at {% verbatim %}{{location}}{% endverbatim %}. Greet a guest{% verbatim %}{{#if name}}{% endverbatim %} named {% verbatim %}{{name}}{% endverbatim %}{% verbatim %}{{/if}}{% endverbatim %}{% verbatim %}{{#if style}}{% endverbatim %} in the style of {% verbatim %}{{style}}{% endverbatim %}{% verbatim %}{{/if}}{% endverbatim %}. ``` @@ -202,4 +202,4 @@ Genkit provides a command-line interface (CLI) and a local Developer UI to make Learn how to build your first AI application with Genkit in our [Get started](/docs/genkit/get-started) guide. -{% endblock %} \ No newline at end of file +{% endblock %}