forked from langflow-ai/langflow_examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Time Travel Guide.json
1 lines (1 loc) · 8.68 KB
/
Time Travel Guide.json
1
{"description":"A guide through time and history to suggest places and events to visit.","name":"Time Travel Guide","data":{"nodes":[{"width":384,"height":267,"id":"TimeTravelGuideChain-yswpY","type":"genericNode","position":{"x":919.0310385438972,"y":89.52926258029976},"data":{"type":"TimeTravelGuideChain","node":{"template":{"llm":{"required":true,"placeholder":"","show":true,"multiline":false,"password":false,"name":"llm","display_name":"LLM","advanced":false,"info":"","type":"BaseLanguageModel","list":false},"memory":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"memory","advanced":false,"info":"","type":"BaseChatMemory","list":false},"_type":"TimeTravelGuideChain"},"description":"Time travel guide chain.","base_classes":["LLMChain","BaseCustomChain","TimeTravelGuideChain","Chain","ConversationChain"],"display_name":"TimeTravelGuideChain","custom_fields":{},"output_types":[],"documentation":""},"id":"TimeTravelGuideChain-yswpY","value":null},"selected":false,"positionAbsolute":{"x":919.0310385438972,"y":89.52926258029976},"dragging":false},{"width":384,"height":621,"id":"ChatOpenAI-3qyOs","type":"genericNode","position":{"x":105.38821466809418,"y":102.55715069593148},"data":{"type":"ChatOpenAI","node":{"template":{"callbacks":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"callbacks","advanced":false,"info":"","type":"langchain.callbacks.base.BaseCallbackHandler","list":true},"cache":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"cache","advanced":false,"info":"","type":"bool","list":false},"client":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"client","advanced":false,"info":"","type":"Any","list":false},"max_retries":{"required":false,"placeholder":"","show":false,"multiline":false,"value":6,"password":false,"name":"max_retries","advanced":false,"info":"","type":"int","list":false},"max_tokens":{"required":false,"placeholder":"","show":true,"multiline":false,"password":true,"name":"max_tokens","advanced":false,"info":"","type":"int","list":false,"value":""},"metadata":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"metadata","advanced":false,"info":"","type":"code","list":false},"model_kwargs":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"model_kwargs","advanced":true,"info":"","type":"code","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,"info":"","type":"str","list":true},"n":{"required":false,"placeholder":"","show":false,"multiline":false,"value":1,"password":false,"name":"n","advanced":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,"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,"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,"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,"info":"","type":"str","list":false},"request_timeout":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"request_timeout","advanced":false,"info":"","type":"float","list":false},"streaming":{"required":false,"placeholder":"","show":false,"multiline":false,"value":false,"password":false,"name":"streaming","advanced":false,"info":"","type":"bool","list":false},"tags":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"tags","advanced":false,"info":"","type":"str","list":true},"temperature":{"required":false,"placeholder":"","show":true,"multiline":false,"value":0.7,"password":false,"name":"temperature","advanced":false,"info":"","type":"float","list":false},"tiktoken_model_name":{"required":false,"placeholder":"","show":false,"multiline":false,"password":false,"name":"tiktoken_model_name","advanced":false,"info":"","type":"str","list":false},"verbose":{"required":false,"placeholder":"","show":false,"multiline":false,"value":false,"password":false,"name":"verbose","advanced":false,"info":"","type":"bool","list":false},"_type":"ChatOpenAI"},"description":"Wrapper around OpenAI Chat large language models.","base_classes":["ChatOpenAI","BaseLanguageModel","BaseChatModel","BaseLLM"],"display_name":"ChatOpenAI","custom_fields":{},"output_types":[],"documentation":"https://python.langchain.com/docs/modules/model_io/models/chat/integrations/openai"},"id":"ChatOpenAI-3qyOs","value":null},"selected":false,"positionAbsolute":{"x":105.38821466809418,"y":102.55715069593148},"dragging":false},{"width":384,"height":561,"id":"ConversationBufferMemory-znCad","type":"genericNode","position":{"x":120,"y":-492.871875},"data":{"type":"ConversationBufferMemory","node":{"template":{"chat_memory":{"required":false,"placeholder":"","show":true,"multiline":false,"password":false,"name":"chat_memory","advanced":false,"info":"","type":"BaseChatMessageHistory","list":false},"ai_prefix":{"required":false,"placeholder":"","show":false,"multiline":false,"value":"AI","password":false,"name":"ai_prefix","advanced":false,"info":"","type":"str","list":false},"human_prefix":{"required":false,"placeholder":"","show":false,"multiline":false,"value":"Human","password":false,"name":"human_prefix","advanced":false,"info":"","type":"str","list":false},"input_key":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"","password":false,"name":"input_key","advanced":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,"info":"","type":"str","list":false},"output_key":{"required":false,"placeholder":"","show":true,"multiline":false,"value":"","password":false,"name":"output_key","advanced":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,"info":"","type":"bool","list":false},"_type":"ConversationBufferMemory"},"description":"Buffer for storing conversation memory.","base_classes":["BaseMemory","BaseChatMemory","ConversationBufferMemory"],"display_name":"ConversationBufferMemory","custom_fields":{},"output_types":[],"documentation":"https://python.langchain.com/docs/modules/memory/how_to/buffer"},"id":"ConversationBufferMemory-znCad","value":null},"selected":false,"positionAbsolute":{"x":120,"y":-492.871875},"dragging":false}],"edges":[{"source":"ChatOpenAI-3qyOs","sourceHandle":"ChatOpenAI|ChatOpenAI-3qyOs|ChatOpenAI|BaseLanguageModel|BaseChatModel|BaseLLM","target":"TimeTravelGuideChain-yswpY","targetHandle":"BaseLanguageModel|llm|TimeTravelGuideChain-yswpY","style":{"stroke":"#555555"},"className":"","animated":false,"id":"reactflow__edge-ChatOpenAI-3qyOsChatOpenAI|ChatOpenAI-3qyOs|ChatOpenAI|BaseLanguageModel|BaseChatModel|BaseLLM-TimeTravelGuideChain-yswpYBaseLanguageModel|llm|TimeTravelGuideChain-yswpY","selected":false},{"source":"ConversationBufferMemory-znCad","sourceHandle":"ConversationBufferMemory|ConversationBufferMemory-znCad|BaseMemory|BaseChatMemory|ConversationBufferMemory","target":"TimeTravelGuideChain-yswpY","targetHandle":"BaseChatMemory|memory|TimeTravelGuideChain-yswpY","style":{"stroke":"#555555"},"className":"","animated":false,"id":"reactflow__edge-ConversationBufferMemory-znCadConversationBufferMemory|ConversationBufferMemory-znCad|BaseMemory|BaseChatMemory|ConversationBufferMemory-TimeTravelGuideChain-yswpYBaseChatMemory|memory|TimeTravelGuideChain-yswpY","selected":false}],"viewport":{"x":360.6690794424339,"y":389.7300498082918,"zoom":0.7045959040648166}},"id":"aa443313-6285-41f3-b72b-29624ae49cca"}