Skip to content

Commit 35eec2f

Browse files
authored
Update how-to-connect-models-serverless.md
1 parent 510c107 commit 35eec2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-connect-models-serverless.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Follow these steps to create a connection:
179179
# [Python SDK](#tab/python)
180180
181181
```python
182-
client.connections.create(ServerlessConnection(
182+
client.connections.create_or_update(ServerlessConnection(
183183
name="meta-llama3-8b-connection",
184184
endpoint="https://meta-llama3-8b-qwerty-serverless.inference.ai.azure.com",
185185
api_key="1234567890qwertyuiop"
@@ -209,4 +209,4 @@ Follow these steps to create a connection:
209209
## Related content
210210
211211
- [Model Catalog and Collections](concept-model-catalog.md)
212-
- [Deploy models as serverless API endpoints](how-to-deploy-models-serverless.md)
212+
- [Deploy models as serverless API endpoints](how-to-deploy-models-serverless.md)

0 commit comments

Comments
 (0)