From 62a9596cc16db90fe935d490c83e861ae578fe43 Mon Sep 17 00:00:00 2001 From: AlexNikic Date: Tue, 15 Apr 2025 17:23:35 +0100 Subject: [PATCH 1/4] api now sends and receives topics for question tagging --- .gitmodules | 3 +-- harmony | 2 +- harmony_api/routers/text_router.py | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index d6eed2d..03d9d8d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,5 +4,4 @@ branch = main [submodule "harmony"] path = harmony - url = https://github.com/harmonydata/harmony.git - branch = main + url = https://github.com/AlexNikic/harmony.git diff --git a/harmony b/harmony index b5f4087..5cd6452 160000 --- a/harmony +++ b/harmony @@ -1 +1 @@ -Subproject commit b5f40874a63657e74028806d25f27b1a0d677a86 +Subproject commit 5cd6452cc05bf2fe67f28c504e1cc388e6a6f750 diff --git a/harmony_api/routers/text_router.py b/harmony_api/routers/text_router.py index 164e109..bf12d60 100644 --- a/harmony_api/routers/text_router.py +++ b/harmony_api/routers/text_router.py @@ -263,6 +263,7 @@ def match( match_response_from_library = match_instruments_with_function( instruments=instruments, query=query, + topics=match_body.topics, mhc_questions=mhc_questions, mhc_all_metadatas=mhc_all_metadata, mhc_embeddings=mhc_embeddings, From bd06ab34dea9593879a0fb16782a1ff864d336c4 Mon Sep 17 00:00:00 2001 From: AlexNikic Date: Tue, 15 Apr 2025 17:44:32 +0100 Subject: [PATCH 2/4] updated submodule --- harmony | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harmony b/harmony index 5cd6452..7c6e1de 160000 --- a/harmony +++ b/harmony @@ -1 +1 @@ -Subproject commit 5cd6452cc05bf2fe67f28c504e1cc388e6a6f750 +Subproject commit 7c6e1deae9305ef93949da31a654953d3e02628c From af637e2ba0bb58b8f09c0166898b936d4d483c4e Mon Sep 17 00:00:00 2001 From: AlexNikic Date: Mon, 21 Apr 2025 13:36:17 +0100 Subject: [PATCH 3/4] changed submodule to harmony:main --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 03d9d8d..c6e0655 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,4 +4,4 @@ branch = main [submodule "harmony"] path = harmony - url = https://github.com/AlexNikic/harmony.git + url = https://github.com/harmonydata/harmony From 3032434a078ea853cab39c0def88ebff6512fd5c Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Tue, 22 Apr 2025 09:45:07 +0100 Subject: [PATCH 4/4] Update .gitmodules --- .gitmodules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index c6e0655..d6eed2d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,4 +4,5 @@ branch = main [submodule "harmony"] path = harmony - url = https://github.com/harmonydata/harmony + url = https://github.com/harmonydata/harmony.git + branch = main