- RAG Specialist fully implemented new style
- Selection Specialist - VA version - fully implemented - Correction of TRAICIE_ROLE_DEFINITION_SPECIALIST - adaptation to new style - Removal of 'debug' statements
This commit is contained in:
@@ -108,6 +108,5 @@ def get_retriever_class(retriever_type: str, type_version: str):
|
||||
module_path = f"eveai_chat_workers.retrievers.{partner}.{retriever_type}.{major_minor}"
|
||||
else:
|
||||
module_path = f"eveai_chat_workers.retrievers.globals.{retriever_type}.{major_minor}"
|
||||
current_app.logger.debug(f"Importing retriever class from {module_path}")
|
||||
module = importlib.import_module(module_path)
|
||||
return module.RetrieverExecutor
|
||||
@@ -116,8 +116,8 @@ class RetrieverExecutor(BaseRetriever):
|
||||
))
|
||||
self.log_tuning('retrieve', {
|
||||
"arguments": arguments.model_dump(),
|
||||
"similarity_threshold": self.similarity_threshold,
|
||||
"k": self.k,
|
||||
"similarity_threshold": similarity_threshold,
|
||||
"k": k,
|
||||
"query": compiled_query,
|
||||
"Raw Results": str(results),
|
||||
"Processed Results": [r.model_dump() for r in processed_results],
|
||||
|
||||
Reference in New Issue
Block a user