From 4f52b934723cdaae3b50e0d600b771c744222e87 Mon Sep 17 00:00:00 2001 From: Arya Seghatoleslami Date: Mon, 27 Jan 2025 14:42:34 -0500 Subject: [PATCH 1/2] Update vertex.md --- docs/integrations/vertex.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/integrations/vertex.md b/docs/integrations/vertex.md index 79ead60c2..1f29f9994 100644 --- a/docs/integrations/vertex.md +++ b/docs/integrations/vertex.md @@ -73,8 +73,6 @@ client = instructor.from_vertexai( _async=True, ) -async def extract_user(): - async def extract_user(): user = await client.create( messages=[ From 930639538c246047fd8596e373062be84dd20406 Mon Sep 17 00:00:00 2001 From: Arya Seghatoleslami Date: Mon, 27 Jan 2025 14:47:01 -0500 Subject: [PATCH 2/2] Update vertex.md --- docs/integrations/vertex.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/integrations/vertex.md b/docs/integrations/vertex.md index 1f29f9994..bf708587b 100644 --- a/docs/integrations/vertex.md +++ b/docs/integrations/vertex.md @@ -54,6 +54,7 @@ print(resp) ## Simple User Example (Async) ```python +import asyncio import instructor import vertexai # type: ignore from vertexai.generative_models import GenerativeModel # type: ignore