Skip to content

Commit

Permalink
docs: black format
Browse files Browse the repository at this point in the history
  • Loading branch information
wochinge committed Mar 5, 2024
1 parent d9ab43e commit b60c831
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class VertexAIGeminiGenerator:
>>> 10. **Consciousness:** The nature of human consciousness and how it arises ...
```
"""

def __init__(
self,
*,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class VertexAIImageGenerator:
result["images"][0].to_file(Path("my_image.png"))
```
"""

def __init__(self, *, model: str = "imagegeneration", project_id: str, location: Optional[str] = None, **kwargs):
"""
Generates images using a Google Vertex AI model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class VertexAIImageQA:
>>> white
```
"""

def __init__(self, *, model: str = "imagetext", project_id: str, location: Optional[str] = None, **kwargs):
"""
Answers questions about an image using a Google Vertex AI model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class VertexAITextGenerator:
>>> **Follow-up:** What if the list contains duplicate numbers?
```
"""

def __init__(self, *, model: str = "text-bison", project_id: str, location: Optional[str] = None, **kwargs):
"""
Generate text using a Google Vertex AI model.
Expand Down

0 comments on commit b60c831

Please sign in to comment.