Skip to content

Commit

Permalink
Merge pull request #89 from u2d-ai/0.0.89
Browse files Browse the repository at this point in the history
feat: changed model, learnset, testset models
  • Loading branch information
eduard-terletskiy authored Aug 21, 2023
2 parents 9ebcddd + fa0b625 commit bce65b2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
6 changes: 5 additions & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# msaDocModels Release Notes
## Possible future features:

# 0.0.89

- changed model, learnset, testset models

# 0.0.88

- add field embedding_attachments to separate attachments
Expand All @@ -23,7 +27,7 @@
- update models for TemplateInput, EntityExtractorInput, EntityExtractorDocumentInput
- add models for work with database updates from pub/sub

## 0.0.83
## 0.0.83

- Added model with optional attachments in converteremail svc

Expand Down
2 changes: 1 addition & 1 deletion msaDocModels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import glob
from os.path import basename, dirname, isfile, join

version = "0.0.88"
version = "0.0.89"
__author__ = "Stefan Welcker"
__copyright__ = "Copyright 2022, U2D.ai"
__license__ = "MIT"
Expand Down
18 changes: 6 additions & 12 deletions msaDocModels/sdu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1796,15 +1796,13 @@ class BaseInfo(BaseModel):
version: version identifier.
description: description.
datetime: datetime.
process: process name.
name: object name.
key: object name.
"""

version: str
description: str
datetime: datetime
process: str
name: str
key: str


class UpdateAI(BaseModel):
Expand All @@ -1815,15 +1813,13 @@ class UpdateAI(BaseModel):
version: version identifier.
description: description.
datetime: datetime.
process: process name.
name: object name.
key: object name.
"""

version: Optional[str]
description: Optional[str]
datetime: Optional[datetime]
process: Optional[str]
name: Optional[str]
key: Optional[str]


class LearnsetDataInput(BaseInfo):
Expand Down Expand Up @@ -2044,15 +2040,13 @@ class UpdateAIModelInputModel(BaseModel):
subdomain: db name(tenant).
version: testset version.
name: name of testset.
process: process name.
key: name of testset.
data_for_update: field for update.
"""

subdomain: str
version: str
name: str
process: str
key: str
data_for_update: UpdateAI


Expand Down

0 comments on commit bce65b2

Please sign in to comment.