Flowise
268 строк · 10.9 Кб
1{
2"description": "Analyse and summarize CSV data",3"categories": "CSV Agent,ChatOpenAI,Langchain",4"framework": "Langchain",5"nodes": [6{7"width": 300,8"height": 377,9"id": "csvAgent_0",10"position": {11"x": 1064.0780498701288,12"y": 284.4435269530472413},14"type": "customNode",15"data": {16"id": "csvAgent_0",17"label": "CSV Agent",18"name": "csvAgent",19"version": 3,20"type": "AgentExecutor",21"baseClasses": ["AgentExecutor", "BaseChain"],22"category": "Agents",23"description": "Agent used to to answer queries on CSV data",24"inputParams": [25{26"label": "Csv File",27"name": "csvFile",28"type": "file",29"fileType": ".csv",30"id": "csvAgent_0-input-csvFile-file"31}32],33"inputAnchors": [34{35"label": "Language Model",36"name": "model",37"type": "BaseLanguageModel",38"id": "csvAgent_0-input-model-BaseLanguageModel"39},40{41"label": "Input Moderation",42"description": "Detect text that could generate harmful output and prevent it from being sent to the language model",43"name": "inputModeration",44"type": "Moderation",45"optional": true,46"list": true,47"id": "csvAgent_0-input-inputModeration-Moderation"48},49{50"label": "Custom Pandas Read_CSV Code",51"description": "Custom Pandas <a target=\"_blank\" href=\"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html\">read_csv</a> function. Takes in an input: \"csv_data\"",52"name": "customReadCSV",53"default": "read_csv(csv_data)",54"type": "code",55"optional": true,56"additionalParams": true,57"id": "csvAgent_0-input-customReadCSV-code"58}59],60"inputs": {61"inputModeration": "",62"model": "{{chatOpenAI_0.data.instance}}"63},64"outputAnchors": [65{66"id": "csvAgent_0-output-csvAgent-AgentExecutor|BaseChain",67"name": "csvAgent",68"label": "AgentExecutor",69"type": "AgentExecutor | BaseChain"70}71],72"outputs": {},73"selected": false74},75"selected": false,76"positionAbsolute": {77"x": 1064.0780498701288,78"y": 284.4435269530472479},80"dragging": false81},82{83"width": 300,84"height": 522,85"id": "chatOpenAI_0",86"position": {87"x": 657.3762197414501,88"y": 220.295076604233289},90"type": "customNode",91"data": {92"id": "chatOpenAI_0",93"label": "ChatOpenAI",94"name": "chatOpenAI",95"version": 6.0,96"type": "ChatOpenAI",97"baseClasses": ["ChatOpenAI", "BaseChatModel", "BaseLanguageModel"],98"category": "Chat Models",99"description": "Wrapper around OpenAI large language models that use the Chat endpoint",100"inputParams": [101{102"label": "Connect Credential",103"name": "credential",104"type": "credential",105"credentialNames": ["openAIApi"],106"id": "chatOpenAI_0-input-credential-credential"107},108{109"label": "Model Name",110"name": "modelName",111"type": "asyncOptions",112"loadMethod": "listModels",113"default": "gpt-3.5-turbo",114"id": "chatOpenAI_0-input-modelName-options"115},116{117"label": "Temperature",118"name": "temperature",119"type": "number",120"default": 0.9,121"optional": true,122"id": "chatOpenAI_0-input-temperature-number"123},124{125"label": "Max Tokens",126"name": "maxTokens",127"type": "number",128"optional": true,129"additionalParams": true,130"id": "chatOpenAI_0-input-maxTokens-number"131},132{133"label": "Top Probability",134"name": "topP",135"type": "number",136"optional": true,137"additionalParams": true,138"id": "chatOpenAI_0-input-topP-number"139},140{141"label": "Frequency Penalty",142"name": "frequencyPenalty",143"type": "number",144"optional": true,145"additionalParams": true,146"id": "chatOpenAI_0-input-frequencyPenalty-number"147},148{149"label": "Presence Penalty",150"name": "presencePenalty",151"type": "number",152"optional": true,153"additionalParams": true,154"id": "chatOpenAI_0-input-presencePenalty-number"155},156{157"label": "Timeout",158"name": "timeout",159"type": "number",160"optional": true,161"additionalParams": true,162"id": "chatOpenAI_0-input-timeout-number"163},164{165"label": "BasePath",166"name": "basepath",167"type": "string",168"optional": true,169"additionalParams": true,170"id": "chatOpenAI_0-input-basepath-string"171},172{173"label": "BaseOptions",174"name": "baseOptions",175"type": "json",176"optional": true,177"additionalParams": true,178"id": "chatOpenAI_0-input-baseOptions-json"179},180{181"label": "Allow Image Uploads",182"name": "allowImageUploads",183"type": "boolean",184"description": "Automatically uses gpt-4-vision-preview when image is being uploaded from chat. Only works with LLMChain, Conversation Chain, ReAct Agent, and Conversational Agent",185"default": false,186"optional": true,187"id": "chatOpenAI_0-input-allowImageUploads-boolean"188},189{190"label": "Image Resolution",191"description": "This parameter controls the resolution in which the model views the image.",192"name": "imageResolution",193"type": "options",194"options": [195{196"label": "Low",197"name": "low"198},199{200"label": "High",201"name": "high"202},203{204"label": "Auto",205"name": "auto"206}207],208"default": "low",209"optional": false,210"additionalParams": true,211"id": "chatOpenAI_0-input-imageResolution-options"212}213],214"inputAnchors": [215{216"label": "Cache",217"name": "cache",218"type": "BaseCache",219"optional": true,220"id": "chatOpenAI_0-input-cache-BaseCache"221}222],223"inputs": {224"modelName": "gpt-3.5-turbo",225"temperature": 0.9,226"maxTokens": "",227"topP": "",228"frequencyPenalty": "",229"presencePenalty": "",230"timeout": "",231"basepath": "",232"baseOptions": "",233"allowImageUploads": true,234"imageResolution": "low"235},236"outputAnchors": [237{238"id": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel",239"name": "chatOpenAI",240"label": "ChatOpenAI",241"type": "ChatOpenAI | BaseChatModel | BaseLanguageModel"242}243],244"outputs": {},245"selected": false246},247"selected": false,248"positionAbsolute": {249"x": 657.3762197414501,250"y": 220.2950766042332251},252"dragging": false253}254],255"edges": [256{257"source": "chatOpenAI_0",258"sourceHandle": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel",259"target": "csvAgent_0",260"targetHandle": "csvAgent_0-input-model-BaseLanguageModel",261"type": "buttonedge",262"id": "chatOpenAI_0-chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel-csvAgent_0-csvAgent_0-input-model-BaseLanguageModel",263"data": {264"label": ""265}266}267]268}
269