@@ -78,38 +78,6 @@ class RagEmbeddingModelConfig:
78
78
vertex_prediction_endpoint : Optional [VertexPredictionEndpoint ] = None
79
79
80
80
81
- @dataclasses .dataclass
82
- class EmbeddingModelConfig :
83
- """EmbeddingModelConfig.
84
-
85
- The representation of the embedding model config. Users input a 1P embedding
86
- model as a Publisher model resource, or a 1P fine tuned embedding model
87
- as an Endpoint resource.
88
-
89
- Attributes:
90
- publisher_model: 1P publisher model resource name. Format:
91
- ``publishers/google/models/{model}`` or
92
- ``projects/{project}/locations/{location}/publishers/google/models/{model}``
93
- endpoint: 1P fine tuned embedding model resource name. Format:
94
- ``endpoints/{endpoint}`` or
95
- ``projects/{project}/locations/{location}/endpoints/{endpoint}``.
96
- model:
97
- Output only. The resource name of the model that is deployed
98
- on the endpoint. Present only when the endpoint is not a
99
- publisher model. Pattern:
100
- ``projects/{project}/locations/{location}/models/{model}``
101
- model_version_id:
102
- Output only. Version ID of the model that is
103
- deployed on the endpoint. Present only when the
104
- endpoint is not a publisher model.
105
- """
106
-
107
- publisher_model : Optional [str ] = None
108
- endpoint : Optional [str ] = None
109
- model : Optional [str ] = None
110
- model_version_id : Optional [str ] = None
111
-
112
-
113
81
@dataclasses .dataclass
114
82
class Weaviate :
115
83
"""Weaviate.
0 commit comments