diff --git a/.env.example b/.env.example index f370e57..edb3354 100644 --- a/.env.example +++ b/.env.example @@ -361,3 +361,25 @@ TOOL_POLICIES_PATH=./config/tool_policies.yaml SKIP_RAG_WHEN_MCP_SUFFICIENT=true MCP_TOOL_CACHE_ENABLED=true MCP_TOOL_CACHE_TTL_SECONDS=60 + +############################################################################### +# RAG provider selection (mutually exclusive at runtime) +############################################################################### +# standard = RAG original do agent_framework_oci (default, backward compatible) +# kbdb = KBDB enterprise via PKG_KB_SERVING.SEARCH_KNOWLEDGE_BASE +RAG_PROVIDER=kbdb + +# Somente usados quando RAG_PROVIDER=kbdb. Se vazios, credenciais caem para ADB_*. +KBDB_DB_USER= +KBDB_DB_PASSWORD= +KBDB_DB_DSN=db_dsn_high +KBDB_DB_WALLET_LOCATION=/ORACLE/Wallet_kbdb +KBDB_DB_WALLET_PASSWORD= +KBDB_SEARCH_TYPE=hybrid +KBDB_NODE_EXPANSION=true +KBDB_NODE_MAX_RELATED=8 +KBDB_GRAPH_CROSS_REF=false +KBDB_MAX_CROSS_REF_HOPS=1 +KBDB_DOCUMENT_TYPE=customer_safe +KBDB_METADATA_JSON= +KBDB_MIN_SCORE=0.5 \ No newline at end of file diff --git a/agent_framework_oci/.env.example b/agent_framework_oci/.env.example index d90a4b2..6a867c8 100644 --- a/agent_framework_oci/.env.example +++ b/agent_framework_oci/.env.example @@ -212,3 +212,25 @@ LONG_TERM_MEMORY_INJECT_CONTEXT=true # Keep disabled in the generic framework; agents may enable their own YAML mapping. OBSERVABILITY_CODE_MAPPING_ENABLED=false OBSERVABILITY_CODE_MAPPING_PATH= + +############################################################################### +# RAG provider selection (mutually exclusive at runtime) +############################################################################### +# standard = RAG original do agent_framework_oci (default, backward compatible) +# kbdb = KBDB enterprise via PKG_KB_SERVING.SEARCH_KNOWLEDGE_BASE +RAG_PROVIDER=standard + +# Somente usados quando RAG_PROVIDER=kbdb. Se vazios, credenciais caem para ADB_*. +KBDB_DB_USER= +KBDB_DB_PASSWORD= +KBDB_DB_DSN= +KBDB_DB_WALLET_LOCATION= +KBDB_DB_WALLET_PASSWORD= +KBDB_SEARCH_TYPE=hybrid +KBDB_NODE_EXPANSION=true +KBDB_NODE_MAX_RELATED=8 +KBDB_GRAPH_CROSS_REF=false +KBDB_MAX_CROSS_REF_HOPS=1 +KBDB_DOCUMENT_TYPE=customer_safe +KBDB_METADATA_JSON= +KBDB_MIN_SCORE= diff --git a/agent_framework_oci/.idea/workspace.xml b/agent_framework_oci/.idea/workspace.xml index 03a129f..f9cde5f 100644 --- a/agent_framework_oci/.idea/workspace.xml +++ b/agent_framework_oci/.idea/workspace.xml @@ -50,21 +50,102 @@ "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true", "ModuleVcsDetector.initialDetectionPerformed": "true", "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true", "RunOnceActivity.git.unshallow": "true", "RunOnceActivity.typescript.service.memoryLimit.init": "true", "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "Shell Script.agent_frontend.executor": "Run", + "Shell Script.agent_template_backend.executor": "Run", + "Shell Script.mcp_gateway.executor": "Run", + "Shell Script.mcp_server.executor": "Run", "git-widget-placeholder": "master", "kotlin-language-version-configured": "true", - "last_opened_file_path": "D:/Dropbox/ORACLE/TIM/FY27/Wave_2/Ajuste para manter o agente atual ou voltar ao roteamento/agent_framework_oci", + "last_opened_file_path": "C:/Asus_Projects/kbdb/agent_framework_oci/templates/agent_template_backend", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", "node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)", "nodejs_package_manager_path": "npm", - "settings.editor.selected.configurable": "configurable.group.appearance", + "project.structure.last.edited": "Project", + "project.structure.proportion": "0.15", + "project.structure.side.proportion": "0.2", + "settings.editor.selected.configurable": "advanced.settings", "vue.rearranger.settings.migration": "true" } }]]> + + + + + + + + + + + + + + + + + + + + + @@ -89,9 +170,10 @@ - - - + + + +