-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Description
I followed all the steps here: https://ai.azure.com/doc/azure/ai-foundry/quickstarts/get-started-code, but VS Code complains about:
Arguments missing for parameters "subscription_id", "resource_group_name", "project_name"Pylance[reportCallIssue](https://github.com/microsoft/pylance-release/blob/main/docs/diagnostics/reportCallIssue.md)
class AIProjectClient(
endpoint: str,
subscription_id: str,
resource_group_name: str,
project_name: str,
credential: TokenCredential,
**kwargs: Any
)
and
Cannot access attribute "get_openai_client" for class "AIProjectClient"
Attribute "get_openai_client" is unknownPylance[reportAttributeAccessIssue](https://github.com/microsoft/pylance-release/blob/main/docs/diagnostics/reportAttributeAccessIssue.md)
(function) get_openai_client: Unknown
And indeed it doesn't run.
https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py
cc @dargilco
Metadata
Metadata
Assignees
Labels
No labels