diff --git a/404.html b/404.html index f6dca596a6..37728afa92 100644 --- a/404.html +++ b/404.html @@ -10,7 +10,7 @@ - + diff --git a/Components/components-memories.html b/Components/components-memories.html index 261c8f2106..463bb0c0b9 100644 --- a/Components/components-memories.html +++ b/Components/components-memories.html @@ -10,7 +10,7 @@ - + diff --git a/Components/components-tools.html b/Components/components-tools.html index 08148526ce..24384ecf7e 100644 --- a/Components/components-tools.html +++ b/Components/components-tools.html @@ -10,7 +10,7 @@ - + diff --git a/agents-overview.html b/agents-overview.html index d03e42ac13..67900601af 100644 --- a/agents-overview.html +++ b/agents-overview.html @@ -10,7 +10,7 @@ - + diff --git a/agents-tool-calling-agent-component.html b/agents-tool-calling-agent-component.html index 4b392f8720..7c7848346e 100644 --- a/agents-tool-calling-agent-component.html +++ b/agents-tool-calling-agent-component.html @@ -10,7 +10,7 @@ - + diff --git a/assets/js/2efb9d3a.c4d2d014.js b/assets/js/2efb9d3a.c4d2d014.js new file mode 100644 index 0000000000..fe14ce6f7a --- /dev/null +++ b/assets/js/2efb9d3a.c4d2d014.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[2691],{4441:(e,t,o)=>{o.r(t),o.d(t,{CH:()=>d,assets:()=>a,chCodeConfig:()=>p,contentTitle:()=>i,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>h});var n=o(4848),s=o(8453),r=o(4754);const c={title:"Data & Message",sidebar_position:2,slug:"/guides-data-message"},i=void 0,l={id:"Guides/guides-data-message",title:"Data & Message",description:"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.",source:"@site/docs/Guides/guides-data-message.md",sourceDirName:"Guides",slug:"/guides-data-message",permalink:"/guides-data-message",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Data & Message",sidebar_position:2,slug:"/guides-data-message"},sidebar:"defaultSidebar",previous:{title:"Chat Memory",permalink:"/guides-chat-memory"},next:{title:"Workspace concepts",permalink:"/workspace-overview"}},a={},d={annotations:r.hk,Code:r.Cy},p={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},h=[{value:"The Data Object",id:"e0d56e463d2f483bb1b5df09d88bf309",level:2},{value:"Creating a Data Object",id:"3540b7e651f74b558febebbe43380660",level:3},{value:"Message object attributes",id:"f4f17cad02a545068f407d515cbc2902",level:2}];function u(e){const t={code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return d||g("CH",!1),d.Code||g("CH.Code",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,n.jsxs)(t.p,{children:["In Langflow, the\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0and\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform."]}),"\n",(0,n.jsx)(t.h2,{id:"e0d56e463d2f483bb1b5df09d88bf309",children:"The Data Object"}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0object is a Pydantic model that serves as a container for storing and manipulating data. It carries\xa0",(0,n.jsx)(t.code,{children:"data"}),"\u2014a dictionary that can be accessed as attributes\u2014and uses\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0to specify which key in the dictionary should be considered the primary text content."]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Main Attributes:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"text_key"}),": Specifies the key to retrieve the primary text data."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"data"}),": A dictionary to store additional data."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"default_value"}),": default value when the\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0is not present in the\xa0",(0,n.jsx)(t.code,{children:"data"}),"\xa0dictionary."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(t.h3,{id:"3540b7e651f74b558febebbe43380660",children:"Creating a Data Object"}),"\n",(0,n.jsxs)(t.p,{children:["You can create a\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0object by directly assigning key-value pairs to it. For example:"]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"from",props:{style:{color:"#FF7B72"}}},{content:" langflow.schema ",props:{style:{color:"#C9D1D9"}}},{content:"import",props:{style:{color:"#FF7B72"}}},{content:" Data",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Creating a Data object with specified key-value pairs",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"data ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Data(",props:{style:{color:"#C9D1D9"}}},{content:"text",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"my_string"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"bar",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:"3",props:{style:{color:"#79C0FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"foo",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"another_string"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Outputs:",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.text) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "my_string"',props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.bar) ",props:{style:{color:"#C9D1D9"}}},{content:"# Outputs: 3",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.foo) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "another_string"',props:{style:{color:"#8B949E"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0specifies which key in the\xa0",(0,n.jsx)(t.code,{children:"data"}),"\xa0dictionary should be considered the primary text content. The\xa0",(0,n.jsx)(t.code,{children:"default_value"}),"\xa0provides a fallback if the\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0is not present."]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"# Creating a Data object with a specific text_key and default_value",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"data ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Data(",props:{style:{color:"#C9D1D9"}}},{content:"data",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:"{",props:{style:{color:"#C9D1D9"}}},{content:'"title"',props:{style:{color:"#A5D6FF"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:'"Hello, World!"',props:{style:{color:"#A5D6FF"}}},{content:"}, ",props:{style:{color:"#C9D1D9"}}},{content:"text_key",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"content"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"default_value",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"No content available"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Accessing the primary text using text_key and default_value",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.get_text()) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "No content available" because "content" key is not in the data dictionary',props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Accessing data keys by calling the attribute directly",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.title) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "Hello, World!" because "title" key is in the data dictionary',props:{style:{color:"#8B949E"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["The ",(0,n.jsx)(t.code,{children:"Data"})," object is also convenient for visualization of outputs, since the output preview has visual elements to inspect data as a table and its cells as pop ups for basic types. The idea is to create a unified way to work and visualize complex information in Langflow."]}),"\n",(0,n.jsxs)(t.p,{children:["To receive ",(0,n.jsx)(t.code,{children:"Data"})," objects in a component input, you can use the ",(0,n.jsx)(t.code,{children:"DataInput"})," input type."]}),"\n",(0,n.jsx)(t.h2,{id:"f4f17cad02a545068f407d515cbc2902",children:"Message object attributes"}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object extends the functionality of\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0and includes additional attributes and methods for chat interactions."]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Core message data:"})}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"text"}),": The main text content of the message"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"sender"}),': Identifier for the sender (e.g., "User" or "AI")']}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"sender_name"}),": Name of the sender"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"session_id"}),": Identifier for the chat session"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"timestamp"}),": Timestamp when the message was created (UTC)"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"flow_id"}),": Identifier for the flow"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"id"}),": Unique identifier for the message"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Content and files:"})}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"files"}),": List of files or images associated with the message"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"content_blocks"}),": List of structured content blocks"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"properties"}),": Additional properties including visual styling and source information"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:["\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.strong,{children:"Message state:"})}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"error"}),": Boolean indicating if there was an error"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"edit"}),": Boolean indicating if the message was edited"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"category"}),': Message category ("message", "error", "warning", "info")']}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object can be used to send, store, and manipulate chat messages within Langflow. You can create a\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object by directly assigning key-value pairs to it. For example:"]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"from",props:{style:{color:"#FF7B72"}}},{content:" langflow.schema.message ",props:{style:{color:"#C9D1D9"}}},{content:"import",props:{style:{color:"#FF7B72"}}},{content:" Message",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"message ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Message(",props:{style:{color:"#C9D1D9"}}},{content:"text",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"Hello, AI!"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"sender",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"User"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"sender_name",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"John Doe"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["To receive ",(0,n.jsx)(t.code,{children:"Message"})," objects in a component input, you can use the ",(0,n.jsx)(t.code,{children:"MessageInput"})," input type or ",(0,n.jsx)(t.code,{children:"MessageTextInput"})," when the goal is to extract just the ",(0,n.jsx)(t.code,{children:"text"})," field of the ",(0,n.jsx)(t.code,{children:"Message"})," object."]})]})}function y(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}function g(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}}}]); \ No newline at end of file diff --git a/assets/js/2efb9d3a.ee124360.js b/assets/js/2efb9d3a.ee124360.js deleted file mode 100644 index 6349b3a014..0000000000 --- a/assets/js/2efb9d3a.ee124360.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[2691],{4441:(e,t,o)=>{o.r(t),o.d(t,{CH:()=>d,assets:()=>i,chCodeConfig:()=>p,contentTitle:()=>a,default:()=>y,frontMatter:()=>r,metadata:()=>l,toc:()=>h});var n=o(4848),s=o(8453),c=o(4754);const r={title:"Data & Message",sidebar_position:2,slug:"/guides-data-message"},a=void 0,l={id:"Guides/guides-data-message",title:"Data & Message",description:"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.",source:"@site/docs/Guides/guides-data-message.md",sourceDirName:"Guides",slug:"/guides-data-message",permalink:"/guides-data-message",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Data & Message",sidebar_position:2,slug:"/guides-data-message"},sidebar:"defaultSidebar",previous:{title:"Chat Memory",permalink:"/guides-chat-memory"},next:{title:"Workspace concepts",permalink:"/workspace-overview"}},i={},d={annotations:c.hk,Code:c.Cy},p={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},h=[{value:"The Data Object",id:"e0d56e463d2f483bb1b5df09d88bf309",level:2},{value:"Creating a Data Object",id:"3540b7e651f74b558febebbe43380660",level:3},{value:"The Message Object",id:"f4f17cad02a545068f407d515cbc2902",level:2}];function u(e){const t={code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return d||g("CH",!1),d.Code||g("CH.Code",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,n.jsxs)(t.p,{children:["In Langflow, the\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0and\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform."]}),"\n",(0,n.jsx)(t.h2,{id:"e0d56e463d2f483bb1b5df09d88bf309",children:"The Data Object"}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0object is a Pydantic model that serves as a container for storing and manipulating data. It carries\xa0",(0,n.jsx)(t.code,{children:"data"}),"\u2014a dictionary that can be accessed as attributes\u2014and uses\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0to specify which key in the dictionary should be considered the primary text content."]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Main Attributes:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"text_key"}),": Specifies the key to retrieve the primary text data."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"data"}),": A dictionary to store additional data."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"default_value"}),": default value when the\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0is not present in the\xa0",(0,n.jsx)(t.code,{children:"data"}),"\xa0dictionary."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(t.h3,{id:"3540b7e651f74b558febebbe43380660",children:"Creating a Data Object"}),"\n",(0,n.jsxs)(t.p,{children:["You can create a\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0object by directly assigning key-value pairs to it. For example:"]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"from",props:{style:{color:"#FF7B72"}}},{content:" langflow.schema ",props:{style:{color:"#C9D1D9"}}},{content:"import",props:{style:{color:"#FF7B72"}}},{content:" Data",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Creating a Data object with specified key-value pairs",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"data ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Data(",props:{style:{color:"#C9D1D9"}}},{content:"text",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"my_string"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"bar",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:"3",props:{style:{color:"#79C0FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"foo",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"another_string"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Outputs:",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.text) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "my_string"',props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.bar) ",props:{style:{color:"#C9D1D9"}}},{content:"# Outputs: 3",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.foo) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "another_string"',props:{style:{color:"#8B949E"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0specifies which key in the\xa0",(0,n.jsx)(t.code,{children:"data"}),"\xa0dictionary should be considered the primary text content. The\xa0",(0,n.jsx)(t.code,{children:"default_value"}),"\xa0provides a fallback if the\xa0",(0,n.jsx)(t.code,{children:"text_key"}),"\xa0is not present."]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"# Creating a Data object with a specific text_key and default_value",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"data ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Data(",props:{style:{color:"#C9D1D9"}}},{content:"data",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:"{",props:{style:{color:"#C9D1D9"}}},{content:'"title"',props:{style:{color:"#A5D6FF"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:'"Hello, World!"',props:{style:{color:"#A5D6FF"}}},{content:"}, ",props:{style:{color:"#C9D1D9"}}},{content:"text_key",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"content"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"default_value",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"No content available"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Accessing the primary text using text_key and default_value",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.get_text()) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "No content available" because "content" key is not in the data dictionary',props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"# Accessing data keys by calling the attribute directly",props:{style:{color:"#8B949E"}}}]},{tokens:[{content:"print",props:{style:{color:"#79C0FF"}}},{content:"(data.title) ",props:{style:{color:"#C9D1D9"}}},{content:'# Outputs: "Hello, World!" because "title" key is in the data dictionary',props:{style:{color:"#8B949E"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["The ",(0,n.jsx)(t.code,{children:"Data"})," object is also convenient for visualization of outputs, since the output preview has visual elements to inspect data as a table and its cells as pop ups for basic types. The idea is to create a unified way to work and visualize complex information in Langflow."]}),"\n",(0,n.jsxs)(t.p,{children:["To receive ",(0,n.jsx)(t.code,{children:"Data"})," objects in a component input, you can use the ",(0,n.jsx)(t.code,{children:"DataInput"})," input type."]}),"\n",(0,n.jsx)(t.h2,{id:"f4f17cad02a545068f407d515cbc2902",children:"The Message Object"}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object extends the functionality of\xa0",(0,n.jsx)(t.code,{children:"Data"}),"\xa0and includes additional attributes and methods for chat interactions."]}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Main Attributes:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"text_key"}),": Key to retrieve the primary text data."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"text"}),": The main text content of the message."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"sender"}),': Identifier for the sender (e.g., "User" or "AI").']}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"sender_name"}),": Name of the sender."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"files"}),": List of files associated with the message."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"session_id"}),": Identifier for the chat session."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"timestamp"}),": Timestamp when the message was created."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"flow_id"}),": Identifier for the flow."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.p,{children:["The\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object can be used to send, store and manipulate chat messages within Langflow. You can create a\xa0",(0,n.jsx)(t.code,{children:"Message"}),"\xa0object by directly assigning key-value pairs to it. For example:"]}),"\n",(0,n.jsx)(d.Code,{codeConfig:p,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"from",props:{style:{color:"#FF7B72"}}},{content:" langflow.schema.message ",props:{style:{color:"#C9D1D9"}}},{content:"import",props:{style:{color:"#FF7B72"}}},{content:" Message",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"",props:{style:{color:"#C9D1D9"}}}]},{tokens:[{content:"message ",props:{style:{color:"#C9D1D9"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:" Message(",props:{style:{color:"#C9D1D9"}}},{content:"text",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"Hello, AI!"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"sender",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"User"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:"sender_name",props:{style:{color:"#FFA657"}}},{content:"=",props:{style:{color:"#FF7B72"}}},{content:'"John Doe"',props:{style:{color:"#A5D6FF"}}},{content:")",props:{style:{color:"#C9D1D9"}}}]}],lang:"python"},annotations:[]}]}),"\n",(0,n.jsxs)(t.p,{children:["To receive ",(0,n.jsx)(t.code,{children:"Message"})," objects in a component input, you can use the ",(0,n.jsx)(t.code,{children:"MessageInput"})," input type or ",(0,n.jsx)(t.code,{children:"MessageTextInput"})," when the goal is to extract just the ",(0,n.jsx)(t.code,{children:"text"})," field of the ",(0,n.jsx)(t.code,{children:"Message"})," object."]})]})}function y(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}function g(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.77159e8c.js b/assets/js/runtime~main.90766109.js similarity index 99% rename from assets/js/runtime~main.77159e8c.js rename to assets/js/runtime~main.90766109.js index ff9882b5d3..5b40dd7c03 100644 --- a/assets/js/runtime~main.77159e8c.js +++ b/assets/js/runtime~main.90766109.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,f,c,d,t={},b={};function r(e){var a=b[e];if(void 0!==a)return a.exports;var f=b[e]={id:e,loaded:!1,exports:{}};return t[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=t,r.c=b,e=[],r.O=(a,f,c,d)=>{if(!f){var t=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(b=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var t={};a=a||[null,f({}),f([]),f(f)];for(var b=2&c&&e;"object"==typeof b&&!~a.indexOf(b);b=f(b))Object.getOwnPropertyNames(b).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,r.d(d,t),d},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",784:"fe965b62",868:"dc7b1ef3",1039:"16d61ab3",1227:"647965d5",1246:"1b523369",1258:"7da17ff3",1394:"8054effa",1456:"ecd98ae0",1563:"3ef76b56",1567:"22dd74f7",1917:"c3616f7f",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2691:"2efb9d3a",3110:"6a2beaac",3327:"6aa941bb",3917:"c8dad5f1",3954:"f61c9ce2",3964:"829ff4d2",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4417:"f659caff",4429:"32cedcea",4633:"c563aec0",4930:"d2ad385b",5475:"18f3809a",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5742:"aba21aa0",5772:"f66238ae",6008:"445668ec",6147:"ab17fe15",6900:"3f8193f3",7098:"a7bd4aaa",7118:"4ce9199e",7211:"cacdc615",7258:"11478de3",7338:"c39b795e",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7892:"790349b7",8031:"25bf2d67",8054:"85112c90",8261:"474d53cd",8356:"c6a5eaec",8401:"17896441",8598:"44dfcf75",8661:"8f774222",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9304:"c329cc2b",9306:"667d0790",9455:"54175a6c",9461:"23d0e682",9580:"f81a91eb",9642:"eae80ce0",9647:"5e95c892"}[e]||e)+"."+{51:"40acd925",145:"9f83f19e",784:"5cb31f30",868:"d7c01dec",900:"a0e575ae",1039:"8121a609",1227:"a5e9a52c",1246:"d8c929da",1258:"546f76fa",1394:"e926076f",1456:"2f1edf50",1563:"eb9452ad",1567:"7fce7a6c",1917:"1799c84d",2237:"51dcacf5",2431:"ff60b3e9",2624:"549b0ffb",2657:"8355cb04",2691:"ee124360",3110:"a42b07a9",3327:"59ad1a4e",3917:"d6fef4ed",3954:"f438aea2",3964:"71cd6c9d",4028:"f8bce4ba",4046:"b93eaf1c",4133:"30c8c9a7",4417:"87229874",4429:"0a7099d8",4633:"5ff8fd28",4930:"ef0258e5",5475:"dfef96d2",5562:"e31ab0c8",5572:"900153bb",5628:"b540b4fe",5634:"92ba7913",5742:"7728a8b8",5772:"2d1e00e7",6008:"b310996f",6147:"481d3fae",6900:"ad0db0de",7098:"c1ae1626",7118:"687ca843",7211:"4ffb205b",7258:"a9a0ccb4",7338:"b520aa6a",7408:"7aea1959",7453:"e341009b",7462:"9216a547",7892:"3972bc33",8031:"9ecebac7",8054:"8d11cc7d",8261:"cb04f4b5",8356:"b1a092c9",8401:"f87fbc20",8598:"5efd88f8",8661:"e2c8ad8e",8927:"9a5a5aa8",8929:"029106ed",8953:"2ac4dd6f",9048:"6c0ab240",9126:"7e15d790",9141:"6473b46e",9304:"447646ac",9306:"5f9fab49",9455:"8c81b845",9461:"5e40108d",9580:"3c6ddcce",9642:"c17d82a2",9647:"803b6717"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="langflow-docs:",r.l=(e,a,f,t)=>{if(c[e])c[e].push(a);else{var b,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=u.bind(null,b.onerror),b.onload=u.bind(null,b.onload),o&&document.head.appendChild(b)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",b7251463:"51","0be1d5fe":"145",fe965b62:"784",dc7b1ef3:"868","16d61ab3":"1039","647965d5":"1227","1b523369":"1246","7da17ff3":"1258","8054effa":"1394",ecd98ae0:"1456","3ef76b56":"1563","22dd74f7":"1567",c3616f7f:"1917",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657","2efb9d3a":"2691","6a2beaac":"3110","6aa941bb":"3327",c8dad5f1:"3917",f61c9ce2:"3954","829ff4d2":"3964",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133",f659caff:"4417","32cedcea":"4429",c563aec0:"4633",d2ad385b:"4930","18f3809a":"5475","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634",aba21aa0:"5742",f66238ae:"5772","445668ec":"6008",ab17fe15:"6147","3f8193f3":"6900",a7bd4aaa:"7098","4ce9199e":"7118",cacdc615:"7211","11478de3":"7258",c39b795e:"7338","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","790349b7":"7892","25bf2d67":"8031","85112c90":"8054","474d53cd":"8261",c6a5eaec:"8356","44dfcf75":"8598","8f774222":"8661",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126",c329cc2b:"9304","667d0790":"9306","54175a6c":"9455","23d0e682":"9461",f81a91eb:"9580",eae80ce0:"9642","5e95c892":"9647"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var t=r.p+r.u(a),b=new Error;r.l(t,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),t=f&&f.target&&f.target.src;b.message="Loading chunk "+a+" failed.\n("+d+": "+t+")",b.name="ChunkLoadError",b.type=d,b.request=t,c[1](b)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,t=f[0],b=f[1],o=f[2],n=0;if(t.some((a=>0!==e[a]))){for(c in b)r.o(b,c)&&(r.m[c]=b[c]);if(o)var i=o(r)}for(a&&a(f);n{"use strict";var e,a,f,c,d,t={},b={};function r(e){var a=b[e];if(void 0!==a)return a.exports;var f=b[e]={id:e,loaded:!1,exports:{}};return t[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=t,r.c=b,e=[],r.O=(a,f,c,d)=>{if(!f){var t=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(b=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,c,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var t={};a=a||[null,f({}),f([]),f(f)];for(var b=2&c&&e;"object"==typeof b&&!~a.indexOf(b);b=f(b))Object.getOwnPropertyNames(b).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,r.d(d,t),d},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({51:"b7251463",145:"0be1d5fe",784:"fe965b62",868:"dc7b1ef3",1039:"16d61ab3",1227:"647965d5",1246:"1b523369",1258:"7da17ff3",1394:"8054effa",1456:"ecd98ae0",1563:"3ef76b56",1567:"22dd74f7",1917:"c3616f7f",2431:"c0d3c6ab",2624:"8ff68e6f",2657:"a3ab51d1",2691:"2efb9d3a",3110:"6a2beaac",3327:"6aa941bb",3917:"c8dad5f1",3954:"f61c9ce2",3964:"829ff4d2",4028:"c2ebd62a",4046:"9ac856ad",4133:"5cf11f26",4417:"f659caff",4429:"32cedcea",4633:"c563aec0",4930:"d2ad385b",5475:"18f3809a",5562:"20e9af62",5572:"873ebc27",5628:"a83bc7c0",5634:"9822a706",5742:"aba21aa0",5772:"f66238ae",6008:"445668ec",6147:"ab17fe15",6900:"3f8193f3",7098:"a7bd4aaa",7118:"4ce9199e",7211:"cacdc615",7258:"11478de3",7338:"c39b795e",7408:"3ae94ad4",7453:"fdefa9a8",7462:"921b5fc1",7892:"790349b7",8031:"25bf2d67",8054:"85112c90",8261:"474d53cd",8356:"c6a5eaec",8401:"17896441",8598:"44dfcf75",8661:"8f774222",8927:"ae68aa8b",8929:"172b3cfb",8953:"adef6868",9048:"a94703ab",9126:"ea3c040a",9141:"19136925",9304:"c329cc2b",9306:"667d0790",9455:"54175a6c",9461:"23d0e682",9580:"f81a91eb",9642:"eae80ce0",9647:"5e95c892"}[e]||e)+"."+{51:"40acd925",145:"9f83f19e",784:"5cb31f30",868:"d7c01dec",900:"a0e575ae",1039:"8121a609",1227:"a5e9a52c",1246:"d8c929da",1258:"546f76fa",1394:"e926076f",1456:"2f1edf50",1563:"eb9452ad",1567:"7fce7a6c",1917:"1799c84d",2237:"51dcacf5",2431:"ff60b3e9",2624:"549b0ffb",2657:"8355cb04",2691:"c4d2d014",3110:"a42b07a9",3327:"59ad1a4e",3917:"d6fef4ed",3954:"f438aea2",3964:"71cd6c9d",4028:"f8bce4ba",4046:"b93eaf1c",4133:"30c8c9a7",4417:"87229874",4429:"0a7099d8",4633:"5ff8fd28",4930:"ef0258e5",5475:"dfef96d2",5562:"e31ab0c8",5572:"900153bb",5628:"b540b4fe",5634:"92ba7913",5742:"7728a8b8",5772:"2d1e00e7",6008:"b310996f",6147:"481d3fae",6900:"ad0db0de",7098:"c1ae1626",7118:"687ca843",7211:"4ffb205b",7258:"a9a0ccb4",7338:"b520aa6a",7408:"7aea1959",7453:"e341009b",7462:"9216a547",7892:"3972bc33",8031:"9ecebac7",8054:"8d11cc7d",8261:"cb04f4b5",8356:"b1a092c9",8401:"f87fbc20",8598:"5efd88f8",8661:"e2c8ad8e",8927:"9a5a5aa8",8929:"029106ed",8953:"2ac4dd6f",9048:"6c0ab240",9126:"7e15d790",9141:"6473b46e",9304:"447646ac",9306:"5f9fab49",9455:"8c81b845",9461:"5e40108d",9580:"3c6ddcce",9642:"c17d82a2",9647:"803b6717"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},d="langflow-docs:",r.l=(e,a,f,t)=>{if(c[e])c[e].push(a);else{var b,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=u.bind(null,b.onerror),b.onload=u.bind(null,b.onload),o&&document.head.appendChild(b)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"8401",19136925:"9141",b7251463:"51","0be1d5fe":"145",fe965b62:"784",dc7b1ef3:"868","16d61ab3":"1039","647965d5":"1227","1b523369":"1246","7da17ff3":"1258","8054effa":"1394",ecd98ae0:"1456","3ef76b56":"1563","22dd74f7":"1567",c3616f7f:"1917",c0d3c6ab:"2431","8ff68e6f":"2624",a3ab51d1:"2657","2efb9d3a":"2691","6a2beaac":"3110","6aa941bb":"3327",c8dad5f1:"3917",f61c9ce2:"3954","829ff4d2":"3964",c2ebd62a:"4028","9ac856ad":"4046","5cf11f26":"4133",f659caff:"4417","32cedcea":"4429",c563aec0:"4633",d2ad385b:"4930","18f3809a":"5475","20e9af62":"5562","873ebc27":"5572",a83bc7c0:"5628","9822a706":"5634",aba21aa0:"5742",f66238ae:"5772","445668ec":"6008",ab17fe15:"6147","3f8193f3":"6900",a7bd4aaa:"7098","4ce9199e":"7118",cacdc615:"7211","11478de3":"7258",c39b795e:"7338","3ae94ad4":"7408",fdefa9a8:"7453","921b5fc1":"7462","790349b7":"7892","25bf2d67":"8031","85112c90":"8054","474d53cd":"8261",c6a5eaec:"8356","44dfcf75":"8598","8f774222":"8661",ae68aa8b:"8927","172b3cfb":"8929",adef6868:"8953",a94703ab:"9048",ea3c040a:"9126",c329cc2b:"9304","667d0790":"9306","54175a6c":"9455","23d0e682":"9461",f81a91eb:"9580",eae80ce0:"9642","5e95c892":"9647"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)f.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>c=e[a]=[f,d]));f.push(c[2]=d);var t=r.p+r.u(a),b=new Error;r.l(t,(f=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var d=f&&("load"===f.type?"missing":f.type),t=f&&f.target&&f.target.src;b.message="Loading chunk "+a+" failed.\n("+d+": "+t+")",b.name="ChunkLoadError",b.type=d,b.request=t,c[1](b)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var c,d,t=f[0],b=f[1],o=f[2],n=0;if(t.some((a=>0!==e[a]))){for(c in b)r.o(b,c)&&(r.m[c]=b[c]);if(o)var i=o(r)}for(a&&a(f);n - + diff --git a/components-custom-components.html b/components-custom-components.html index a83fb723cc..b01c0f1f0a 100644 --- a/components-custom-components.html +++ b/components-custom-components.html @@ -10,7 +10,7 @@ - + diff --git a/components-data.html b/components-data.html index f66b4b8483..9420b4baa6 100644 --- a/components-data.html +++ b/components-data.html @@ -10,7 +10,7 @@ - + diff --git a/components-embedding-models.html b/components-embedding-models.html index b269d0717d..cd83b747c8 100644 --- a/components-embedding-models.html +++ b/components-embedding-models.html @@ -10,7 +10,7 @@ - + diff --git a/components-helpers.html b/components-helpers.html index aae8de62aa..ac811d7a21 100644 --- a/components-helpers.html +++ b/components-helpers.html @@ -10,7 +10,7 @@ - + diff --git a/components-io.html b/components-io.html index 9fc3c2f717..9e73269569 100644 --- a/components-io.html +++ b/components-io.html @@ -10,7 +10,7 @@ - + diff --git a/components-loaders.html b/components-loaders.html index 1b287b5e63..4b5401d5d0 100644 --- a/components-loaders.html +++ b/components-loaders.html @@ -10,7 +10,7 @@ - + diff --git a/components-logic.html b/components-logic.html index e848457211..6ea53b9fb8 100644 --- a/components-logic.html +++ b/components-logic.html @@ -10,7 +10,7 @@ - + diff --git a/components-models.html b/components-models.html index ebd397b1ca..2c67cf890c 100644 --- a/components-models.html +++ b/components-models.html @@ -10,7 +10,7 @@ - + diff --git a/components-overview.html b/components-overview.html index 05d9132730..f866672b48 100644 --- a/components-overview.html +++ b/components-overview.html @@ -10,7 +10,7 @@ - + diff --git a/components-prompts.html b/components-prompts.html index c06db23f74..b318d564a0 100644 --- a/components-prompts.html +++ b/components-prompts.html @@ -10,7 +10,7 @@ - + diff --git a/components-rag.html b/components-rag.html index b0d4c61c64..4e331a43bf 100644 --- a/components-rag.html +++ b/components-rag.html @@ -10,7 +10,7 @@ - + diff --git a/components-vector-stores.html b/components-vector-stores.html index badcddfa43..c3dc62434e 100644 --- a/components-vector-stores.html +++ b/components-vector-stores.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-api-keys.html b/configuration-api-keys.html index a8b4501963..a209f5fd94 100644 --- a/configuration-api-keys.html +++ b/configuration-api-keys.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-authentication.html b/configuration-authentication.html index c807335b8b..81ffe8ced2 100644 --- a/configuration-authentication.html +++ b/configuration-authentication.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-auto-save.html b/configuration-auto-save.html index 6b032ade04..db69c6662d 100644 --- a/configuration-auto-save.html +++ b/configuration-auto-save.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-backend-only.html b/configuration-backend-only.html index 7bb732a5cd..590741e440 100644 --- a/configuration-backend-only.html +++ b/configuration-backend-only.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-cli.html b/configuration-cli.html index 0d9c6fcef2..bfc63b0a90 100644 --- a/configuration-cli.html +++ b/configuration-cli.html @@ -10,7 +10,7 @@ - + diff --git a/configuration-global-variables.html b/configuration-global-variables.html index d767bb4dab..dcca6d307f 100644 --- a/configuration-global-variables.html +++ b/configuration-global-variables.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-community.html b/contributing-community.html index ef37072bb1..a018281ca9 100644 --- a/contributing-community.html +++ b/contributing-community.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-components.html b/contributing-components.html index 0be34aae5e..0532f7af35 100644 --- a/contributing-components.html +++ b/contributing-components.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-github-discussions.html b/contributing-github-discussions.html index 8f0497cc0a..a9e7be4bad 100644 --- a/contributing-github-discussions.html +++ b/contributing-github-discussions.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-github-issues.html b/contributing-github-issues.html index 03aa4ca5f6..83305cab1d 100644 --- a/contributing-github-issues.html +++ b/contributing-github-issues.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-how-to-contribute.html b/contributing-how-to-contribute.html index 491ec25b69..0ec0ab638a 100644 --- a/contributing-how-to-contribute.html +++ b/contributing-how-to-contribute.html @@ -10,7 +10,7 @@ - + diff --git a/contributing-telemetry.html b/contributing-telemetry.html index b89c378ff5..66318c798d 100644 --- a/contributing-telemetry.html +++ b/contributing-telemetry.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-docker.html b/deployment-docker.html index 4f0f182ac1..a6d3774b7d 100644 --- a/deployment-docker.html +++ b/deployment-docker.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-gcp.html b/deployment-gcp.html index 5e5dc1dd50..3215657f6b 100644 --- a/deployment-gcp.html +++ b/deployment-gcp.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-hugging-face-spaces.html b/deployment-hugging-face-spaces.html index cd77eca2e3..a082c6cf40 100644 --- a/deployment-hugging-face-spaces.html +++ b/deployment-hugging-face-spaces.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-kubernetes.html b/deployment-kubernetes.html index 235cf20bee..72d8c31343 100644 --- a/deployment-kubernetes.html +++ b/deployment-kubernetes.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-railway.html b/deployment-railway.html index eb53cfc0f4..dca90abe16 100644 --- a/deployment-railway.html +++ b/deployment-railway.html @@ -10,7 +10,7 @@ - + diff --git a/deployment-render.html b/deployment-render.html index 4a4d33fd4f..82436e52ff 100644 --- a/deployment-render.html +++ b/deployment-render.html @@ -10,7 +10,7 @@ - + diff --git a/environment-variables.html b/environment-variables.html index 63e813559b..c45e50c74c 100644 --- a/environment-variables.html +++ b/environment-variables.html @@ -10,7 +10,7 @@ - + diff --git a/getting-started-installation.html b/getting-started-installation.html index d4cb76cc90..c37b32c182 100644 --- a/getting-started-installation.html +++ b/getting-started-installation.html @@ -10,7 +10,7 @@ - + diff --git a/getting-started-quickstart.html b/getting-started-quickstart.html index 5d7c121e54..b4d59ff75d 100644 --- a/getting-started-quickstart.html +++ b/getting-started-quickstart.html @@ -10,7 +10,7 @@ - + diff --git a/guides-chat-memory.html b/guides-chat-memory.html index 9928c0a825..e22e6249b5 100644 --- a/guides-chat-memory.html +++ b/guides-chat-memory.html @@ -10,7 +10,7 @@ - + diff --git a/guides-data-message.html b/guides-data-message.html index e6b90e16ca..e0a0ea4189 100644 --- a/guides-data-message.html +++ b/guides-data-message.html @@ -10,7 +10,7 @@ - + @@ -37,25 +37,41 @@

_10
# Creating a Data object with a specific text_key and default_value
_10
data = Data(data={"title": "Hello, World!"}, text_key="content", default_value="No content available")
_10
_10
# Accessing the primary text using text_key and default_value
_10
print(data.get_text()) # Outputs: "No content available" because "content" key is not in the data dictionary
_10
_10
# Accessing data keys by calling the attribute directly
_10
print(data.title) # Outputs: "Hello, World!" because "title" key is in the data dictionary

The Data object is also convenient for visualization of outputs, since the output preview has visual elements to inspect data as a table and its cells as pop ups for basic types. The idea is to create a unified way to work and visualize complex information in Langflow.

To receive Data objects in a component input, you can use the DataInput input type.

-

The Message Object

+

Message object attributes


The Message object extends the functionality of Data and includes additional attributes and methods for chat interactions.

    -
  • Main Attributes: +
  • +

    Core message data:

      -
    • text_key: Key to retrieve the primary text data.
    • -
    • text: The main text content of the message.
    • -
    • sender: Identifier for the sender (e.g., "User" or "AI").
    • -
    • sender_name: Name of the sender.
    • -
    • files: List of files associated with the message.
    • -
    • session_id: Identifier for the chat session.
    • -
    • timestamp: Timestamp when the message was created.
    • -
    • flow_id: Identifier for the flow.
    • +
    • text: The main text content of the message
    • +
    • sender: Identifier for the sender (e.g., "User" or "AI")
    • +
    • sender_name: Name of the sender
    • +
    • session_id: Identifier for the chat session
    • +
    • timestamp: Timestamp when the message was created (UTC)
    • +
    • flow_id: Identifier for the flow
    • +
    • id: Unique identifier for the message
    • +
    +
  • +
  • +

    Content and files:

    +
      +
    • files: List of files or images associated with the message
    • +
    • content_blocks: List of structured content blocks
    • +
    • properties: Additional properties including visual styling and source information
    • +
    +
  • +
  • +

    Message state:

    +
      +
    • error: Boolean indicating if there was an error
    • +
    • edit: Boolean indicating if the message was edited
    • +
    • category: Message category ("message", "error", "warning", "info")
-

The Message object can be used to send, store and manipulate chat messages within Langflow. You can create a Message object by directly assigning key-value pairs to it. For example:

+

The Message object can be used to send, store, and manipulate chat messages within Langflow. You can create a Message object by directly assigning key-value pairs to it. For example:


_10
from langflow.schema.message import Message
_10
_10
message = Message(text="Hello, AI!", sender="User", sender_name="John Doe")

-

To receive Message objects in a component input, you can use the MessageInput input type or MessageTextInput when the goal is to extract just the text field of the Message object.

Hi, how can I help you?

+

To receive Message objects in a component input, you can use the MessageInput input type or MessageTextInput when the goal is to extract just the text field of the Message object.

Hi, how can I help you?

\ No newline at end of file diff --git a/guides-new-to-llms.html b/guides-new-to-llms.html index c70495b451..3b8bedb466 100644 --- a/guides-new-to-llms.html +++ b/guides-new-to-llms.html @@ -10,7 +10,7 @@ - + diff --git a/index.html b/index.html index 5fac13ba90..e40585d3a5 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-assemblyai.html b/integrations-assemblyai.html index fcb108003a..88da8e2b94 100644 --- a/integrations-assemblyai.html +++ b/integrations-assemblyai.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langfuse.html b/integrations-langfuse.html index d5481af151..76a097e1a0 100644 --- a/integrations-langfuse.html +++ b/integrations-langfuse.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langsmith.html b/integrations-langsmith.html index c72de52210..6cc255dea0 100644 --- a/integrations-langsmith.html +++ b/integrations-langsmith.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-langwatch.html b/integrations-langwatch.html index 8dff8fc3f0..eb646c4ec1 100644 --- a/integrations-langwatch.html +++ b/integrations-langwatch.html @@ -10,7 +10,7 @@ - + diff --git a/integrations-setup-google-oauth-langflow.html b/integrations-setup-google-oauth-langflow.html index b860bbaa3a..4c3a088c1a 100644 --- a/integrations-setup-google-oauth-langflow.html +++ b/integrations-setup-google-oauth-langflow.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/notion-agent-conversational.html b/integrations/notion/notion-agent-conversational.html index 0aef0c9164..8e12b0efb2 100644 --- a/integrations/notion/notion-agent-conversational.html +++ b/integrations/notion/notion-agent-conversational.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/notion-agent-meeting-notes.html b/integrations/notion/notion-agent-meeting-notes.html index 82a130d06c..eb6f852b08 100644 --- a/integrations/notion/notion-agent-meeting-notes.html +++ b/integrations/notion/notion-agent-meeting-notes.html @@ -10,7 +10,7 @@ - + diff --git a/integrations/notion/setup.html b/integrations/notion/setup.html index 57a4d22496..f4f43c5057 100644 --- a/integrations/notion/setup.html +++ b/integrations/notion/setup.html @@ -10,7 +10,7 @@ - + diff --git a/sitemap.xml b/sitemap.xml index b311ec9261..10bd971cd1 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://docs.langflow.org/agents-overview2024-11-20T19:42:41.000Zhttps://docs.langflow.org/agents-tool-calling-agent-component2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-agents2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-custom-components2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-data2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-embedding-models2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-helpers2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-io2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-loaders2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-logic2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-models2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-overview2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-prompts2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-rag2024-11-20T19:42:41.000Zhttps://docs.langflow.org/components-vector-stores2024-11-20T19:42:41.000Zhttps://docs.langflow.org/Components/components-memories2024-11-20T19:42:41.000Zhttps://docs.langflow.org/Components/components-tools2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-api-keys2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-authentication2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-auto-save2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-backend-only2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-cli2024-11-20T19:42:41.000Zhttps://docs.langflow.org/configuration-global-variables2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-community2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-components2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-github-discussions2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-github-issues2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-how-to-contribute2024-11-20T19:42:41.000Zhttps://docs.langflow.org/contributing-telemetry2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-docker2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-gcp2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-hugging-face-spaces2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-kubernetes2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-railway2024-11-20T19:42:41.000Zhttps://docs.langflow.org/deployment-render2024-11-20T19:42:41.000Zhttps://docs.langflow.org/environment-variables2024-11-20T19:42:41.000Zhttps://docs.langflow.org/getting-started-installation2024-11-20T19:42:41.000Zhttps://docs.langflow.org/getting-started-quickstart2024-11-20T19:42:41.000Zhttps://docs.langflow.org/guides-chat-memory2024-11-20T19:42:41.000Zhttps://docs.langflow.org/guides-data-message2024-11-20T19:42:41.000Zhttps://docs.langflow.org/guides-new-to-llms2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations-assemblyai2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations-langfuse2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations-langsmith2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations-langwatch2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations-setup-google-oauth-langflow2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-conversational2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-meeting-notes2024-11-20T19:42:41.000Zhttps://docs.langflow.org/integrations/notion/setup2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-basic-prompting2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-blog-writer2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-document-qa2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-dynamic-agent2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-memory-chatbot2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-simple-agent2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-travel-planning-agent2024-11-20T19:42:41.000Zhttps://docs.langflow.org/starter-projects-vector-store-rag2024-11-20T19:42:41.000Zhttps://docs.langflow.org/workspace-api2024-11-20T19:42:41.000Zhttps://docs.langflow.org/workspace-logs2024-11-20T19:42:41.000Zhttps://docs.langflow.org/workspace-overview2024-11-20T19:42:41.000Zhttps://docs.langflow.org/workspace-playground2024-11-20T19:42:41.000Zhttps://docs.langflow.org/2024-11-20T19:42:41.000Z \ No newline at end of file +https://docs.langflow.org/agents-overview2024-11-21T14:04:45.000Zhttps://docs.langflow.org/agents-tool-calling-agent-component2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-agents2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-custom-components2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-data2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-embedding-models2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-helpers2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-io2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-loaders2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-logic2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-models2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-overview2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-prompts2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-rag2024-11-21T14:04:45.000Zhttps://docs.langflow.org/components-vector-stores2024-11-21T14:04:45.000Zhttps://docs.langflow.org/Components/components-memories2024-11-21T14:04:45.000Zhttps://docs.langflow.org/Components/components-tools2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-api-keys2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-authentication2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-auto-save2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-backend-only2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-cli2024-11-21T14:04:45.000Zhttps://docs.langflow.org/configuration-global-variables2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-community2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-components2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-github-discussions2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-github-issues2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-how-to-contribute2024-11-21T14:04:45.000Zhttps://docs.langflow.org/contributing-telemetry2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-docker2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-gcp2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-hugging-face-spaces2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-kubernetes2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-railway2024-11-21T14:04:45.000Zhttps://docs.langflow.org/deployment-render2024-11-21T14:04:45.000Zhttps://docs.langflow.org/environment-variables2024-11-21T14:04:45.000Zhttps://docs.langflow.org/getting-started-installation2024-11-21T14:04:45.000Zhttps://docs.langflow.org/getting-started-quickstart2024-11-21T14:04:45.000Zhttps://docs.langflow.org/guides-chat-memory2024-11-21T14:04:45.000Zhttps://docs.langflow.org/guides-data-message2024-11-21T14:04:45.000Zhttps://docs.langflow.org/guides-new-to-llms2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations-assemblyai2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations-langfuse2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations-langsmith2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations-langwatch2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations-setup-google-oauth-langflow2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-conversational2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations/notion/notion-agent-meeting-notes2024-11-21T14:04:45.000Zhttps://docs.langflow.org/integrations/notion/setup2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-basic-prompting2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-blog-writer2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-document-qa2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-dynamic-agent2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-memory-chatbot2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-simple-agent2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-travel-planning-agent2024-11-21T14:04:45.000Zhttps://docs.langflow.org/starter-projects-vector-store-rag2024-11-21T14:04:45.000Zhttps://docs.langflow.org/workspace-api2024-11-21T14:04:45.000Zhttps://docs.langflow.org/workspace-logs2024-11-21T14:04:45.000Zhttps://docs.langflow.org/workspace-overview2024-11-21T14:04:45.000Zhttps://docs.langflow.org/workspace-playground2024-11-21T14:04:45.000Zhttps://docs.langflow.org/2024-11-21T14:04:45.000Z \ No newline at end of file diff --git a/starter-projects-basic-prompting.html b/starter-projects-basic-prompting.html index 48929ff90e..33f3272dd8 100644 --- a/starter-projects-basic-prompting.html +++ b/starter-projects-basic-prompting.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-blog-writer.html b/starter-projects-blog-writer.html index 20437936d1..335e1bd0fe 100644 --- a/starter-projects-blog-writer.html +++ b/starter-projects-blog-writer.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-document-qa.html b/starter-projects-document-qa.html index 82f3542002..ba97bf83b6 100644 --- a/starter-projects-document-qa.html +++ b/starter-projects-document-qa.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-dynamic-agent.html b/starter-projects-dynamic-agent.html index 88f7ab3bf2..e2e8e9b0b5 100644 --- a/starter-projects-dynamic-agent.html +++ b/starter-projects-dynamic-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-memory-chatbot.html b/starter-projects-memory-chatbot.html index f00000930a..4f1bb38179 100644 --- a/starter-projects-memory-chatbot.html +++ b/starter-projects-memory-chatbot.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-simple-agent.html b/starter-projects-simple-agent.html index 578379094b..e6002fc24b 100644 --- a/starter-projects-simple-agent.html +++ b/starter-projects-simple-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-travel-planning-agent.html b/starter-projects-travel-planning-agent.html index 3e7f19a81e..7a60798dbb 100644 --- a/starter-projects-travel-planning-agent.html +++ b/starter-projects-travel-planning-agent.html @@ -10,7 +10,7 @@ - + diff --git a/starter-projects-vector-store-rag.html b/starter-projects-vector-store-rag.html index 99a5b49c93..3f7767ee9f 100644 --- a/starter-projects-vector-store-rag.html +++ b/starter-projects-vector-store-rag.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-api.html b/workspace-api.html index ea6365e041..8fba66c906 100644 --- a/workspace-api.html +++ b/workspace-api.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-logs.html b/workspace-logs.html index 6665b687cd..778fab45bc 100644 --- a/workspace-logs.html +++ b/workspace-logs.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-overview.html b/workspace-overview.html index 70921b6386..8360367880 100644 --- a/workspace-overview.html +++ b/workspace-overview.html @@ -10,7 +10,7 @@ - + diff --git a/workspace-playground.html b/workspace-playground.html index 9a4cfb3cfa..5d68797f16 100644 --- a/workspace-playground.html +++ b/workspace-playground.html @@ -10,7 +10,7 @@ - +