Commit graph

126 commits

Author SHA1 Message Date
Alivecow
3c3cf80aaf docs: Add docstrings for the haiku class
Refs: OPS-68
2025-03-21 15:33:21 +01:00
An0nymous
1022baa886
Merge pull request #36 from senju1337/docs
docs: components
2025-03-21 14:12:20 +00:00
Christoph J. Scherr
2ed42fc9a5
docs: components 2025-03-21 15:08:20 +01:00
Guts
440aaa2bd4
Merge pull request #29 from senju1337/feat/OPS-61
feat/OPS-61: auto documentation
2025-03-20 11:42:14 +01:00
An0nymous
308a2cf981
Merge pull request #30 from senju1337/feat/ai_promts
Feat/ai promts Add new model and change model temperature
2025-03-17 15:47:32 +00:00
Alivecow
f7a7eeb3c7 refactor: Change model back to phi
Refs: OPS-12
2025-03-17 16:43:04 +01:00
Alivecow
aeb3875564 feat: Change model creation to have better control and model
Refs:: OPS-12
2025-03-17 15:43:11 +01:00
Guts
33aaac5f3b
Merge pull request #27 from senju1337/feat/OPS-55
Feat/OPS-55 add frontend for image to haiku
2025-03-17 15:01:11 +01:00
Christoph J. Scherr
5e1af865a8
Merge pull request #20 from senju1337/master
rebase to latest changes in master
2025-03-17 14:28:20 +01:00
Christoph J. Scherr
63d434efe2
chore: remove _modules and autogenerate it
Refs: OPS-61
2025-03-17 14:24:22 +01:00
github-actions[bot]
627b546227 ci: automatic Python Formatter changes 2025-03-15 19:09:15 +00:00
Joscha Dierks
20855b2117 feat/OPS-61: fix - documentation works without converting senju into a python package.
Important: It seems the sphinx commands only work by entering the virtual environment of senju by copying the command/output of
```poetry env activate```
Inside the env install/update the poetry packages to ensure that you use the correct version of sphinx. Afterward cd into the senju/docs folder and execute auto_docu.sh
You can open the docu with
```firefox build/html/index.html```
2025-03-15 19:55:10 +01:00
Joscha Dierks
b9c4091299 feat/OPS-61: added auto documentation for haiku.py, main.py and store_manager.py
At the moment it works by converting senju into a python package. This causes the html docu to start with a link 'senju package' which lists all three moduls and their documentation. I will try now to make it so all three moduls have a docu link of their own.

The method foobar in each modul is for testing purposes and should be deleted once full functionality is confirmed.
2025-03-15 19:40:35 +01:00
Joscha Dierks
39369a65d6 feat/OPS-61: add basic documentation
It currently works only for haiku.py for some reason
2025-03-14 16:53:44 +01:00
github-actions[bot]
5c00acad9b ci: automatic Python Formatter changes 2025-03-14 14:33:32 +00:00
Guts
fe16fc2b6d
Merge branch 'devel' into feat/OPS-55 2025-03-14 15:33:09 +01:00
0xjrx
52313f8694
chore: remove yo mama and retry renaming
Refs: OPS-55
2025-03-14 15:20:24 +01:00
0xjrx
06a3c65140
chore: rename branch to gira ID
Refs: OPS-55
2025-03-14 15:17:57 +01:00
Amrasil
eb9aa864ab
Merge pull request #24 from senju1337/feat/OPS-31
feat/OPS-31: code coverage
2025-03-14 10:15:34 -04:00
0xjrx
3ea4c32db8
chore: add name to pyproject.toml 2025-03-14 15:14:14 +01:00
0xjrx
4eef745764
feat: add box to show generated haiku from image
OPS-55
2025-03-14 15:11:04 +01:00
Amrasil
d3bbcff2d1
Merge pull request #23 from senju1337/feat/OPS-36
feat/OPS-36: add favicon
2025-03-14 09:33:35 -04:00
Amrasil
ec9ed25b38 feat/OPS-31: added coverage feature
run coverage.sh to review the code coverage

REQUIRED: poetry update
2025-03-12 19:20:38 +01:00
Amrasil
f60120245e feat/OPS-36: fix line length requirement (again) 2025-03-12 13:03:26 +01:00
Amrasil
dadacb76f9 feat/OPS-36: fix line length requirement 2025-03-12 12:47:54 +01:00
Amrasil
bdb1502203 feat/OPS-36: add favicon to all sites 2025-03-12 12:21:37 +01:00
0xjrx
b43d03c35c
feat: add check buttons for the uploaded image before submitting them to generate a Haiku
Refs: OPS-55
2025-03-07 17:07:46 +01:00
0xjrx
112d96d55c
style: add button to confirm the scanned image content before generating
Refs: OPS-55
2025-03-07 16:47:54 +01:00
0xjrx
b739b1d1dc
style: Add removal of submit message if no image is submitted yet
Refs: OPS-55
2025-03-07 16:26:23 +01:00
0xjrx
34b52b8866
feat: adds a site for uploading images and generating haikus
Refs: OPS-55
2025-03-07 16:00:41 +01:00
Christoph J. Scherr
632bdf6612
Merge pull request #19 from senju1337/feat/ai_promts
Add the AI promt generation and then redirect to Haiku page
2025-03-05 20:31:12 +01:00
Alivecow
fb5c28c891 refactor: Remove unneded line
Refs: OPS-12
2025-03-05 20:29:47 +01:00
Christoph J. Scherr
f595313f33
Merge pull request #18 from senju1337/fix_tb
fix: fix toolbar to include haiku generation button
2025-03-05 20:28:12 +01:00
0xjrx
f2c01926da
fix: removes typo 2025-03-04 21:00:53 +01:00
Alivecow
7c304eaa3c feat: Add valdidation for the Haiku format
Refs: OPS-12
2025-03-04 17:49:29 +01:00
Alivecow
62e964b800 refactor: Change format requested from AI
Refs: OPS-12
2025-03-04 17:11:50 +01:00
github-actions[bot]
e96ab55378 ci: automatic Python Formatter changes 2025-03-03 15:02:37 +00:00
Alivecow
dc9438d2fb refactor: Remove commented code
Refs: OPS-12
2025-03-03 16:02:11 +01:00
Alivecow
01484ba4ed Merge branch 'feat/ai_promts' of github.com:senju1337/senju into feat/ai_promts 2025-03-03 15:57:01 +01:00
Alivecow
76ad52d3a9 refactor: Addressing PR comments
Refs: OPS-12

Consolidated AI gen module
Changed API endpoint
2025-03-03 15:55:48 +01:00
github-actions[bot]
0c4e88cf7e ci: automatic Python Formatter changes 2025-03-03 14:36:32 +00:00
Alivecow
edf145c8de feat: Add Method not Allowed handling for generate API and imporove error handling
Refs: OPS-12
2025-03-03 15:36:03 +01:00
Alivecow
0243091b76 refactor: Rework ai generation
Refs: OPS-22

This is meant to rework the ai generation by adding error handling by
regenerating the prompt
2025-03-01 21:36:00 +01:00
Alivecow
8c0a7771e0 refactor: Change format to conform to flake8 2025-02-28 22:21:03 +01:00
Alivecow
b8994a3d02 refactor: Change sys prompt and redirection to Haiku page
Refs: OPS-22
2025-02-28 22:10:39 +01:00
Alivecow
6c698d1528 feat: Add redirection to Haiku page and save in DB
Refs: OPS-22
2025-02-28 22:00:52 +01:00
Alivecow
7e5d61663a feat: Add promt generation from webserver
Refs: OPS-22
2025-02-28 21:33:09 +01:00
0xjrx
b9fe19cf2d
fix: fix toolbar to include haiku generation button
Refs: OPS-51
2025-02-28 20:29:08 +01:00
Amrasil
91e4567bf6
Merge pull request #16 from senju1337/fix/docker-was-broken
this fixes the docker container, it previously couldnt start the senju webserice
2025-02-28 16:42:38 +01:00
Christoph J. Scherr
7d41df6976
fix: containerized senju did not start properly
Refs: OPS-10
2025-02-28 16:14:23 +01:00