Commit Graph
109 Commits
Author SHA1 Message Date
stuart c41246a600 remove original_content arg 2026-02-25 15:29:11 +01:00
stuart 4edcd667ff add original_content arg to noembeddingphrase 2026-02-25 15:20:39 +01:00
stuart 1fb0051494 Make noembeddingphrase just initialise with an empty tensor 2026-02-25 15:11:42 +01:00
stuart 3e4bb3ba9e new approach to noembeddingphrase 2026-02-25 14:36:32 +01:00
stuart 7cc7d05fc6 fix phrase with new lexeme verion 2026-02-25 14:24:36 +01:00
stuart f91c4f6b20 add from_dict back in 2026-02-25 14:13:00 +01:00
stuart 50767fed40 remoed from_dict and use constructor in lexeme from_dict 2026-02-25 14:03:05 +01:00
stuart 2774c707ea rewrote the structures 2026-02-25 13:04:54 +01:00
stuart a78d4f17c8 Merge branch 'main' of https://github.com/stuartgo/anansyTypes 2026-02-24 19:06:49 +01:00
stuart c0d896262f change embedding serialisation 2026-02-24 19:04:48 +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
stuart 201608b02c added stemmed_words to preprocessresponse 2026-01-27 19:32:10 +01:00
stuart 36403df66d add schemas for text to symbols calls 2026-01-27 17:21:20 +01:00
stuart c15b1d99a0 small fix that corrects original content 2025-12-27 23:51:21 +01:00
stuart 6dcea55bd6 add original_content to both phrase and phrasenoembedding 2025-12-27 23:48:12 +01:00
stuart 947d775e4e added original_content better 2025-12-27 23:46:37 +01:00
stuart b05b30e450 added original content to word 2025-12-27 23:37:07 +01:00
stuart 57f30b04c1 Merge branch 'main' of https://github.com/stuartgo/anansyTypes 2025-12-27 23:26:16 +01:00
stuart 8978a20fc8 added sentence to audiotosymbolresponse 2025-12-27 23:25:48 +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
stuart 6dd0a4d313 changed encoding of symbols 2025-12-16 11:41:31 +01:00
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