"description":"A chat assistant template that integrates information extracted from a knowledge base and web searches to respond to queries. Let's begin by setting up your knowledge base in 'Retrieval'!",
"prompt":"Role: You are an intelligent assistant. \nTask: Chat with user. Answer the question based on the provided content from: Knowledge Base, Wikipedia, Duckduckgo, Baidu.\nRequirements:\n - Answer should be in markdown format.\n - Summarize and label the sources of the cited content separately: (Knowledge Base, Wikipedia, Duckduckgo, Baidu).\n - Attach URL links to the content which is quoted from Wikipedia, DuckDuckGo or Baidu.\n - Do not make thing up when there's no relevant information to user's question. \n\n## Knowledge base content\n {kb_input}\n\n\n## Wikipedia content\n{wikipedia}\n\n\n## Duckduckgo content\n{duckduckgo}\n\n\n## Baidu content\n{baidu}",
"temperature":0.1,
"top_p":0.3
}
},
"upstream":[
"DuckDuckGo:SoftButtonsRefuse",
"Baidu:OliveAreasCall",
"Wikipedia:WittyRiceLearn",
"Retrieval:BetterRocksJump"
]
},
"KeywordExtract:LegalIdeasTurn":{
"downstream":[
"Baidu:OliveAreasCall",
"DuckDuckGo:SoftButtonsRefuse",
"Wikipedia:WittyRiceLearn"
],
"obj":{
"component_name":"KeywordExtract",
"params":{
"frequencyPenaltyEnabled":true,
"frequency_penalty":0.7,
"llm_id":"deepseek-chat",
"maxTokensEnabled":true,
"max_tokens":256,
"parameter":"Precise",
"presencePenaltyEnabled":true,
"presence_penalty":0.4,
"temperature":0.1,
"temperatureEnabled":true,
"topPEnabled":true,
"top_n":2,
"top_p":0.3
}
},
"upstream":["Answer:PoorMapsCover"]
},
"Retrieval:BetterRocksJump":{
"downstream":["Generate:FullYearsStick"],
"obj":{
"component_name":"Retrieval",
"params":{
"empty_response":"The answer you want was not found in the knowledge base!",
"empty_response":"The answer you want was not found in the knowledge base!",
"kb_ids":[],
"keywords_similarity_weight":0.3,
"similarity_threshold":0.2,
"top_n":8
},
"label":"Retrieval",
"name":"Search KB"
},
"dragging":false,
"height":100,
"id":"Retrieval:BetterRocksJump",
"position":{
"x":-453.6381242126441,
"y":245.01328822547293
},
"positionAbsolute":{
"x":-453.6381242126441,
"y":245.01328822547293
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"logicNode",
"width":100
},
{
"data":{
"form":{
"language":"en",
"top_n":2
},
"label":"Wikipedia",
"name":"Wikipedia"
},
"dragging":false,
"height":100,
"id":"Wikipedia:WittyRiceLearn",
"position":{
"x":-552.2594439551717,
"y":155.22722562174718
},
"positionAbsolute":{
"x":-552.2594439551717,
"y":155.22722562174718
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"ragNode",
"width":100
},
{
"data":{
"form":{
"top_n":2
},
"label":"Baidu",
"name":"Baidu"
},
"dragging":false,
"height":100,
"id":"Baidu:OliveAreasCall",
"position":{
"x":-555.1646448972449,
"y":22.458226784453046
},
"positionAbsolute":{
"x":-555.1646448972449,
"y":22.458226784453046
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"ragNode",
"width":100
},
{
"data":{
"form":{
"channel":"text",
"top_n":2
},
"label":"DuckDuckGo",
"name":"DuckDuckGo"
},
"dragging":false,
"height":100,
"id":"DuckDuckGo:SoftButtonsRefuse",
"position":{
"x":-554.7669080287701,
"y":-111.86266788597959
},
"positionAbsolute":{
"x":-554.7669080287701,
"y":-111.86266788597959
},
"selected":false,
"sourcePosition":"right",
"targetPosition":"left",
"type":"ragNode",
"width":100
},
{
"data":{
"form":{
"cite":true,
"frequencyPenaltyEnabled":true,
"frequency_penalty":0.7,
"llm_id":"deepseek-chat",
"message_history_window_size":12,
"parameter":"Precise",
"parameters":[
{
"component_id":"Retrieval:BetterRocksJump",
"id":"69415446-49bf-4d4b-8ec9-ac86066f7709",
"key":"kb_input"
},
{
"component_id":"DuckDuckGo:SoftButtonsRefuse",
"id":"83363c2a-00a8-402f-a45c-ddc4097d7d8b",
"key":"duckduckgo"
},
{
"component_id":"Wikipedia:WittyRiceLearn",
"id":"92c1e8e4-1597-4e65-a08d-c8cac4ac150f",
"key":"wikipedia"
},
{
"component_id":"Baidu:OliveAreasCall",
"id":"19b5445a-7a6e-4a26-9aa9-47dfe3a03bea",
"key":"baidu"
}
],
"presencePenaltyEnabled":true,
"presence_penalty":0.4,
"prompt":"Role: You are an intelligent assistant. \nTask: Chat with user. Answer the question based on the provided content from: Knowledge Base, Wikipedia, Duckduckgo, Baidu.\nRequirements:\n - Answer should be in markdown format.\n - Answer should include all sources(Knowledge Base, Wikipedia, Duckduckgo, Baidu) as long as they are relevant, and label the sources of the cited content separately.\n - Attach URL links to the content which is quoted from Wikipedia, DuckDuckGo or Baidu.\n - Do not make thing up when there's no relevant information to user's question. \n\n## Knowledge base content\n {kb_input}\n\n\n## Wikipedia content\n{wikipedia}\n\n\n## Duckduckgo content\n{duckduckgo}\n\n\n## Baidu content\n{baidu}",