Refactoring of backend server and reranker utils.#207
Conversation
…eshold Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
mkumatag
left a comment
There was a problem hiding this comment.
make sure we bump the version in the makefile and template to not to override the existing image.
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
Bumped up the version. |
|
can we please add the changes to enable debug log for backend server? |
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
This is what you meant? I will check if backend reads it. |
|
@dharaneeshvrd Looks like back-end already reads this env variable. In future we should probably offload this to |
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
|
yes @Niharika0306 please confirm once. |
Yes, we are always overriding it. These are some public instance links that was pointed by research team. |
|
@iv1111 We have to move this block https://github.com/IBM/project-ai-services/blob/main/spyre-rag/src/retrieve/backend_server.py#L198toL205 before importing other modules, to propagate the log level to those modules, can you please take care of this as well? |
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
* moved logging to top in backend_server.py Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
I removed the default values from reranker utils. As for invocation, I removed the whole main function there, it is not needed. |
|
@dharaneeshvrd, @Niharika0306 PTAL and each approve if changes are ok. |
Fixing a typo. Co-authored-by: Dharaneeshwaran Ravichandran <17947543+dharaneeshvrd@users.noreply.github.com> Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
please do this. |
Signed-off-by: Isgandar Valizada <isgandar.valizada@de.ibm.com>
dharaneeshvrd
left a comment
There was a problem hiding this comment.
Need approval from @mkumatag
mainfunction