diff --git a/examples/Basic Chat with Prompt and History.json b/examples/Basic Chat with Prompt and History.json index cdbdb26..1c18ba5 100644 --- a/examples/Basic Chat with Prompt and History.json +++ b/examples/Basic Chat with Prompt and History.json @@ -1,568 +1 @@ -{ - "description": "A simple chat with a custom prompt template and conversational memory buffer", - "name": "Basic Chat with Prompt and History", - "id": "9b66bce2-ef4d-40bb-a5df-6e72b0ad93fc", - "data": { - "nodes": [ - { - "width": 384, - "height": 693, - "id": "dndnode_24", - "type": "genericNode", - "position": { - "x": 170.87326389541306, - "y": 465.8628482073749 - }, - "data": { - "type": "ChatOpenAI", - "node": { - "template": { - "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", - "password": false, - "options": [ - "gpt-3.5-turbo", - "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": true, - "name": "openai_api_base", - "display_name": "OpenAI API Base", - "advanced": false, - "type": "str", - "list": false, - "value": "" - }, - "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, - "value": 60 - }, - "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 - }, - "_type": "ChatOpenAI" - }, - "description": "Wrapper around OpenAI Chat large language models.", - "base_classes": [ - "BaseChatModel", - "ChatOpenAI", - "BaseLanguageModel" - ] - }, - "id": "dndnode_24", - "value": null - }, - "selected": true, - "dragging": false, - "positionAbsolute": { - "x": 170.87326389541306, - "y": 465.8628482073749 - } - }, - { - "width": 384, - "height": 307, - "id": "dndnode_30", - "type": "genericNode", - "position": { - "x": 1250.1806448178158, - "y": 588.4657451068704 - }, - "data": { - "type": "LLMChain", - "node": { - "template": { - "memory": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "memory", - "advanced": false, - "type": "BaseMemory", - "list": false - }, - "callbacks": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "callbacks", - "advanced": false, - "type": "langchain.callbacks.base.BaseCallbackHandler", - "list": true - }, - "verbose": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "value": false, - "password": false, - "name": "verbose", - "advanced": true, - "type": "bool", - "list": false - }, - "prompt": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "prompt", - "advanced": false, - "type": "BasePromptTemplate", - "list": false - }, - "llm": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "password": false, - "name": "llm", - "advanced": false, - "type": "BaseLanguageModel", - "list": false - }, - "output_key": { - "required": true, - "placeholder": "", - "show": true, - "multiline": false, - "value": "text", - "password": false, - "name": "output_key", - "advanced": true, - "type": "str", - "list": false - }, - "_type": "LLMChain" - }, - "description": "Chain to run queries against LLMs.", - "base_classes": [ - "LLMChain", - "Chain" - ] - }, - "id": "dndnode_30", - "value": null - }, - "selected": false, - "positionAbsolute": { - "x": 1250.1806448178158, - "y": 588.4657451068704 - }, - "dragging": false - }, - { - "width": 384, - "height": 265, - "id": "dndnode_31", - "type": "genericNode", - "position": { - "x": 172.18064481781585, - "y": 67.26574510687044 - }, - "data": { - "type": "PromptTemplate", - "node": { - "template": { - "input_variables": { - "required": true, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "input_variables", - "advanced": false, - "type": "str", - "list": true - }, - "output_parser": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "output_parser", - "advanced": false, - "type": "BaseOutputParser", - "list": false - }, - "partial_variables": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "partial_variables", - "advanced": false, - "type": "code", - "list": false - }, - "template": { - "required": true, - "placeholder": "", - "show": true, - "multiline": true, - "password": false, - "name": "template", - "advanced": false, - "type": "prompt", - "list": false, - "value": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\n{history}\nHuman: {text}\nAI:" - }, - "template_format": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": "f-string", - "password": false, - "name": "template_format", - "advanced": false, - "type": "str", - "list": false - }, - "validate_template": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": true, - "password": false, - "name": "validate_template", - "advanced": false, - "type": "bool", - "list": false - }, - "_type": "PromptTemplate" - }, - "description": "Schema to represent a prompt for an LLM.", - "base_classes": [ - "StringPromptTemplate", - "PromptTemplate", - "BasePromptTemplate" - ] - }, - "id": "dndnode_31", - "value": null - }, - "selected": false, - "dragging": false, - "positionAbsolute": { - "x": 172.18064481781585, - "y": 67.26574510687044 - } - }, - { - "width": 384, - "height": 273, - "id": "dndnode_32", - "type": "genericNode", - "position": { - "x": 802.1806448178158, - "y": 43.265745106870426 - }, - "data": { - "type": "ConversationBufferMemory", - "node": { - "template": { - "chat_memory": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "chat_memory", - "advanced": false, - "type": "BaseChatMessageHistory", - "list": false - }, - "output_key": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "output_key", - "advanced": false, - "type": "str", - "list": false - }, - "input_key": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "input_key", - "advanced": false, - "type": "str", - "list": false - }, - "return_messages": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "password": false, - "name": "return_messages", - "advanced": false, - "type": "bool", - "list": false - }, - "human_prefix": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": "Human", - "password": false, - "name": "human_prefix", - "advanced": false, - "type": "str", - "list": false - }, - "ai_prefix": { - "required": false, - "placeholder": "", - "show": false, - "multiline": false, - "value": "AI", - "password": false, - "name": "ai_prefix", - "advanced": false, - "type": "str", - "list": false - }, - "memory_key": { - "required": false, - "placeholder": "", - "show": true, - "multiline": false, - "value": "history", - "password": false, - "name": "memory_key", - "advanced": false, - "type": "str", - "list": false - }, - "_type": "ConversationBufferMemory" - }, - "description": "Buffer for storing conversation memory.", - "base_classes": [ - "BaseMemory", - "ConversationBufferMemory", - "BaseChatMemory" - ] - }, - "id": "dndnode_32", - "value": null - }, - "selected": false, - "positionAbsolute": { - "x": 802.1806448178158, - "y": 43.265745106870426 - }, - "dragging": false - } - ], - "edges": [ - { - "source": "dndnode_24", - "sourceHandle": "ChatOpenAI|dndnode_24|BaseChatModel|ChatOpenAI|BaseLanguageModel", - "target": "dndnode_30", - "targetHandle": "BaseLanguageModel|llm|dndnode_30", - "className": "animate-pulse", - "id": "reactflow__edge-dndnode_24ChatOpenAI|dndnode_24|BaseChatModel|ChatOpenAI|BaseLanguageModel-dndnode_30BaseLanguageModel|llm|dndnode_30", - "selected": false - }, - { - "source": "dndnode_31", - "sourceHandle": "PromptTemplate|dndnode_31|StringPromptTemplate|PromptTemplate|BasePromptTemplate", - "target": "dndnode_30", - "targetHandle": "BasePromptTemplate|prompt|dndnode_30", - "className": "animate-pulse", - "id": "reactflow__edge-dndnode_31PromptTemplate|dndnode_31|StringPromptTemplate|PromptTemplate|BasePromptTemplate-dndnode_30BasePromptTemplate|prompt|dndnode_30" - }, - { - "source": "dndnode_32", - "sourceHandle": "ConversationBufferMemory|dndnode_32|BaseMemory|ConversationBufferMemory|BaseChatMemory", - "target": "dndnode_30", - "targetHandle": "BaseMemory|memory|dndnode_30", - "className": "animate-pulse", - "id": "reactflow__edge-dndnode_32ConversationBufferMemory|dndnode_32|BaseMemory|ConversationBufferMemory|BaseChatMemory-dndnode_30BaseMemory|memory|dndnode_30" - } - ], - "viewport": { - "x": 188.39556390089513, - "y": 130.05583310649712, - "zoom": 0.6070974421975234 - } - } -} \ No newline at end of file +{"description":"A simple chat with a custom prompt template and conversational memory buffer","name":"Basic Chat with Prompt and History","data":{"nodes":[{"width":384,"height":629,"id":"ChatOpenAI-bKyQx","type":"genericNode","position":{"x":170.87326389541306,"y":465.8628482073749},"data":{"type":"ChatOpenAI","node":{"template":{"callbacks":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"callbacks","advanced":false,"dynamic":false,"info":"","type":"langchain.callbacks.base.BaseCallbackHandler","list":true},"cache":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"cache","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"client":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"client","advanced":false,"dynamic":false,"info":"","type":"Any","list":false},"max_retries":{"required":false,"placeholder":"","show":false,"multiline":false,"value":6,"password":false,"name":"max_retries","advanced":false,"dynamic":false,"info":"","type":"int","list":false},"max_tokens":{"required":false,"placeholder":"","show":true,"multiline":false,"password":true,"name":"max_tokens","advanced":false,"dynamic":false,"info":"","type":"int","list":false,"value":""},"metadata":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"metadata","advanced":false,"dynamic":false,"info":"","type":"dict","list":false},"model_kwargs":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"model_kwargs","advanced":true,"dynamic":false,"info":"","type":"dict","list":false},"model_name":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"gpt-3.5-turbo","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,"dynamic":false,"info":"","type":"str","list":true},"n":{"required":false,"placeholder":"","show":false,"multiline":false,"value":1,"password":false,"name":"n","advanced":false,"dynamic":false,"info":"","type":"int","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,"dynamic":false,"info":"\nThe base URL of the OpenAI API. Defaults to https://api.openai.com/v1.\n\nYou can change this to use other APIs like JinaChat, LocalAI and Prem.\n","type":"str","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,"dynamic":false,"info":"","type":"str","list":false},"openai_organization":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"openai_organization","display_name":"OpenAI Organization","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"openai_proxy":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"openai_proxy","display_name":"OpenAI Proxy","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"request_timeout":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"request_timeout","advanced":false,"dynamic":false,"info":"","type":"float","list":false,"value":60},"streaming":{"required":false,"placeholder":"","show":false,"multiline":false,"value":false,"password":false,"name":"streaming","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"tags":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"tags","advanced":false,"dynamic":false,"info":"","type":"str","list":true},"temperature":{"required":false,"placeholder":"","show":true,"multiline":false,"value":0.7,"password":false,"name":"temperature","advanced":false,"dynamic":false,"info":"","type":"float","list":false},"tiktoken_model_name":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"tiktoken_model_name","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"verbose":{"required":false,"placeholder":"","show":false,"multiline":false,"value":false,"password":false,"name":"verbose","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"_type":"ChatOpenAI"},"description":"`OpenAI` Chat large language models API.","base_classes":["ChatOpenAI","BaseChatModel","BaseLanguageModel","BaseLLM"],"display_name":"ChatOpenAI","documentation":"https://python.langchain.com/docs/modules/model_io/models/chat/integrations/openai"},"id":"ChatOpenAI-bKyQx","value":null},"selected":false,"dragging":false,"positionAbsolute":{"x":170.87326389541306,"y":465.8628482073749}},{"width":384,"height":339,"id":"LLMChain-KeBhS","type":"genericNode","position":{"x":1250.1806448178158,"y":588.4657451068704},"data":{"type":"LLMChain","node":{"template":{"callbacks":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"callbacks","advanced":false,"dynamic":false,"info":"","type":"langchain.callbacks.base.BaseCallbackHandler","list":true},"llm":{"required":true,"placeholder":"","show":true,"multiline":false,"password":false,"name":"llm","advanced":false,"dynamic":false,"info":"","type":"BaseLanguageModel","list":false},"memory":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"memory","advanced":false,"dynamic":false,"info":"","type":"BaseMemory","list":false},"output_parser":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"output_parser","advanced":false,"dynamic":false,"info":"","type":"BaseLLMOutputParser","list":false},"prompt":{"required":true,"placeholder":"","show":true,"multiline":false,"password":false,"name":"prompt","advanced":false,"dynamic":false,"info":"","type":"BasePromptTemplate","list":false},"llm_kwargs":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"llm_kwargs","advanced":false,"dynamic":false,"info":"","type":"dict","list":false},"metadata":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"metadata","advanced":false,"dynamic":false,"info":"","type":"dict","list":false},"output_key":{"required":true,"placeholder":"","show":true,"multiline":false,"value":"text","password":false,"name":"output_key","advanced":true,"dynamic":false,"info":"","type":"str","list":false},"return_final_only":{"required":false,"placeholder":"","show":false,"multiline":false,"value":true,"password":false,"name":"return_final_only","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"tags":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"tags","advanced":false,"dynamic":false,"info":"","type":"str","list":true},"verbose":{"required":false,"placeholder":"","show":false,"multiline":false,"value":false,"password":false,"name":"verbose","advanced":true,"dynamic":false,"info":"","type":"bool","list":false},"_type":"LLMChain"},"description":"Chain to run queries against LLMs.","base_classes":["LLMChain","Chain","function"],"display_name":"LLMChain","documentation":"https://python.langchain.com/docs/modules/chains/foundational/llm_chain"},"id":"LLMChain-KeBhS","value":null},"selected":false,"positionAbsolute":{"x":1250.1806448178158,"y":588.4657451068704},"dragging":false},{"width":384,"height":577,"id":"ConversationBufferMemory-SVC3Y","type":"genericNode","position":{"x":802.1806448178158,"y":43.265745106870426},"data":{"type":"ConversationBufferMemory","node":{"template":{"chat_memory":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"chat_memory","advanced":false,"dynamic":false,"info":"","type":"BaseChatMessageHistory","list":false},"ai_prefix":{"required":false,"placeholder":"","show":false,"multiline":false,"value":"AI","password":false,"name":"ai_prefix","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"human_prefix":{"required":false,"placeholder":"","show":false,"multiline":false,"value":"Human","password":false,"name":"human_prefix","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"input_key":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"","password":false,"name":"input_key","advanced":false,"dynamic":false,"info":"The variable to be used as Chat Input when more than one variable is available.","type":"str","list":false},"memory_key":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"history","password":false,"name":"memory_key","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"output_key":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"","password":false,"name":"output_key","advanced":false,"dynamic":false,"info":"The variable to be used as Chat Output (e.g. answer in a ConversationalRetrievalChain)","type":"str","list":false},"return_messages":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"return_messages","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"_type":"ConversationBufferMemory"},"description":"Buffer for storing conversation memory.","base_classes":["ConversationBufferMemory","BaseChatMemory","BaseMemory"],"display_name":"ConversationBufferMemory","documentation":"https://python.langchain.com/docs/modules/memory/how_to/buffer"},"id":"ConversationBufferMemory-SVC3Y","value":null},"selected":false,"positionAbsolute":{"x":802.1806448178158,"y":43.265745106870426},"dragging":false},{"width":384,"height":469,"id":"PromptTemplate-weX82","type":"genericNode","position":{"x":190.53285757241179,"y":6.073885727980169},"data":{"type":"PromptTemplate","node":{"template":{"output_parser":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"output_parser","advanced":false,"dynamic":false,"info":"","type":"BaseOutputParser","list":false},"input_variables":{"required":true,"placeholder":"","show":false,"multiline":false,"password":false,"name":"input_variables","advanced":false,"dynamic":false,"info":"","type":"str","list":true,"value":["history","text"]},"partial_variables":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"partial_variables","advanced":false,"dynamic":false,"info":"","type":"dict","list":false},"template":{"required":true,"placeholder":"","show":true,"multiline":true,"password":false,"name":"template","advanced":false,"dynamic":false,"info":"","type":"prompt","list":false,"value":"The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\n{history}\nHuman: {text}\nAI:"},"template_format":{"required":false,"placeholder":"","show":false,"multiline":false,"value":"f-string","password":false,"name":"template_format","advanced":false,"dynamic":false,"info":"","type":"str","list":false},"validate_template":{"required":false,"placeholder":"","show":false,"multiline":false,"value":true,"password":false,"name":"validate_template","advanced":false,"dynamic":false,"info":"","type":"bool","list":false},"_type":"PromptTemplate","history":{"required":false,"placeholder":"","show":true,"multiline":true,"value":"","password":false,"name":"history","display_name":"history","advanced":false,"input_types":["Document","BaseOutputParser"],"dynamic":false,"info":"","type":"str","list":false},"text":{"required":false,"placeholder":"","show":true,"multiline":true,"value":"","password":false,"name":"text","display_name":"text","advanced":false,"input_types":["Document","BaseOutputParser"],"dynamic":false,"info":"","type":"str","list":false}},"description":"A prompt template for a language model.","base_classes":["StringPromptTemplate","PromptTemplate","BasePromptTemplate"],"name":"","display_name":"PromptTemplate","documentation":"https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/","custom_fields":{"":["history","text"]},"output_types":[],"field_formatters":{"formatters":{"openai_api_key":{}},"base_formatters":{"kwargs":{},"optional":{},"list":{},"dict":{},"union":{},"multiline":{},"show":{},"password":{},"default":{},"headers":{},"dict_code_file":{},"model_fields":{"MODEL_DICT":{"OpenAI":["text-davinci-003","text-davinci-002","text-curie-001","text-babbage-001","text-ada-001"],"ChatOpenAI":["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"],"Anthropic":["claude-v1","claude-v1-100k","claude-instant-v1","claude-instant-v1-100k","claude-v1.3","claude-v1.3-100k","claude-v1.2","claude-v1.0","claude-instant-v1.1","claude-instant-v1.1-100k","claude-instant-v1.0"],"ChatAnthropic":["claude-v1","claude-v1-100k","claude-instant-v1","claude-instant-v1-100k","claude-v1.3","claude-v1.3-100k","claude-v1.2","claude-v1.0","claude-instant-v1.1","claude-instant-v1.1-100k","claude-instant-v1.0"]}}}},"beta":false,"error":null},"id":"PromptTemplate-weX82"},"selected":true,"positionAbsolute":{"x":190.53285757241179,"y":6.073885727980169},"dragging":false}],"edges":[{"source":"ChatOpenAI-bKyQx","sourceHandle":"ChatOpenAI|ChatOpenAI-bKyQx|ChatOpenAI|BaseChatModel|BaseLanguageModel|BaseLLM","target":"LLMChain-KeBhS","targetHandle":"BaseLanguageModel|llm|LLMChain-KeBhS","className":"","id":"reactflow__edge-ChatOpenAI-bKyQxChatOpenAI|ChatOpenAI-bKyQx|ChatOpenAI|BaseChatModel|BaseLanguageModel|BaseLLM-LLMChain-KeBhSBaseLanguageModel|llm|LLMChain-KeBhS","selected":false,"animated":false,"style":{"stroke":"#555"}},{"source":"ConversationBufferMemory-SVC3Y","sourceHandle":"ConversationBufferMemory|ConversationBufferMemory-SVC3Y|ConversationBufferMemory|BaseChatMemory|BaseMemory","target":"LLMChain-KeBhS","targetHandle":"BaseMemory|memory|LLMChain-KeBhS","className":"","id":"reactflow__edge-ConversationBufferMemory-SVC3YConversationBufferMemory|ConversationBufferMemory-SVC3Y|ConversationBufferMemory|BaseChatMemory|BaseMemory-LLMChain-KeBhSBaseMemory|memory|LLMChain-KeBhS","animated":false,"style":{"stroke":"#555"}},{"source":"PromptTemplate-weX82","sourceHandle":"PromptTemplate|PromptTemplate-weX82|StringPromptTemplate|PromptTemplate|BasePromptTemplate","target":"LLMChain-KeBhS","targetHandle":"BasePromptTemplate|prompt|LLMChain-KeBhS","style":{"stroke":"#555"},"className":"stroke-foreground stroke-connection","animated":false,"id":"reactflow__edge-PromptTemplate-weX82PromptTemplate|PromptTemplate-weX82|StringPromptTemplate|PromptTemplate|BasePromptTemplate-LLMChain-KeBhSBasePromptTemplate|prompt|LLMChain-KeBhS"}],"viewport":{"x":130.04266768086563,"y":87.98413672862591,"zoom":0.5351167962218045}},"id":"b2b172aa-f44d-47a4-ab7e-0ba1550e1cd7"} \ No newline at end of file