# flow

name: Reverent Mirzakhani
description: Engineered for Excellence, Built for Business.
updated_at: 2024-03-18 12:12:16.687050
id: 344c0df4173a466a8f6dee3b72cdaa45
user_id: ca60d03e411e4b28ab5aa138fd66efcf
data:
  {"nodes": [{"id": "ChatPromptTemplate-juwcc", "type": "genericNode", "position": {"x": 324.7386208946273, "y": 507.61161776423376}, "data": {"type": "ChatPromptTemplate", "node": {"template": {"messages": {"type": "BaseMessagePromptTemplate", "required": true, "placeholder": "", "list": true, "show": true, "multiline": false, "fileTypes": [], "password": false, "name": "messages", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "output_parser": {"type": "BaseOutputParser", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "output_parser", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "input_types": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "input_types", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "input_variables": {"type": "str", "required": true, "placeholder": "", "list": true, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "input_variables", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "name": {"type": "str", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "name", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "partial_variables": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "partial_variables", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "validate_template": {"type": "bool", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "value": false, "fileTypes": [], "password": false, "name": "validate_template", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "_type": "ChatPromptTemplate"}, "description": "A prompt template for chat models.", "base_classes": ["BaseChatPromptTemplate", "BasePromptTemplate", "ChatPromptTemplate"], "display_name": "ChatPromptTemplate", "documentation": "https://python.langchain.com/docs/modules/model_io/models/chat/how_to/prompts", "custom_fields": {}, "output_types": [], "field_formatters": {}, "beta": false}, "id": "ChatPromptTemplate-juwcc"}, "selected": false, "width": 384, "height": 243}, {"id": "ChatMessagePromptTemplate-wcKT6", "type": "genericNode", "position": {"x": 340.1073665135003, "y": 333.70212786645965}, "data": {"type": "ChatMessagePromptTemplate", "node": {"template": {"additional_kwargs": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "additional_kwargs", "advanced": true, "dynamic": true, "info": "", "load_from_db": false}, "prompt": {"type": "prompt", "required": true, "placeholder": "", "list": false, "show": true, "multiline": true, "value": "\nYou are a helpful assistant that talks casually about life in general.\nYou are a good listener and you can talk about anything.\n", "fileTypes": [], "password": false, "name": "prompt", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "role": {"type": "str", "required": true, "placeholder": "", "list": false, "show": true, "multiline": false, "fileTypes": [], "password": false, "name": "role", "advanced": false, "dynamic": true, "info": "", "load_from_db": false}, "_type": "ChatMessagePromptTemplate"}, "description": "Chat message prompt template.", "base_classes": ["BaseStringMessagePromptTemplate", "BaseMessagePromptTemplate", "ChatMessagePromptTemplate"], "display_name": "ChatMessagePromptTemplate", "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/msg_prompt_templates", "custom_fields": {}, "output_types": [], "field_formatters": {}, "beta": false}, "id": "ChatMessagePromptTemplate-wcKT6"}, "selected": false, "width": 384, "height": 371, "dragging": false}, {"id": "ChatOpenAI-BIFWw", "type": "genericNode", "position": {"x": 856.7877056398961, "y": 509.39580151827204}, "data": {"type": "ChatOpenAI", "node": {"template": {"callbacks": {"type": "langchain_core.callbacks.base.BaseCallbackHandler", "required": false, "placeholder": "", "list": true, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "callbacks", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "async_client": {"type": "Any", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "async_client", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "cache": {"type": "bool", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "cache", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "client": {"type": "Any", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "client", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "default_headers": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "default_headers", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "default_query": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "default_query", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "http_client": {"type": "Any", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "http_client", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "max_retries": {"type": "int", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "value": 2, "fileTypes": [], "password": false, "name": "max_retries", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "max_tokens": {"type": "int", "required": false, "placeholder": "", "list": false, "show": true, "multiline": false, "fileTypes": [], "password": true, "name": "max_tokens", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "metadata": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "metadata", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "model_kwargs": {"type": "dict", "required": false, "placeholder": "", "list": false, "show": true, "multiline": false, "fileTypes": [], "password": false, "name": "model_kwargs", "advanced": true, "dynamic": false, "info": "", "load_from_db": false}, "model_name": {"type": "str", "required": false, "placeholder": "", "list": true, "show": true, "multiline": false, "value": "gpt-4-1106-preview", "fileTypes": [], "password": false, "options": ["gpt-4-1106-preview", "gpt-4-vision-preview", "gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"], "name": "model_name", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "n": {"type": "int", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "value": 1, "fileTypes": [], "password": false, "name": "n", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "name": {"type": "str", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "name", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "openai_api_base": {"type": "str", "required": false, "placeholder": "", "list": false, "show": true, "multiline": false, "fileTypes": [], "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", "load_from_db": false}, "openai_api_key": {"type": "str", "required": false, "placeholder": "", "list": false, "show": true, "multiline": false, "value": "", "fileTypes": [], "password": true, "name": "openai_api_key", "display_name": "OpenAI API Key", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "openai_organization": {"type": "str", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "openai_organization", "display_name": "OpenAI Organization", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "openai_proxy": {"type": "str", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "openai_proxy", "display_name": "OpenAI Proxy", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "request_timeout": {"type": "float", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "request_timeout", "advanced": false, "dynamic": false, "info": "", "rangeSpec": {"min": -1, "max": 1, "step": 0.1}, "load_from_db": false}, "streaming": {"type": "bool", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "value": false, "fileTypes": [], "password": false, "name": "streaming", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "tags": {"type": "str", "required": false, "placeholder": "", "list": true, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "tags", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "temperature": {"type": "float", "required": false, "placeholder": "", "list": false, "show": true, "multiline": false, "value": 0.7, "fileTypes": [], "password": false, "name": "temperature", "advanced": false, "dynamic": false, "info": "", "rangeSpec": {"min": -1, "max": 1, "step": 0.1}, "load_from_db": false}, "tiktoken_model_name": {"type": "str", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "fileTypes": [], "password": false, "name": "tiktoken_model_name", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "verbose": {"type": "bool", "required": false, "placeholder": "", "list": false, "show": false, "multiline": false, "value": false, "fileTypes": [], "password": false, "name": "verbose", "advanced": false, "dynamic": false, "info": "", "load_from_db": false}, "_type": "ChatOpenAI"}, "description": "[*Deprecated*]  `OpenAI` Chat large language models API.", "base_classes": ["ChatOpenAI", "BaseLanguageModel", "BaseChatModel", "BaseLLM"], "display_name": "ChatOpenAI", "documentation": "https://python.langchain.com/docs/modules/model_io/models/chat/integrations/openai", "custom_fields": {}, "output_types": [], "field_formatters": {}, "beta": false}, "id": "ChatOpenAI-BIFWw"}, "selected": true, "width": 384, "height": 657, "dragging": false, "positionAbsolute": {"x": 856.7877056398961, "y": 509.39580151827204}}], "edges": [], "viewport": {"x": -474.60431695958016, "y": -508.62432985501505, "zoom": 1.0167746732919614}}


