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