From 41f1ad38ebc3e0c4c47518769b91ccf5b77acea2 Mon Sep 17 00:00:00 2001 From: Thibault Genaitay Date: Tue, 29 Oct 2024 15:13:25 +0100 Subject: [PATCH] fix(ai): missing export --- .../index.mdx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tutorials/building-ai-application-function-calling/index.mdx b/tutorials/building-ai-application-function-calling/index.mdx index e5fd792794..81c44c6940 100644 --- a/tutorials/building-ai-application-function-calling/index.mdx +++ b/tutorials/building-ai-application-function-calling/index.mdx @@ -232,14 +232,19 @@ if __name__ == "__main__": export SCALEWAY_API_KEY="your-api-key-here" ``` -2. Run the application: +2. Set your Base URL for OpenAI client: + ``` + export SCALEWAY_INFERENCE_ENDPOINT_URL="your-inference-endpoint-here" + ``` + +3. Run the application: ``` python main.py ``` -3. Try some example queries: - - "What flights are available from CDG to LHR tomorrow?" - - "Show me morning flights from Paris to London on November 1st" +4. Try some example queries: + - "What flights are available from CDG to LHR on November 1st?" + - "Show me morning flights from CDG to LHR on November 1st" - "Are there any afternoon flights from CDG to LHR on 2024-11-01?" ## How it works