mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-16 18:52:12 +03:00
ca93cb9062
# Description - Added package manager - Added precommit checks - Rewrote dependency injection of Services and Repositories - Integrate async SQL alchemy engine - Migrate Chat repository to SQLModel - Migrated ChatHistory repository to SQLModel - User SQLModel - Unit test methodology with db rollback - Unit tests ChatRepository - Test ChatService get_history - Brain entity SQL Model - Promp SQLModel - Rewrite chat/{chat_id}/question route - updated docker files and docker compose in dev and production Added `quivr_core` subpackages: - Refactored KnowledgebrainQa - Added Rag service to interface with non-rag dependencies --------- Co-authored-by: aminediro <aminediro@github.com>
18 lines
896 B
SQL
18 lines
896 B
SQL
INSERT INTO "public"."ingestions" ("name", "id", "brain_id_required", "file_1_required", "url_required")
|
|
SELECT 'summary', 'bc414385-342e-49fc-b252-3529c935c63a', true, true, false
|
|
WHERE NOT EXISTS (
|
|
SELECT 1 FROM "public"."ingestions" WHERE "id" = 'bc414385-342e-49fc-b252-3529c935c63a'
|
|
);
|
|
|
|
INSERT INTO "public"."ingestions" ("name", "id", "brain_id_required", "file_1_required", "url_required")
|
|
SELECT 'audio_transcript', 'c502a10d-5a98-40f9-9699-a65d7ece37de', true, true, false
|
|
WHERE NOT EXISTS (
|
|
SELECT 1 FROM "public"."ingestions" WHERE "id" = 'c502a10d-5a98-40f9-9699-a65d7ece37de'
|
|
);
|
|
|
|
INSERT INTO "public"."ingestions" ("name", "id", "brain_id_required", "file_1_required", "url_required")
|
|
SELECT 'crawler', '948ae685-5710-4dde-bb80-36ce0097ca7b', true, false, true
|
|
WHERE NOT EXISTS (
|
|
SELECT 1 FROM "public"."ingestions" WHERE "id" = '948ae685-5710-4dde-bb80-36ce0097ca7b'
|
|
);
|