Commit Graph
125 Commits
Author SHA1 Message Date
stuart 84cd06e8e8 redo noembeddingphrase to return an empty embedding 2025-12-15 14:20:54 +01:00
stuart 6d6ba89354 added _ in front of embedding 2025-12-15 14:18:56 +01:00
stuart caf9d2dc4e addedn back the _content 2025-12-15 14:17:41 +01:00
stuart af6e4c98d6 removed classmethod decorator 2025-12-15 14:15:45 +01:00
stuart abedbd8205 use only .content not _content and modified noembeddingphrase 2025-12-15 14:12:05 +01:00
stuart ead9946d0d remove noembeddingphrase inheritance from lexeme 2025-12-15 14:06:34 +01:00
stuart 302589bc3a swap phrase for noembeddingphrase in response object 2025-12-15 13:59:18 +01:00
stuart 70f0ad121d added noembeddingphrase 2025-12-15 13:57:35 +01:00
stuart b185261edc changed frombuffer call 2025-12-14 01:18:09 +01:00
stuart 864ee647ec made mistake when merging 2025-12-14 00:47:05 +01:00
stuart 84b8f6541f Merge branch 'main' of https://github.com/stuartgo/anansyTypes 2025-12-14 00:43:51 +01:00
stuart 6ec0fac133 change from_dict from np to torch 2025-12-14 00:42:44 +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
stuart e4e387b3b9 change back to dict 2025-12-13 15:28:47 +01:00
stuart c787d6f0d0 changing back to dict 2025-12-13 15:26:53 +01:00
stuart bde97648e6 reverted to using embedding class 2025-12-13 15:19:44 +01:00
stuart 2473c9895f getsimilarwordrequest now uses tensor 2025-12-13 15:08:05 +01:00
stuart 2d26ff0445 change so embeddingresponse returns list of tensors 2025-12-13 14:48:22 +01:00
stuart f443d56882 changed types in embeddingresponse 2025-12-13 14:44:21 +01:00
stuart 3164e2fde7 changed embeddingresponse to use tensor 2025-12-13 14:42:27 +01:00
stuart 3406ed173e added token_ids to request 2025-12-13 14:18:29 +01:00
stuart aa0a0b3e52 added token_ids to request 2025-12-13 14:15:53 +01:00
stuart ec64a805f5 added word_ids 2025-12-13 13:53:30 +01:00
stuart 695d892923 Merge branch 'main' of https://github.com/stuartgo/anansyTypes 2025-12-13 12:32:05 +01:00
stuart 5efaf8ca8d changed whisper small name 2025-12-13 12:30:28 +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
stuart d09008827b added modelName enums 2025-12-12 17:48:25 +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
stuart db631f38a2 Addeed dependencies 2025-12-09 18:13:57 +01:00