You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config (dict): Configuration for the stored model.
65
-
model_type (Union[Literal["llm"], Literal["emb"]]): Type of the stored model, either "llm" (language model) or "emb" (embedding model).
64
+
model_type (Type[BaseChatModel | HuggingFaceEmbeddings]): Type of the stored model, for example ChatOpenAI, HuggingFaceEmbeddings.
66
65
model (Union[HuggingFaceEmbeddings, BaseChatModel]): The actual model object, which can either be a HuggingFaceEmbeddings instance or a BaseChatModel instance.
67
66
68
67
Methods:
@@ -76,7 +75,7 @@ class StoredData(BaseModel):
76
75
77
76
key: str=Field(description="Key for the stored model")
78
77
config: dict=Field(description="Configuration for the stored model")
79
-
model_type: ModelMetaclass=Field(description="Type of the stored model")
78
+
model_type: Type[BaseChatModel|HuggingFaceEmbeddings]=Field(description="Type of the stored model")
0 commit comments