File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ Follow these steps to create a connection:
179
179
# [Python SDK](#tab/python)
180
180
181
181
```python
182
- client.connections.create (ServerlessConnection(
182
+ client.connections.create_or_update (ServerlessConnection(
183
183
name="meta-llama3-8b-connection",
184
184
endpoint="https://meta-llama3-8b-qwerty-serverless.inference.ai.azure.com",
185
185
api_key="1234567890qwertyuiop"
@@ -209,4 +209,4 @@ Follow these steps to create a connection:
209
209
## Related content
210
210
211
211
- [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)
You can’t perform that action at this time.
0 commit comments