Skip to content

Commit 087cfbe

Browse files
authored
fix(ai): missing export (#3910)
1 parent c34ce30 commit 087cfbe

File tree

1 file changed

+9
-4
lines changed
  • tutorials/building-ai-application-function-calling

1 file changed

+9
-4
lines changed

tutorials/building-ai-application-function-calling/index.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,19 @@ if __name__ == "__main__":
232232
export SCALEWAY_API_KEY="your-api-key-here"
233233
```
234234

235-
2. Run the application:
235+
2. Set your Base URL for OpenAI client:
236+
```
237+
export SCALEWAY_INFERENCE_ENDPOINT_URL="your-inference-endpoint-here"
238+
```
239+
240+
3. Run the application:
236241
```
237242
python main.py
238243
```
239244

240-
3. Try some example queries:
241-
- "What flights are available from CDG to LHR tomorrow?"
242-
- "Show me morning flights from Paris to London on November 1st"
245+
4. Try some example queries:
246+
- "What flights are available from CDG to LHR on November 1st?"
247+
- "Show me morning flights from CDG to LHR on November 1st"
243248
- "Are there any afternoon flights from CDG to LHR on 2024-11-01?"
244249

245250
## How it works

0 commit comments

Comments
 (0)