Commit Graph
37 Commits
Author SHA1 Message Date
EderChri 7cfd6e777d Added refunded to responses 2026-11-03 17:51:38 +01:00
Christoph Eder c3b969f304 Updated to follow standardised language encoding 2026-05-11 16:48:26 +02:00
Christoph Eder 7d9f4d02d6 Merge branch 'main' of github.com:stuartgo/anansyTypes 2026-03-03 16:38:14 +01:00
Christoph Eder b440a9bf48 Changes in __init__.py
Added DiscountType
2026-03-01 18:20:55 +01:00
Christoph Eder a7a0682d18 Changes in enums.py
Added DiscountType
2026-03-01 18:14:05 +01:00
Christoph Eder 6782d23044 Changes in embedding.py
Adjusted embedding data tensor shape
2026-02-24 18:09:14 +01:00
Christoph Eder fabcdad845 Changes in enums.py
Added SubscriptionType and Currency for payment
2026-02-10 17:31:53 +01:00
Christoph Eder a4799f2c3f Changes in symbol.py
Trying just bytes now
2025-12-18 16:18:36 +01:00
Christoph Eder af2abad1ff Changes in symbol.py
Removed tobytes as it is already bytes
2025-12-18 16:11:44 +01:00
Christoph Eder 137dc8765e Changes in symbol.py
Image is now stored as a np array again
2025-12-18 16:09:46 +01:00
Christoph Eder 701952c309 Changes in enums.py
Added ResourceType for word and symbol
2025-12-15 17:04:59 +01:00
Christoph Eder 4a6187b7c1 Changes in schemas.py
Made return of None possible, instead of throwing 404
2025-12-15 16:47:10 +01:00
Christoph Eder c0fca119e7 Changes in phrase.py
Added from_noembeddingphrase to Phrase
2025-12-15 16:35:54 +01:00
Christoph Eder ddfdd41e6a Changes in enums.py
Fixed generalisation of enums
2025-12-13 19:10:25 +01:00
Christoph Eder 01ace5b7cc Changes in symbol.py
Adopted changes from embedding.py
2025-12-13 18:26:36 +01:00
Christoph Eder edeaf3aae9 Changes in lexeme.py
Fixed missing import
2025-12-13 18:24:25 +01:00
Christoph Eder d7fe47b71c Changes in embedding.py, lexeme.py, phrase.py, word.py
Defines typed_schema for seralisation
    Moved serialisation method to lexeme
2025-12-13 18:23:26 +01:00
Christoph Eder 43064b1572 Changes in embedding.py, phrase.py, word.py
Adopted serialisation schema to last commit
2025-12-13 18:14:08 +01:00
Christoph Eder 0a07ea6d39 Changes in schemas.py
Trying to use proper types now
Changes in embedding.py
    Implemented serialisation
2025-12-13 18:09:07 +01:00
Christoph Eder b2db2efd93 Changes in symbol.py
Another try of serialisation
2025-12-13 12:14:48 +01:00
Christoph Eder fd7432f5d7 Changes in schemas.py
Trying to send actual symbols
2025-12-13 12:11:22 +01:00
Christoph Eder 95cd59fa2c Changes in schema.py and symbol.py
Trying base64 encoding instead
2025-12-13 12:09:29 +01:00
Christoph Eder 67e10c6df4 Changes in symbol.py
Trying to properly serialise array
2025-12-13 11:59:18 +01:00
Christoph Eder c1dcf4b055 Changes in schemas.py
Might have fixed symbol issue
2025-12-13 11:56:40 +01:00
Christoph Eder e2d689a84c Changes in enums.py
Added generalised ModelName
2025-12-13 11:53:30 +01:00
Christoph Eder 7126a66331 Changes in embedding.py, phrase.py, symbol.py, word.py
Added from_dict class methods
2025-12-12 17:23:32 +01:00
Christoph Eder ac2bb3ce29 Changes in schemas.py
Modified schemas according to best practice
2025-12-12 17:16:29 +01:00
Christoph Eder a30fcead0e Changes in phrases.py
Another manual schema implementation
2025-12-12 17:06:32 +01:00
Christoph Eder 9b2affeee7 Changes in word.py
Another manual schema implementation
2025-12-12 17:04:55 +01:00
Christoph Eder 3932d07846 Changes in symbol.py
Trying manual schema implementation
Changes in embedding.py
    Removed deprecated import
2025-12-12 17:03:31 +01:00
Christoph Eder 71206a03fd Changes in embedding.py
Another try, this time trusting pydantic_tensor to fix it
2025-12-12 16:59:57 +01:00
Christoph Eder b5137abe11 Changes in embedding.py
Manually defining schema
2025-12-12 16:56:44 +01:00
Christoph Eder 2cf4f2912a Changes in embedding.py and symbol.py
Another schema try...
2025-12-12 16:53:23 +01:00
Christoph Eder 69efd51bb5 Changes in embedding.py and symbold.py
Using another schema generation
2025-12-12 16:48:46 +01:00
Christoph Eder 78e5e5b878 Changes in embedding.py, phrase.py, symbol.py and word.py
Added new serialisation
2025-12-12 16:41:12 +01:00
Christoph Eder 6a5a04cd72 Changes in embedding.py, phrase.py, symbol.py, word.py
Removed deprecated value
2025-12-12 16:33:45 +01:00
Christoph Eder dd85eee080 Changes in embedding.py, phrase.py, symbol.py, word.py
Added __get_pydantic_core_schema for serialisation to every class
2025-12-12 16:28:10 +01:00