Skip to content

Commit

Permalink
fix(ai): missing export (#3910)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgenaitay authored Oct 29, 2024
1 parent c34ce30 commit 087cfbe
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tutorials/building-ai-application-function-calling/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 087cfbe

Please sign in to comment.