1 Star 0 Fork 0

cutecuteyu/langflow_bypass_gpt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qingqiubaidu.json 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
cutecuteyu 提交于 2024-09-04 00:38 . add
{"data":{"edges":[],"nodes":[{"data":{"id":"TextInput-Smmo6","type":"TextInput","node":{"template":{"_type":"Component","code":{"type":"code","required":true,"placeholder":"","list":false,"show":true,"multiline":true,"value":"from langflow.base.io.text import TextComponent\nfrom langflow.io import MessageTextInput, Output\nfrom langflow.schema.message import Message\nimport requests\n\nclass TextInputComponent(TextComponent):\n display_name = \"Qing Qiu BaiDu\"\n description = \"Qing Qiu BaiDu\"\n icon = \"type\"\n name = \"TextInput\"\n\n inputs = [\n MessageTextInput(\n name=\"input_value\",\n display_name=\"WebSite\",\n info=\"WebSite\",\n ),\n ]\n outputs = [\n Output(display_name=\"Result\", name=\"text\", method=\"text_response\"),\n ]\n\n def text_response(self) -> Message:\n message = Message(\n text=self.input_value,\n )\n re = requests.get(self.input_value)\n newmessage = Message(text=re.text)\n return newmessage","fileTypes":[],"file_path":"","password":false,"name":"code","advanced":true,"dynamic":true,"info":"","load_from_db":false,"title_case":false},"input_value":{"trace_as_input":true,"trace_as_metadata":true,"load_from_db":false,"list":false,"required":false,"placeholder":"","show":true,"name":"input_value","value":"https://www.baidu.com","display_name":"WebSite","advanced":false,"input_types":["Message"],"dynamic":false,"info":"WebSite","title_case":false,"type":"str","_input_type":"MessageTextInput"}},"description":"Qing Qiu BaiDu","icon":"type","base_classes":["Message"],"display_name":"qingqiubaidu","documentation":"","custom_fields":{},"output_types":[],"pinned":false,"conditional_paths":[],"frozen":false,"outputs":[{"types":["Message"],"selected":"Message","name":"text","display_name":"Result","method":"text_response","value":"__UNDEFINED__","cache":true}],"field_order":["input_value"],"beta":false,"edited":true,"lf_version":"1.0.17","official":false}},"id":"TextInput-Smmo6","position":{"x":0,"y":0},"type":"genericNode"}],"viewport":{"x":1,"y":1,"zoom":1}},"description":"Qing Qiu BaiDu","name":"qingqiubaidu","id":"TextInput-Smmo6","is_component":true,"last_tested_version":"1.0.17"}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cutecuteyu/langflow_bypass_gpt.git
git@gitee.com:cutecuteyu/langflow_bypass_gpt.git
cutecuteyu
langflow_bypass_gpt
langflow_bypass_gpt
master

搜索帮助