mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
add: customize op in config
This commit is contained in:
parent
b2ac7cb6ca
commit
c6bc749ab5
1 changed files with 16 additions and 0 deletions
|
|
@ -123,6 +123,22 @@ flow:
|
|||
description: "user query"
|
||||
required: true
|
||||
|
||||
op:
|
||||
# retriever ops
|
||||
rerank_memory_op:
|
||||
backend: rerank_memory_op
|
||||
llm: default
|
||||
params:
|
||||
enable_llm_rerank: true
|
||||
enable_score_filter: false
|
||||
top_k: 5
|
||||
|
||||
rewrite_memory_op:
|
||||
backend: rewrite_memory_op
|
||||
llm: default
|
||||
params:
|
||||
enable_llm_rewrite: true
|
||||
|
||||
llm:
|
||||
default:
|
||||
backend: openai_compatible
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue