Commit Graph
135 Commits
Author SHA1 Message Date
stuart ed16b208d7 change AudioToSymbolRequest from bytes to str 2025-12-16 10:48:23 +01:00
stuart 4064b15d43 change GetTranscriptionRequest from bytes to str 2025-12-16 10:39:44 +01:00
stuart ab013c3d0c Merge branch 'main' of https://github.com/stuartgo/anansyTypes 2025-12-16 10:24:08 +01:00
stuart 7b5109e49f added types for app api 2025-12-16 10:24:06 +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
stuart 780b9f12db add noembeddingphrase back in 2025-12-15 14:48:19 +01:00
stuart 2b0dbe77e6 remove noembeddingphrase 2025-12-15 14:47:28 +01:00
stuart a46acee5d3 add schemas for getullphrase 2025-12-15 14:33:06 +01:00
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