Update api/models/dataset.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/22644/head
Asuka Minato 10 months ago committed by GitHub
parent 11e7d0278f
commit 711a59203b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -59,7 +59,7 @@ class Dataset(Base):
created_at = mapped_column(db.DateTime, nullable=False, server_default=func.current_timestamp()) created_at = mapped_column(db.DateTime, nullable=False, server_default=func.current_timestamp())
updated_by = mapped_column(StringUUID, nullable=True) updated_by = mapped_column(StringUUID, nullable=True)
updated_at = mapped_column(db.DateTime, nullable=False, server_default=func.current_timestamp()) updated_at = mapped_column(db.DateTime, nullable=False, server_default=func.current_timestamp())
embedding_model: Mapped[str] = mapped_column(db.String(255), nullable=True) embedding_model: Mapped[Optional[str]] = mapped_column(db.String(255), nullable=True)
embedding_model_provider: Mapped[Optional[str]] = mapped_column(db.String(255), nullable=True) embedding_model_provider: Mapped[Optional[str]] = mapped_column(db.String(255), nullable=True)
collection_binding_id = mapped_column(StringUUID, nullable=True) collection_binding_id = mapped_column(StringUUID, nullable=True)
retrieval_model = mapped_column(JSONB, nullable=True) retrieval_model = mapped_column(JSONB, nullable=True)

Loading…
Cancel
Save