From 809d10441b30c95c433f798d33141e88464e012e Mon Sep 17 00:00:00 2001 From: Lazaros Toumanidis Date: Fri, 22 Nov 2024 12:49:22 +0200 Subject: [PATCH 1/2] updated: examples --- examples/01 - Standup Comedians/Standup Comedians 2.waldiez | 2 +- examples/07 - Group chat with RAG/RAG.waldiez | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/01 - Standup Comedians/Standup Comedians 2.waldiez b/examples/01 - Standup Comedians/Standup Comedians 2.waldiez index b200719..29c8ca0 100644 --- a/examples/01 - Standup Comedians/Standup Comedians 2.waldiez +++ b/examples/01 - Standup Comedians/Standup Comedians 2.waldiez @@ -1 +1 @@ -{"type":"flow","name":"Standup Comedians 2","description":"Standup comedians without user input.","tags":[],"requirements":[],"storageId":"id-275bec96-d329-4339-8a97-694c98b12365","createdAt":"2024-11-19T18:45:37.134Z","updatedAt":"2024-11-19T18:46:21.580Z","data":{"nodes":[{"id":"wm-0iyd8tEVJf8tOBxGpxyu5","type":"model","position":{"x":0,"y":0},"measured":{"width":182,"height":182},"selected":false,"hidden":true},{"id":"wa-U4ui55M3QKChKotgdJ4l_","type":"agent","position":{"x":960,"y":285},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false},{"id":"wa-PTUtCyA83vnrU0U7qyvfP","type":"agent","position":{"x":315,"y":330},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false}],"edges":[{"id":"we-JqOVghVNhrt_xEViw7iPM","source":"wa-PTUtCyA83vnrU0U7qyvfP","target":"wa-U4ui55M3QKChKotgdJ4l_","type":"chat","animated":false,"selected":false,"markerEnd":{"type":"arrowclosed","color":"#66bc57","width":10,"height":10},"style":{"stroke":"#66bc57","strokeWidth":3}}],"viewport":{"x":-67.5,"y":177,"zoom":1},"agents":{"users":[],"assistants":[{"id":"wa-U4ui55M3QKChKotgdJ4l_","type":"agent","agentType":"assistant","name":"Cathy","description":"Cathy is a standup comedian","tags":[],"requirements":[],"createdAt":"2024-10-28T07:52:16.374Z","updatedAt":"2024-10-28T07:52:51.507Z","data":{"systemMessage":"Your name is Cathy and you are a standup comedian","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-0iyd8tEVJf8tOBxGpxyu5"],"skills":[],"parentId":null,"nestedChats":[]}},{"id":"wa-PTUtCyA83vnrU0U7qyvfP","type":"agent","agentType":"assistant","name":"Joe","description":"Joe is a standup comedian","tags":[],"requirements":[],"createdAt":"2024-10-28T07:52:54.935Z","updatedAt":"2024-10-28T07:53:37.744Z","data":{"systemMessage":"Your name is Joe and you are a standup comedian. Start the next joke from the previous punchline.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-0iyd8tEVJf8tOBxGpxyu5"],"skills":[],"parentId":null,"nestedChats":[]}}],"managers":[],"rag_users":[]},"models":[{"id":"wm-0iyd8tEVJf8tOBxGpxyu5","type":"model","name":"gpt-3.5-turbo","description":"OpenAI GPT-3.5","tags":[],"requirements":[],"createdAt":"2024-10-28T07:51:28.827Z","updatedAt":"2024-10-28T07:52:10.234Z","data":{"apiKey":"REPLACE_ME","apiType":"openai","baseUrl":null,"temperature":0.3,"topP":null,"maxTokens":null,"defaultHeaders":{},"price":{"promptPricePer1k":null,"completionTokenPricePer1k":null}}}],"skills":[],"chats":[{"id":"we-JqOVghVNhrt_xEViw7iPM","data":{"source":"wa-PTUtCyA83vnrU0U7qyvfP","target":"wa-U4ui55M3QKChKotgdJ4l_","name":"Joe => Cathy","order":0,"description":"Joe starts the chat.","position":1,"clearHistory":false,"maxTurns":3,"message":{"type":"string","use_carryover":false,"content":"Hi Cathy, I'm Joe. Let's keep the jokes rolling.","context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}}]}} +{"type":"flow","name":"Standup Comedians 2","description":"Standup comedians without user input.","tags":[],"requirements":[],"storageId":"id-275bec96-d329-4339-8a97-694c98b12365","createdAt":"2024-11-19T18:45:37.134Z","updatedAt":"2024-11-19T18:46:21.580Z","data":{"nodes":[{"id":"wm-0iyd8tEVJf8tOBxGpxyu5","type":"model","position":{"x":0,"y":0},"measured":{"width":182,"height":182},"selected":false,"hidden":true},{"id":"wa-U4ui55M3QKChKotgdJ4l_","type":"agent","position":{"x":960,"y":285},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false},{"id":"wa-PTUtCyA83vnrU0U7qyvfP","type":"agent","position":{"x":315,"y":330},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false}],"edges":[{"id":"we-JqOVghVNhrt_xEViw7iPM","source":"wa-PTUtCyA83vnrU0U7qyvfP","target":"wa-U4ui55M3QKChKotgdJ4l_","type":"chat","animated":false,"selected":false,"markerEnd":{"type":"arrowclosed","color":"#66bc57","width":10,"height":10},"style":{"stroke":"#66bc57","strokeWidth":3}}],"viewport":{"x":-67.5,"y":177,"zoom":1},"agents":{"users":[],"assistants":[{"id":"wa-U4ui55M3QKChKotgdJ4l_","type":"agent","agentType":"assistant","name":"Cathy","description":"Cathy is a standup comedian","tags":[],"requirements":[],"createdAt":"2024-10-28T07:52:16.374Z","updatedAt":"2024-10-28T07:52:51.507Z","data":{"systemMessage":"Your name is Cathy and you are a standup comedian","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-0iyd8tEVJf8tOBxGpxyu5"],"skills":[],"parentId":null,"nestedChats":[]}},{"id":"wa-PTUtCyA83vnrU0U7qyvfP","type":"agent","agentType":"assistant","name":"Joe","description":"Joe is a standup comedian","tags":[],"requirements":[],"createdAt":"2024-10-28T07:52:54.935Z","updatedAt":"2024-10-28T07:53:37.744Z","data":{"systemMessage":"Your name is Joe and you are a standup comedian. Start the next joke from the previous punchline.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-0iyd8tEVJf8tOBxGpxyu5"],"skills":[],"parentId":null,"nestedChats":[]}}],"managers":[],"rag_users":[]},"models":[{"id":"wm-0iyd8tEVJf8tOBxGpxyu5","type":"model","name":"gpt-3.5-turbo","description":"OpenAI GPT-3.5","tags":[],"requirements":[],"createdAt":"2024-10-28T07:51:28.827Z","updatedAt":"2024-10-28T07:52:10.234Z","data":{"apiKey":"REPLACE_ME","apiType":"openai","baseUrl":null,"temperature":0.3,"topP":null,"maxTokens":null,"defaultHeaders":{},"price":{"promptPricePer1k":null,"completionTokenPricePer1k":null}}}],"skills":[],"chats":[{"id":"we-JqOVghVNhrt_xEViw7iPM","data":{"source":"wa-PTUtCyA83vnrU0U7qyvfP","target":"wa-U4ui55M3QKChKotgdJ4l_","name":"Joe => Cathy","order":1,"description":"Joe starts the chat.","position":1,"clearHistory":false,"maxTurns":3,"message":{"type":"string","use_carryover":false,"content":"Hi Cathy, I'm Joe. Let's keep the jokes rolling.","context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}}]}} diff --git a/examples/07 - Group chat with RAG/RAG.waldiez b/examples/07 - Group chat with RAG/RAG.waldiez index aa476b0..6b06f29 100644 --- a/examples/07 - Group chat with RAG/RAG.waldiez +++ b/examples/07 - Group chat with RAG/RAG.waldiez @@ -1 +1 @@ -{"type":"flow","name":"RAG","description":"Group Chat with Retrieval Augmented Generation","tags":[],"requirements":[],"storageId":"id-e4803c29-9860-4337-8bd9-9315ad1b37c2","createdAt":"2024-11-19T18:39:56.200Z","updatedAt":"2024-11-19T18:44:35.199Z","data":{"nodes":[{"id":"wa-4cqJ3plLYlrinACOMZ6sv","type":"agent","position":{"x":510,"y":270},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false},{"id":"wa-WSdgUrkfflipir-CfHL6m","type":"agent","position":{"x":1385,"y":140},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wm-R-OjiBhLr3EuKVebqofk0","type":"model","position":{"x":0,"y":0},"measured":{"width":182,"height":182},"selected":false,"hidden":true},{"id":"wa-g79qTziN4yABfy6v8of7t","type":"agent","position":{"x":1340,"y":425},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wa-6nqzwpyGp510BOiYXe9uX","type":"agent","position":{"x":975,"y":525},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wa-ik5EYjojwEqmwyBg5KDCb","type":"agent","position":{"x":960,"y":165},"hidden":false,"measured":{"width":217,"height":252},"selected":false,"dragging":false}],"edges":[{"id":"we-ie0GhVDTAXy0vDPUccCH_","source":"wa-4cqJ3plLYlrinACOMZ6sv","target":"wa-ik5EYjojwEqmwyBg5KDCb","type":"chat","animated":false,"selected":false,"style":{"stroke":"#e34561","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#e34561","width":10,"height":10},"hidden":false},{"id":"we-8sRnCD6QG-CGwmVN2qMDS","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-g79qTziN4yABfy6v8of7t","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false},{"id":"we-Ga3ffxxoGrkcjPPdoFkzp","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-WSdgUrkfflipir-CfHL6m","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false},{"id":"we-mcRL8rTVdXMUHJ7aLmLHo","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-6nqzwpyGp510BOiYXe9uX","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false}],"viewport":{"x":-326.5,"y":207,"zoom":1},"agents":{"users":[],"assistants":[{"id":"wa-WSdgUrkfflipir-CfHL6m","type":"agent","agentType":"assistant","name":"Senior Python Engineer","description":"Senior Python Engineer who can write code to solve problems and answer questions.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:07:45.969Z","updatedAt":"2024-09-27T18:10:06.472Z","data":{"systemMessage":"You are a senior python engineer, you provide python code to answer questions. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}},{"id":"wa-g79qTziN4yABfy6v8of7t","type":"agent","agentType":"assistant","name":"Product Manager","description":"Product Manager who can design and plan the project.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:09:12.354Z","updatedAt":"2024-09-27T18:09:56.011Z","data":{"systemMessage":"You are a product manager. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}},{"id":"wa-6nqzwpyGp510BOiYXe9uX","type":"agent","agentType":"assistant","name":"Code Reviewer","description":"Code Reviewer who can review the code.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:10:27.266Z","updatedAt":"2024-09-27T18:10:13.060Z","data":{"systemMessage":"You are a code reviewer. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}}],"managers":[{"id":"wa-ik5EYjojwEqmwyBg5KDCb","type":"agent","agentType":"manager","name":"Manager","description":"A group chat manager agent","tags":[],"requirements":[],"createdAt":"2024-09-27T17:11:40.240Z","updatedAt":"2024-09-28T12:15:43.712Z","data":{"systemMessage":null,"humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":null,"nestedChats":[],"maxRound":12,"adminName":"boss_assistant","enableClearHistory":false,"sendIntroductions":false,"speakers":{"selectionMethod":"round_robin","selectionCustomMethod":"","maxRetriesForSelecting":null,"selectionMode":"repeat","allowRepeat":true,"allowedOrDisallowedTransitions":{},"transitionsType":"allowed"}}}],"rag_users":[{"id":"wa-4cqJ3plLYlrinACOMZ6sv","type":"agent","agentType":"rag_user","name":"Boss Assistant","description":"Assistant who has extra content retrieval power for solving difficult problems.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:06:45.188Z","updatedAt":"2024-10-28T21:31:32.972Z","data":{"systemMessage":"","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":"Reply `TERMINATE` if the task is done.","maxConsecutiveAutoReply":3,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":null,"nestedChats":[],"retrieveConfig":{"task":"code","vectorDb":"chroma","dbConfig":{"model":"all-MiniLM-L6-v2","useMemory":false,"useLocalStorage":true,"localStoragePath":"documents","connectionUrl":null},"docsPath":["https://raw.githubusercontent.com/microsoft/FLAML/main/website/docs/Examples/Integrate%20-%20Spark.md"],"newDocs":true,"model":null,"chunkTokenSize":1000,"contextMaxTokens":null,"chunkMode":"multi_lines","mustBreakAtEmptyLine":true,"useCustomEmbedding":false,"embeddingFunction":null,"customizedPrompt":null,"customizedAnswerPrefix":null,"updateContext":true,"collectionName":"groupchat","getOrCreate":true,"overwrite":false,"useCustomTokenCount":false,"customTokenCountFunction":null,"useCustomTextSplit":false,"customTextSplitFunction":null,"customTextTypes":[],"recursive":true,"distanceThreshold":-1,"n_results":3}}}]},"models":[{"id":"wm-R-OjiBhLr3EuKVebqofk0","type":"model","name":"gpt-3.5-turbo","description":"OpenAI GPT-3.5","tags":[],"requirements":[],"createdAt":"2024-10-28T07:23:33.793Z","updatedAt":"2024-10-28T21:32:05.059Z","data":{"apiKey":"REPLACE_ME","apiType":"openai","baseUrl":null,"temperature":null,"topP":null,"maxTokens":null,"defaultHeaders":{},"price":{"promptPricePer1k":null,"completionTokenPricePer1k":null}}}],"skills":[],"chats":[{"id":"we-ie0GhVDTAXy0vDPUccCH_","data":{"source":"wa-4cqJ3plLYlrinACOMZ6sv","target":"wa-ik5EYjojwEqmwyBg5KDCb","name":"Boss => Manager","order":0,"description":"The boss asks the manager about parallel training in FLAML","position":1,"clearHistory":true,"maxTurns":null,"message":{"type":"rag_message_generator","use_carryover":false,"content":null,"context":{"problem":"How to use spark for parallel training in FLAML? Give me sample code."}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-8sRnCD6QG-CGwmVN2qMDS","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-g79qTziN4yABfy6v8of7t","name":"Chat","order":-1,"description":"New connection","position":1,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-Ga3ffxxoGrkcjPPdoFkzp","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-WSdgUrkfflipir-CfHL6m","name":"Chat","order":-1,"description":"New connection","position":2,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-mcRL8rTVdXMUHJ7aLmLHo","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-6nqzwpyGp510BOiYXe9uX","name":"Chat","order":-1,"description":"New connection","position":3,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}}]}} +{"type":"flow","name":"RAG","description":"Group Chat with Retrieval Augmented Generation","tags":[],"requirements":[],"storageId":"id-e4803c29-9860-4337-8bd9-9315ad1b37c2","createdAt":"2024-11-19T18:39:56.200Z","updatedAt":"2024-11-19T18:44:35.199Z","data":{"nodes":[{"id":"wa-4cqJ3plLYlrinACOMZ6sv","type":"agent","position":{"x":510,"y":270},"hidden":false,"measured":{"width":206,"height":216},"selected":false,"dragging":false},{"id":"wa-WSdgUrkfflipir-CfHL6m","type":"agent","position":{"x":1385,"y":140},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wm-R-OjiBhLr3EuKVebqofk0","type":"model","position":{"x":0,"y":0},"measured":{"width":182,"height":182},"selected":false,"hidden":true},{"id":"wa-g79qTziN4yABfy6v8of7t","type":"agent","position":{"x":1340,"y":425},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wa-6nqzwpyGp510BOiYXe9uX","type":"agent","position":{"x":975,"y":525},"hidden":false,"measured":{"width":8,"height":15},"selected":false,"dragging":false},{"id":"wa-ik5EYjojwEqmwyBg5KDCb","type":"agent","position":{"x":960,"y":165},"hidden":false,"measured":{"width":217,"height":252},"selected":false,"dragging":false}],"edges":[{"id":"we-ie0GhVDTAXy0vDPUccCH_","source":"wa-4cqJ3plLYlrinACOMZ6sv","target":"wa-ik5EYjojwEqmwyBg5KDCb","type":"chat","animated":false,"selected":false,"style":{"stroke":"#e34561","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#e34561","width":10,"height":10},"hidden":false},{"id":"we-8sRnCD6QG-CGwmVN2qMDS","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-g79qTziN4yABfy6v8of7t","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false},{"id":"we-Ga3ffxxoGrkcjPPdoFkzp","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-WSdgUrkfflipir-CfHL6m","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false},{"id":"we-mcRL8rTVdXMUHJ7aLmLHo","type":"group","source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-6nqzwpyGp510BOiYXe9uX","animated":false,"style":{"stroke":"#ed8a34","strokeWidth":3},"markerEnd":{"type":"arrowclosed","color":"#ed8a34","width":10,"height":10},"hidden":false}],"viewport":{"x":-326.5,"y":207,"zoom":1},"agents":{"users":[],"assistants":[{"id":"wa-WSdgUrkfflipir-CfHL6m","type":"agent","agentType":"assistant","name":"Senior Python Engineer","description":"Senior Python Engineer who can write code to solve problems and answer questions.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:07:45.969Z","updatedAt":"2024-09-27T18:10:06.472Z","data":{"systemMessage":"You are a senior python engineer, you provide python code to answer questions. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}},{"id":"wa-g79qTziN4yABfy6v8of7t","type":"agent","agentType":"assistant","name":"Product Manager","description":"Product Manager who can design and plan the project.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:09:12.354Z","updatedAt":"2024-09-27T18:09:56.011Z","data":{"systemMessage":"You are a product manager. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}},{"id":"wa-6nqzwpyGp510BOiYXe9uX","type":"agent","agentType":"assistant","name":"Code Reviewer","description":"Code Reviewer who can review the code.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:10:27.266Z","updatedAt":"2024-09-27T18:10:13.060Z","data":{"systemMessage":"You are a code reviewer. Reply `TERMINATE` in the end when everything is done.","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":"wa-ik5EYjojwEqmwyBg5KDCb","nestedChats":[]}}],"managers":[{"id":"wa-ik5EYjojwEqmwyBg5KDCb","type":"agent","agentType":"manager","name":"Manager","description":"A group chat manager agent","tags":[],"requirements":[],"createdAt":"2024-09-27T17:11:40.240Z","updatedAt":"2024-09-28T12:15:43.712Z","data":{"systemMessage":null,"humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":null,"maxConsecutiveAutoReply":null,"termination":{"type":"none","keywords":[],"criterion":null,"methodContent":null},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":null,"nestedChats":[],"maxRound":12,"adminName":"boss_assistant","enableClearHistory":false,"sendIntroductions":false,"speakers":{"selectionMethod":"round_robin","selectionCustomMethod":"","maxRetriesForSelecting":null,"selectionMode":"repeat","allowRepeat":true,"allowedOrDisallowedTransitions":{},"transitionsType":"allowed"}}}],"rag_users":[{"id":"wa-4cqJ3plLYlrinACOMZ6sv","type":"agent","agentType":"rag_user","name":"Boss Assistant","description":"Assistant who has extra content retrieval power for solving difficult problems.","tags":[],"requirements":[],"createdAt":"2024-09-27T17:06:45.188Z","updatedAt":"2024-10-28T21:31:32.972Z","data":{"systemMessage":"","humanInputMode":"NEVER","codeExecutionConfig":false,"agentDefaultAutoReply":"Reply `TERMINATE` if the task is done.","maxConsecutiveAutoReply":3,"termination":{"type":"keyword","keywords":["TERMINATE"],"criterion":"ending","methodContent":""},"teachability":{"enabled":false,"verbosity":0,"resetDb":false,"recallThreshold":0,"maxMumRetrievals":0},"modelIds":["wm-R-OjiBhLr3EuKVebqofk0"],"skills":[],"parentId":null,"nestedChats":[],"retrieveConfig":{"task":"code","vectorDb":"chroma","dbConfig":{"model":"all-MiniLM-L6-v2","useMemory":false,"useLocalStorage":true,"localStoragePath":"documents","connectionUrl":null},"docsPath":["https://raw.githubusercontent.com/microsoft/FLAML/main/website/docs/Examples/Integrate%20-%20Spark.md"],"newDocs":true,"model":null,"chunkTokenSize":1000,"contextMaxTokens":null,"chunkMode":"multi_lines","mustBreakAtEmptyLine":true,"useCustomEmbedding":false,"embeddingFunction":null,"customizedPrompt":null,"customizedAnswerPrefix":null,"updateContext":true,"collectionName":"groupchat","getOrCreate":true,"overwrite":false,"useCustomTokenCount":false,"customTokenCountFunction":null,"useCustomTextSplit":false,"customTextSplitFunction":null,"customTextTypes":[],"recursive":true,"distanceThreshold":-1,"n_results":3}}}]},"models":[{"id":"wm-R-OjiBhLr3EuKVebqofk0","type":"model","name":"gpt-3.5-turbo","description":"OpenAI GPT-3.5","tags":[],"requirements":[],"createdAt":"2024-10-28T07:23:33.793Z","updatedAt":"2024-10-28T21:32:05.059Z","data":{"apiKey":"REPLACE_ME","apiType":"openai","baseUrl":null,"temperature":null,"topP":null,"maxTokens":null,"defaultHeaders":{},"price":{"promptPricePer1k":null,"completionTokenPricePer1k":null}}}],"skills":[],"chats":[{"id":"we-ie0GhVDTAXy0vDPUccCH_","data":{"source":"wa-4cqJ3plLYlrinACOMZ6sv","target":"wa-ik5EYjojwEqmwyBg5KDCb","name":"Boss => Manager","order":1,"description":"The boss asks the manager about parallel training in FLAML","position":1,"clearHistory":true,"maxTurns":null,"message":{"type":"rag_message_generator","use_carryover":false,"content":null,"context":{"problem":"How to use spark for parallel training in FLAML? Give me sample code."}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-8sRnCD6QG-CGwmVN2qMDS","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-g79qTziN4yABfy6v8of7t","name":"Chat","order":-1,"description":"New connection","position":1,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-Ga3ffxxoGrkcjPPdoFkzp","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-WSdgUrkfflipir-CfHL6m","name":"Chat","order":-1,"description":"New connection","position":2,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}},{"id":"we-mcRL8rTVdXMUHJ7aLmLHo","data":{"source":"wa-ik5EYjojwEqmwyBg5KDCb","target":"wa-6nqzwpyGp510BOiYXe9uX","name":"Chat","order":-1,"description":"New connection","position":3,"clearHistory":true,"maxTurns":null,"message":{"type":"none","use_carryover":false,"content":null,"context":{}},"nestedChat":{"message":null,"reply":null},"summary":{"method":"last_msg","prompt":"","args":{}}}}]}} From f1a4a97bc6f448c1e8d0fa5af74c5be8f0e85440 Mon Sep 17 00:00:00 2001 From: Lazaros Toumanidis Date: Fri, 22 Nov 2024 12:57:32 +0200 Subject: [PATCH 2/2] bump to 0.1.12 --- CHANGELOG.md | 4 ++++ package.json | 4 ++-- yarn.lock | 10 +++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2eecdef..bf741a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.1.12 + +- Updated @waldiez/react to v0.1.12 + ## v0.1.11 - Updated waldiez to v0.1.10 diff --git a/package.json b/package.json index 71641fa..3c9a009 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@waldiez/jupyter", - "version": "0.1.11", + "version": "0.1.12", "description": "A Waldiez JupyterLab extension.", "keywords": [ "waldiez", @@ -88,7 +88,7 @@ "@jupyterlab/ui-components-extension": "^4.3.1", "@lumino/algorithm": "^2.0.2", "@lumino/widgets": "^2.5.0", - "@waldiez/react": "0.1.11" + "@waldiez/react": "0.1.12" }, "devDependencies": { "@jest/globals": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index 195c856..86777c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4866,7 +4866,7 @@ __metadata: "@types/react-addons-linked-state-mixin": ^0.14.27 "@typescript-eslint/eslint-plugin": ^8.15.0 "@typescript-eslint/parser": ^8.15.0 - "@waldiez/react": 0.1.11 + "@waldiez/react": 0.1.12 add: ^2.0.6 copyfiles: ^2.4.1 css-loader: ^7.1.2 @@ -4895,9 +4895,9 @@ __metadata: languageName: unknown linkType: soft -"@waldiez/react@npm:0.1.11": - version: 0.1.11 - resolution: "@waldiez/react@npm:0.1.11" +"@waldiez/react@npm:0.1.12": + version: 0.1.12 + resolution: "@waldiez/react@npm:0.1.12" dependencies: "@monaco-editor/react": ^4.6.0 "@xyflow/react": ^12.3.5 @@ -4911,7 +4911,7 @@ __metadata: react-select: ^5.8.3 zundo: ^2.3.0 zustand: ^5.0.1 - checksum: 66d627b1b3607276a138a94bdbade61916ad2cacf98e32426d297c1a7cdb6d21874194ee0260bc55a68a690eeac05e8e5710bcbbf7446e0f803d994999005e14 + checksum: 55fc0be9b3b29eee9d51ec79e5a24fd947c9259d77d100299b1dcef15e2f29a6f90255472f19faf7979666ccdd428f5fda3ea9d38d11b8b1bea2ced2283a1213 languageName: node linkType: hard