diff --git a/examples/PAL-Math Tool.json b/examples/PAL-Math Tool.json deleted file mode 100644 index 234f032..0000000 --- a/examples/PAL-Math Tool.json +++ /dev/null @@ -1,414 +0,0 @@ -{ - "name": "PAL-Math Tool", - "description": "Agent that can do math using Python as the calculator.", - "data": { - "nodes": [ - { - "width": 384, - "height": 267, - "id": "PAL-MATH-c1cVS", - "type": "genericNode", - "position": { - "x": 1010.2946637653781, - "y": 489.9545691531438 - }, - "data": { - "type": "PAL-MATH", - "node": { - "template": { - "llm": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "llm", - "advanced": false, - "type": "BaseLanguageModel", - "list": false - }, - "_type": "PAL-MATH" - }, - "description": "A language model that is really good at solving complex word math problems. Input should be a fully worded hard word math problem.", - "base_classes": [ - "Tool" - ] - }, - "id": "PAL-MATH-c1cVS", - "value": null - }, - "selected": true, - "positionAbsolute": { - "x": 1010.2946637653781, - "y": 489.9545691531438 - }, - "dragging": false - }, - { - "width": 384, - "height": 611, - "id": "ChatOpenAI-o9nf4", - "type": "genericNode", - "position": { - "x": 402.24327814345384, - "y": 427.253125629099 - }, - "data": { - "type": "ChatOpenAI", - "node": { - "template": { - "lc_kwargs": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "lc_kwargs", - "advanced": true, - "type": "code", - "list": false - }, - "verbose": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": false, - "password": false, - "name": "verbose", - "advanced": false, - "type": "bool", - "list": false - }, - "callbacks": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "callbacks", - "advanced": false, - "type": "langchain.callbacks.base.BaseCallbackHandler", - "list": true - }, - "client": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "client", - "advanced": false, - "type": "Any", - "list": false - }, - "model_name": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "value": "gpt-3.5-turbo-0613", - "password": false, - "options": [ - "gpt-3.5-turbo-0613", - "gpt-3.5-turbo", - "gpt-3.5-turbo-16k-0613", - "gpt-3.5-turbo-16k", - "gpt-4-0613", - "gpt-4-32k-0613", - "gpt-4", - "gpt-4-32k" - ], - "name": "model_name", - "advanced": false, - "type": "str", - "list": true - }, - "temperature": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "value": 0.7, - "password": false, - "name": "temperature", - "advanced": false, - "type": "float", - "list": false - }, - "model_kwargs": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "model_kwargs", - "advanced": true, - "type": "code", - "list": false - }, - "openai_api_key": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "value": "", - "password": true, - "name": "openai_api_key", - "display_name": "OpenAI API Key", - "advanced": false, - "type": "str", - "list": false - }, - "openai_api_base": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "openai_api_base", - "display_name": "OpenAI API Base", - "advanced": false, - "type": "str", - "list": false - }, - "openai_organization": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "openai_organization", - "display_name": "OpenAI Organization", - "advanced": false, - "type": "str", - "list": false - }, - "openai_proxy": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "openai_proxy", - "display_name": "OpenAI Proxy", - "advanced": false, - "type": "str", - "list": false - }, - "request_timeout": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "request_timeout", - "advanced": false, - "type": "float", - "list": false - }, - "max_retries": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": 6, - "password": false, - "name": "max_retries", - "advanced": false, - "type": "int", - "list": false - }, - "streaming": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": false, - "password": false, - "name": "streaming", - "advanced": false, - "type": "bool", - "list": false - }, - "n": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": 1, - "password": false, - "name": "n", - "advanced": false, - "type": "int", - "list": false - }, - "max_tokens": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": true, - "name": "max_tokens", - "advanced": false, - "type": "int", - "list": false, - "value": "" - }, - "_type": "ChatOpenAI" - }, - "description": "Wrapper around OpenAI Chat large language models.", - "base_classes": [ - "Serializable", - "BaseLanguageModel", - "ChatOpenAI", - "BaseChatModel" - ], - "display_name": "ChatOpenAI" - }, - "id": "ChatOpenAI-o9nf4", - "value": null - }, - "selected": false, - "positionAbsolute": { - "x": 402.24327814345384, - "y": 427.253125629099 - }, - "dragging": false - }, - { - "width": 384, - "height": 387, - "id": "AgentInitializer-VMWEl", - "type": "genericNode", - "position": { - "x": 1635.32985960896, - "y": 625.0980591412003 - }, - "data": { - "type": "AgentInitializer", - "node": { - "template": { - "agent": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "value": "openai-functions", - "password": false, - "options": [ - "zero-shot-react-description", - "react-docstore", - "self-ask-with-search", - "conversational-react-description", - "openai-functions" - ], - "name": "agent", - "advanced": false, - "type": "str", - "list": true - }, - "memory": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "memory", - "advanced": false, - "type": "BaseChatMemory", - "list": false - }, - "tools": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "tools", - "advanced": false, - "type": "Tool", - "list": true - }, - "llm": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "llm", - "display_name": "LLM", - "advanced": false, - "type": "BaseLanguageModel", - "list": false - }, - "_type": "initialize_agent" - }, - "description": "Construct a zero shot agent from an LLM and tools.", - "base_classes": [ - "AgentExecutor", - "function" - ], - "display_name": "AgentInitializer" - }, - "id": "AgentInitializer-VMWEl", - "value": null - }, - "selected": false, - "positionAbsolute": { - "x": 1635.32985960896, - "y": 625.0980591412003 - }, - "dragging": false - } - ], - "edges": [ - { - "source": "ChatOpenAI-o9nf4", - "sourceHandle": "ChatOpenAI|ChatOpenAI-o9nf4|Serializable|BaseLanguageModel|ChatOpenAI|BaseChatModel", - "target": "PAL-MATH-c1cVS", - "targetHandle": "BaseLanguageModel|llm|PAL-MATH-c1cVS", - "style": { - "stroke": "#555555" - }, - "className": "", - "animated": false, - "id": "reactflow__edge-ChatOpenAI-o9nf4ChatOpenAI|ChatOpenAI-o9nf4|BaseChatModel|Serializable|ChatOpenAI|BaseLanguageModel-PAL-MATH-c1cVSBaseLanguageModel|llm|PAL-MATH-c1cVS", - "selected": false - }, - { - "source": "PAL-MATH-c1cVS", - "sourceHandle": "PAL-MATH|PAL-MATH-c1cVS|Tool", - "target": "AgentInitializer-VMWEl", - "targetHandle": "Tool|tools|AgentInitializer-VMWEl", - "style": { - "stroke": "#555555" - }, - "className": "", - "animated": false, - "id": "reactflow__edge-PAL-MATH-c1cVSPAL-MATH|PAL-MATH-c1cVS|Tool-AgentInitializer-VMWElTool|tools|AgentInitializer-VMWEl", - "selected": false - }, - { - "source": "ChatOpenAI-o9nf4", - "sourceHandle": "ChatOpenAI|ChatOpenAI-o9nf4|Serializable|BaseLanguageModel|ChatOpenAI|BaseChatModel", - "target": "AgentInitializer-VMWEl", - "targetHandle": "BaseLanguageModel|llm|AgentInitializer-VMWEl", - "style": { - "stroke": "#555555" - }, - "className": "", - "animated": false, - "id": "reactflow__edge-ChatOpenAI-o9nf4ChatOpenAI|ChatOpenAI-o9nf4|BaseChatModel|Serializable|ChatOpenAI|BaseLanguageModel-AgentInitializer-VMWElBaseLanguageModel|llm|AgentInitializer-VMWEl", - "selected": false - } - ], - "viewport": { - "x": 12.69735672241805, - "y": -38.64835046424753, - "zoom": 0.5 - } - }, - "id": "bc476807-c267-4655-94c7-0a0a03134e93", - "style": null -} \ No newline at end of file