- When no explicit path is given in the browser, we automatically get redirected to the admin interface (eveai_app)

- Tuning moved to Retriever iso in the configuration, as this is an attribute that should be available for all types of Retrievers
This commit is contained in:
Josako
2024-10-31 08:32:02 +01:00
parent 532073d38e
commit 5841525b4c
6 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
"""Add tuning to Retriever
Revision ID: 331f8100eb87
Revises: 6c5ca750e60c
Create Date: 2024-10-31 07:17:22.579376
"""
from alembic import op
import sqlalchemy as sa
import pgvector
# revision identifiers, used by Alembic.
revision = '331f8100eb87'
down_revision = '6c5ca750e60c'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('retriever', sa.Column('tuning', sa.Boolean(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('retriever', 'tuning')
# ### end Alembic commands ###