-
Couldn't load subscription status.
- Fork 32
✨ AI answers user questions in support center (🗃️⚠️🚨) #8525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
matusdrobuliak66
merged 41 commits into
ITISFoundation:master
from
matusdrobuliak66:use-new-chatbot-client
Oct 21, 2025
Merged
Changes from 33 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
945ca4f
introudce chatbot client skeleton
matusdrobuliak66 3972828
introudce chatbot client skeleton
matusdrobuliak66 f5f8b9f
fix
matusdrobuliak66 99968ce
Merge branch 'master' into introduce-chatbot-client
matusdrobuliak66 81dcbe4
improve
matusdrobuliak66 910f649
modify docker compose
matusdrobuliak66 e18dcb9
review @GitHK
matusdrobuliak66 fdad989
review @pcrespov
matusdrobuliak66 0cbd54e
review @pcrespov
matusdrobuliak66 a8bb667
review @pcrespov
matusdrobuliak66 7397e6e
fix
matusdrobuliak66 fa97066
fix
matusdrobuliak66 3bbc3f9
fix
matusdrobuliak66 6f6e332
fix
matusdrobuliak66 51fd6c5
Merge branch 'master' into introduce-chatbot-client
matusdrobuliak66 82740f3
review @pcrespov
matusdrobuliak66 2625b5e
introduce AI answering support requests
matusdrobuliak66 972f425
improve
matusdrobuliak66 c31c94a
introduce to store in app state the product url
matusdrobuliak66 dd13139
Merge branch 'master' into use-new-chatbot-client
matusdrobuliak66 9ff225e
fix
matusdrobuliak66 d05e7e2
fix
matusdrobuliak66 6a35bc3
fix
matusdrobuliak66 d257e87
fix
matusdrobuliak66 f543b97
fix
matusdrobuliak66 c449228
fix
matusdrobuliak66 18beecf
fix
matusdrobuliak66 95e47bd
fix
matusdrobuliak66 e93a8b8
adding unit tests
matusdrobuliak66 55bee35
fixes
matusdrobuliak66 a777cf8
fixes
matusdrobuliak66 030fb4e
fixes
matusdrobuliak66 8664acc
Merge branch 'master' into use-new-chatbot-client
matusdrobuliak66 8038645
fixes
matusdrobuliak66 3d580a3
fixes
matusdrobuliak66 f472fee
fixes
matusdrobuliak66 d9df8ff
fixes
matusdrobuliak66 d00ed40
fixes
matusdrobuliak66 e69e74a
fixes
matusdrobuliak66 b0c54fa
fixes
matusdrobuliak66 1c561e1
fixes
matusdrobuliak66 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...ostgres_database/migration/versions/e1c7e416461c_add_chatbot_user_id_to_products_table.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| """add chatbot user id to products table | ||
|
|
||
| Revision ID: e1c7e416461c | ||
| Revises: f641b3eacafd | ||
| Create Date: 2025-10-16 07:51:44.033767+00:00 | ||
|
|
||
| """ | ||
|
|
||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "e1c7e416461c" | ||
| down_revision = "f641b3eacafd" | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column( | ||
| "products", sa.Column("support_chatbot_user_id", sa.BigInteger(), nullable=True) | ||
| ) | ||
| op.create_foreign_key( | ||
| "fk_products_support_chatbot_user_id", | ||
| "products", | ||
| "users", | ||
| ["support_chatbot_user_id"], | ||
| ["id"], | ||
| onupdate="CASCADE", | ||
| ondelete="SET NULL", | ||
| ) | ||
| # ### end Alembic commands ### | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_constraint( | ||
| "fk_products_support_chatbot_user_id", "products", type_="foreignkey" | ||
| ) | ||
| op.drop_column("products", "support_chatbot_user_id") | ||
| # ### end Alembic commands ### |
32 changes: 32 additions & 0 deletions
32
...imcore_postgres_database/migration/versions/ff13501db935_add_base_url_to_product_table.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| """Add base_url to product table | ||
|
|
||
| Revision ID: ff13501db935 | ||
| Revises: e1c7e416461c | ||
| Create Date: 2025-10-17 14:48:02.509847+00:00 | ||
|
|
||
| """ | ||
|
|
||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "ff13501db935" | ||
| down_revision = "e1c7e416461c" | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column("products", sa.Column("base_url", sa.String(), nullable=True)) | ||
| # ### end Alembic commands ### | ||
|
|
||
| op.execute("UPDATE products SET base_url = 'http://CHANGE_ME.localhost'") | ||
|
|
||
| op.alter_column("products", "base_url", existing_type=sa.String(), nullable=True) | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_column("products", "base_url") | ||
| # ### end Alembic commands ### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.