Vertex AI

Allow Access to vertex models

v0.3.8
vertex_ai.py
Python · 240 lines
36    class Valves(BaseModel):37        PROJECT_ID: str = Field(38            default="", # Set this to your Project ID39            description="Your Google Cloud Project ID.",40        )41        LOCATION: str = Field(42            default="us-central1", description="Default region for Vertex AI models."43        )44 45    def __init__(self):46        self.id = (47            "vertex_ai"  # Set this to your function's ID in OpenWebUI

Allow Access to vertex models

0
0

Allow Access to vertex models

0
0