{"id":38070,"date":"2025-02-09T13:01:02","date_gmt":"2025-02-09T05:01:02","guid":{"rendered":"https:\/\/17aitech.com\/?p=38070"},"modified":"2025-02-09T13:01:02","modified_gmt":"2025-02-09T05:01:02","slug":"go%e8%af%ad%e8%a8%80%e5%bc%80%e5%8f%91ai%e6%99%ba%e8%83%bd%e4%bd%93%e6%9c%89%e5%a4%9a%e4%b8%9d%e6%bb%91%ef%bc%9f%e5%ad%97%e8%8a%82%e9%87%8d%e7%a3%85%e5%bc%80%e6%ba%90eino%e6%a1%86%e6%9e%b6%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/17aitech.com\/?p=38070","title":{"rendered":"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b"},"content":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2025-02-04\" target=\"_blank\">Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b<\/a><\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png\"><\/a><\/p>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"166\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<p>AIxiv\u4e13\u680f\u662f\u673a\u5668\u4e4b\u5fc3\u53d1\u5e03\u5b66\u672f\u3001\u6280\u672f\u5185\u5bb9\u7684\u680f\u76ee\u3002\u8fc7\u53bb\u6570\u5e74\uff0c\u673a\u5668\u4e4b\u5fc3AIxiv\u4e13\u680f\u63a5\u6536\u62a5\u9053\u4e862000\u591a\u7bc7\u5185\u5bb9\uff0c\u8986\u76d6\u5168\u7403\u5404\u5927\u9ad8\u6821\u4e0e\u4f01\u4e1a\u7684\u9876\u7ea7\u5b9e\u9a8c\u5ba4\uff0c\u6709\u6548\u4fc3\u8fdb\u4e86\u5b66\u672f\u4ea4\u6d41\u4e0e\u4f20\u64ad\u3002\u5982\u679c\u60a8\u6709\u4f18\u79c0\u7684\u5de5\u4f5c\u60f3\u8981\u5206\u4eab\uff0c\u6b22\u8fce\u6295\u7a3f\u6216\u8005\u8054\u7cfb\u62a5\u9053\u3002\u6295\u7a3f\u90ae\u7bb1\uff1aliyazhou@jiqizhixin.com\uff1bzhaoyunfeng@jiqizhixin.com<\/p>\n<\/section>\n<\/blockquote>\n<p>\u5f00\u53d1\u57fa\u4e8e\u5927\u6a21\u578b\u7684\u8f6f\u4ef6\u5e94\u7528\uff0c\u5c31\u50cf\u6307\u6325\u4e00\u652f\u8db3\u7403\u961f\uff1a<strong>\u7ec4\u4ef6<\/strong>\u662f\u80fd\u529b\u5404\u5f02\u7684\u961f\u5458\uff0c<strong>\u7f16\u6392<\/strong>\u662f\u7075\u6d3b\u591a\u53d8\u7684\u6218\u672f\uff0c<strong>\u6570\u636e<\/strong>\u662f\u6d41\u8f6c\u7684\u8db3\u7403\u3002<\/p>\n<p>Eino \u662f\u5b57\u8282\u8df3\u52a8\u5f00\u6e90\u7684\u5927\u6a21\u578b\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u62e5\u6709\u7a33\u5b9a\u7684\u5185\u6838\uff0c\u7075\u6d3b\u7684\u6269\u5c55\u6027\uff0c\u5b8c\u5584\u7684\u5de5\u5177\u751f\u6001\uff0c\u53ef\u9760\u4e14\u6613\u7ef4\u62a4\uff0c\u80cc\u9760\u8c46\u5305\u3001\u6296\u97f3\u7b49\u5e94\u7528\u7684\u4e30\u5bcc\u5b9e\u8df5\u7ecf\u9a8c\u3002\u521d\u6b21\u4f7f\u7528 Eino\uff0c\u5c31\u50cf\u63a5\u624b\u4e00\u652f\u5b9e\u529b\u96c4\u539a\u7684\u8db3\u7403\u961f\uff0c\u5373\u4f7f\u6559\u7ec3\u662f\u521d\u51fa\u8305\u5e90\u7684\u6f5c\u529b\u65b0\u4eba\uff0c\u4e5f\u53ef\u4ee5\u8e22\u51fa\u9ad8\u8d28\u91cf\u3001\u6709\u5185\u5bb9\u7684\u6bd4\u8d5b\u3002<\/p>\n<p>\u4e0b\u9762\u5c31\u8ba9\u6211\u4eec\u4e00\u8d77\u8e0f\u4e0a\u65b0\u624b\u4e0a\u8def\u4e4b\u65c5\uff01<\/p>\n<p><strong>\u8ba4\u8bc6\u961f\u5458<\/strong><\/p>\n<p>Eino \u5e94\u7528\u7684\u57fa\u672c\u6784\u6210\u5143\u7d20\u662f\u529f\u80fd\u5404\u5f02\u7684\u7ec4\u4ef6\uff0c\u5c31\u50cf\u8db3\u7403\u961f\u7531\u4e0d\u540c\u4f4d\u7f6e\u89d2\u8272\u7684\u961f\u5458\u7ec4\u6210\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0020c65b04109e68647263e0943d9c18.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0020c65b04109e68647263e0943d9c18.png\"><\/a><\/p>\n<p>\u8fd9\u4e9b\u7ec4\u4ef6\u62bd\u8c61\u4ee3\u8868\u4e86\u56fa\u5b9a\u7684\u8f93\u5165\u8f93\u51fa\u7c7b\u578b\u3001Option \u7c7b\u578b\u548c\u65b9\u6cd5\u7b7e\u540d\uff1a<\/p>\n<section>\n<pre data-lang=\"typescript\"><code>type ChatModel interface {<\/code>\r\n<code>    Generate(ctx context.Context, input []*schema.Message, opts ...Option) (*schema.Message, error)<\/code>\r\n<code>    Stream(ctx context.Context, input []*schema.Message, opts ...Option) (<\/code>\r\n<code>       *schema.StreamReader[*schema.Message], error)<\/code>\r\n<code>    BindTools(tools []*schema.ToolInfo) error<\/code>\r\n<code>}<\/code><\/pre>\n<\/section>\n<p>\u771f\u6b63\u7684\u8fd0\u884c\uff0c\u9700\u8981\u7684\u662f\u5177\u4f53\u7684\u7ec4\u4ef6<strong>\u5b9e\u73b0<\/strong>\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-1194e5f948a5755a5272cb82d534b83d.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-1194e5f948a5755a5272cb82d534b83d.png\"><\/a><\/p>\n<p>Eino \u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u9996\u5148\u8981\u505a\u7684\u662f\u51b3\u5b9a \u201c\u6211\u9700\u8981\u4f7f\u7528\u54ea\u4e2a\u7ec4\u4ef6\u62bd\u8c61\u201d\uff0c\u518d\u51b3\u5b9a \u201c\u6211\u9700\u8981\u4f7f\u7528\u54ea\u4e2a\u5177\u4f53\u7ec4\u4ef6\u5b9e\u73b0\u201d\u3002\u5c31\u50cf\u8db3\u7403\u961f\u5148\u51b3\u5b9a \u201c\u6211\u8981\u4e0a 1 \u4e2a\u524d\u950b\u201d\uff0c\u518d\u6311\u9009 \u201c\u8c01\u6765\u62c5\u4efb\u8fd9\u4e2a\u524d\u950b\u201d\u3002<\/p>\n<p>\u7ec4\u4ef6\u53ef\u4ee5\u50cf\u4f7f\u7528\u4efb\u4f55\u7684 Go interface \u4e00\u6837\u5355\u72ec\u4f7f\u7528\u3002\u4f46\u8981\u60f3\u53d1\u6325 Eino \u8fd9\u652f\u7403\u961f\u771f\u6b63\u7684\u5a01\u529b\uff0c\u9700\u8981\u591a\u4e2a\u7ec4\u4ef6\u534f\u540c\u7f16\u6392\uff0c\u6210\u4e3a\u4e00\u4e2a\u76f8\u4e92\u8054\u7ed3\u7684\u6574\u4f53\u3002<\/p>\n<p><strong>\u5236\u5b9a\u6218\u672f<\/strong><\/p>\n<p>\u5728 Eino \u7f16\u6392\u573a\u666f\u4e2d\uff0c\u6bcf\u4e2a\u7ec4\u4ef6\u6210\u4e3a\u4e86 \u201c\u8282\u70b9\u201d\uff08Node\uff09\uff0c\u8282\u70b9\u4e4b\u95f4 1 \u5bf9 1 \u7684\u6d41\u8f6c\u5173\u7cfb\u6210\u4e3a\u4e86 \u201c\u8fb9\u201d\uff08Edge\uff09\uff0cN \u9009 1 \u7684\u6d41\u8f6c\u5173\u7cfb\u6210\u4e3a\u4e86 \u201c\u5206\u652f\u201d\uff08Branch\uff09\u3002\u57fa\u4e8e Eino \u5f00\u53d1\u7684\u5e94\u7528\uff0c\u7ecf\u8fc7\u5bf9\u5404\u79cd\u7ec4\u4ef6\u7684\u7075\u6d3b\u7f16\u6392\uff0c\u5c31\u50cf\u4e00\u652f\u8db3\u7403\u961f\u53ef\u4ee5\u91c7\u7528\u5404\u79cd\u9635\u578b\uff0c\u80fd\u591f\u652f\u6301\u65e0\u9650\u4e30\u5bcc\u7684\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<p>\u8db3\u7403\u961f\u7684\u6218\u672f\u5343\u53d8\u4e07\u5316\uff0c\u4f46\u5374\u6709\u8ff9\u53ef\u5faa\uff0c\u6709\u7684\u6ce8\u91cd\u63a7\u7403\uff0c\u6709\u7684\u7b80\u5355\u76f4\u63a5\u3002\u5bf9 Eino \u800c\u8a00\uff0c\u9488\u5bf9\u4e0d\u540c\u7684\u4e1a\u52a1\u5f62\u6001\uff0c\u4e5f\u6709\u66f4\u5408\u9002\u7684\u7f16\u6392\u65b9\u5f0f\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-25af8d691804730163141922f28308d2.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-25af8d691804730163141922f28308d2.png\"><\/a><\/p>\n<p>Chain\uff0c\u5982\u7b80\u5355\u7684 ChatTemplate + ChatModel \u7684 Chain\uff1a<\/p>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-aa8684edc038d0bcb572bad8a5830f85.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-aa8684edc038d0bcb572bad8a5830f85.png\"><\/a><\/p>\n<section>\n<pre data-lang=\"markdown\"><p><code>chain, _ := NewChain[map[string]any, *Message]().<\/code><\/p><p><code>           AppendChatTemplate(prompt).<\/code><\/p><p><code>           AppendChatModel(model).<\/code><\/p><p><code>           Compile(ctx)<\/code><\/p><p><code>chain.Invoke(ctx, map[string]any{\"query\": \"what's your name?\"})<\/code><\/p><\/pre>\n<\/section>\n<p>Graph\uff0c\u5982 ReAct Agent\uff1a<\/p>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d2e4af196743a250ea344b84afe6c0d2.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d2e4af196743a250ea344b84afe6c0d2.png\"><\/a><\/section>\n<section>\n<pre data-lang=\"makefile\"><section><code>graph := NewGraph[map[string]any, *schema.Message]()<\/code><code>\r\n<\/code><code>_ = graph.AddChatTemplateNode(\"node_template\", chatTpl)<\/code><\/section><section><code>_ = graph.AddChatModelNode(\"node_model\", chatModel)<\/code><\/section><section><code>_ = graph.AddToolsNode(\"node_tools\", toolsNode)<\/code><\/section><section><code>_ = graph.AddLambdaNode(\"node_converter\", takeOne)<\/code><\/section><section><code>\r\n<\/code><code>_ = graph.AddEdge(START, \"node_template\")<\/code><\/section><section><code>_ = graph.AddEdge(\"node_template\", \"node_model\")<\/code><\/section><section><code>_ = graph.AddBranch(\"node_model\", branch)<\/code><\/section><section><code>_ = graph.AddEdge(\"node_tools\", \"node_converter\")<\/code><\/section><section><code>_ = graph.AddEdge(\"node_converter\", END)<\/code><code>\r\n<\/code><\/section><section>\r\n<\/section><section><code>compiledGraph, err := graph.Compile(ctx)<\/code><\/section><section><code>if err != nil {<\/code><\/section><section><code>    return err<\/code><\/section><section><code>}<\/code><\/section><section><code>out,\u00a0err\u00a0:=\u00a0r.Invoke(ctx,\u00a0map[string]any{\"query\":\"Beijing's\u00a0weather\u00a0this\u00a0weekend\"})<\/code><\/section><\/pre>\n<\/section>\n<section><\/section>\n<section><strong>\u4e86\u89e3\u5de5\u5177<\/strong><\/section>\n<section><\/section>\n<section>\u73b0\u5728\u60f3\u8c61\u4e0b\u4f60\u63a5\u624b\u7684\u8db3\u7403\u961f\u7528\u4e86\u4e00\u4e9b\u9ed1\u79d1\u6280\uff0c\u6bd4\u5982\uff1a\u5728\u6bcf\u4e2a\u961f\u5458\u63a5\u7403\u548c\u51fa\u7403\u7684\u77ac\u95f4\uff0c\u8eab\u4e0a\u7684\u7403\u8863\u53ef\u4ee5\u81ea\u52a8\u7684\u8bb0\u5f55\u63a5\u7403\u548c\u51fa\u7403\u7684\u901f\u5ea6\u3001\u89d2\u5ea6\u5e76\u4f20\u9012\u7ed9\u573a\u8fb9\u7684\u670d\u52a1\u5668\uff0c\u8fd9\u6837\u6bd4\u8d5b\u7ed3\u675f\u540e\uff0c\u5c31\u53ef\u4ee5\u7edf\u8ba1\u51fa\u6bcf\u4e2a\u961f\u5458\u89e6\u7403\u7684\u60c5\u51b5\u548c\u5904\u7406\u7403\u7684\u65f6\u95f4\u3002<\/section>\n<section><\/section>\n<section>\u5728 Eino \u4e2d\uff0c\u6bcf\u4e2a\u7ec4\u4ef6\u8fd0\u884c\u7684\u5f00\u59cb\u548c\u7ed3\u675f\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 Callbacks \u673a\u5236\u62ff\u5230\u8f93\u5165\u8f93\u51fa\u53ca\u4e00\u4e9b\u989d\u5916\u4fe1\u606f\uff0c\u5904\u7406\u6a2a\u5207\u9762\u9700\u6c42\u3002\u6bd4\u5982\u4e00\u4e2a\u7b80\u5355\u7684\u6253\u65e5\u5fd7\u80fd\u529b\uff1a<\/section>\n<section>\n<pre data-lang=\"sql\"><code>handler := NewHandlerBuilder().<\/code>\r\n<code>    OnStartFn(<\/code>\r\n<code>       func (ctx context.Context, info *RunInfo, input CallbackInput) context.Context {<\/code>\r\n<code>           log.Printf(\"onStart, runInfo: % v, input: % v\", info, input)<\/code>\r\n<code>           return ctx<\/code>\r\n<code>    }).<\/code>\r\n<code>    OnEndFn(<\/code>\r\n<code>        func (ctx context.Context, info *RunInfo, output CallbackOutput) context.Context {<\/code>\r\n<code>           log.Printf(\"onEnd, runInfo: % v, out: % v\", info, output)<\/code>\r\n<code>           return ctx<\/code>\r\n<code>    }).<\/code>\r\n<code>    Build()<\/code>\r\n<code>\r\n<\/code><code>\/\/ \u6ce8\u5165\u5230 graph \u8fd0\u884c\u4e2d<\/code>\r\n<code>compiledGraph.Invoke(ctx, input, WithCallbacks(handler))<\/code><\/pre>\n<\/section>\n<section><\/section>\n<section>\u518d\u60f3\u8c61\u4e00\u4e0b\uff0c\u8fd9\u4e2a\u8db3\u7403\u961f\u7684\u9ed1\u79d1\u6280\u4e0d\u6b62\u4e00\u79cd\uff0c\u8fd8\u53ef\u4ee5\u8ba9\u6559\u7ec3\u5728\u6bd4\u8d5b\u524d\u5236\u4f5c \u201c\u9526\u56ca\u201d \u5e76\u85cf\u5728\u7403\u8863\u91cc\uff0c\u5f53\u961f\u5458\u63a5\u7403\u65f6\uff0c\u8fd9\u4e2a\u9526\u56ca\u5c31\u4f1a\u64ad\u653e\u6559\u7ec3\u4e8b\u5148\u5f55\u5236\u597d\u7684\u5999\u8ba1\uff0c\u6bd4\u5982 \u201c\u522b\u72b9\u8c6b\uff0c\u76f4\u63a5\u5c04\u95e8\uff01\u201d\u3002<\/section>\n<section><\/section>\n<section>\u542c\u4e0a\u53bb\u5f88\u6709\u8da3\uff0c\u4f46\u6709\u4e00\u4e2a\u96be\u70b9\uff1a\u6709\u7684\u9526\u56ca\u662f\u7ed9\u5168\u961f\u6240\u6709\u961f\u5458\u7684\uff0c\u6709\u7684\u9526\u56ca\u662f\u53ea\u7ed9\u4e00\u7c7b\u961f\u5458\uff08\u6bd4\u5982\u6240\u6709\u524d\u950b\uff09\u7684\uff0c\u800c\u6709\u7684\u9526\u56ca\u751a\u81f3\u662f\u53ea\u7ed9\u5355\u4e2a\u961f\u5458\u7684\u3002\u5982\u4f55\u6709\u6548\u7684\u505a\u5230\u9526\u56ca\u5999\u8ba1\u7684\u5206\u53d1\uff1f<\/section>\n<section><\/section>\n<section>\u5728 Eino \u4e2d\uff0c\u7c7b\u4f3c\u7684\u95ee\u9898\u662f graph \u8fd0\u884c\u8fc7\u7a0b\u4e2d call option \u7684\u5206\u53d1\uff1a<\/section>\n<section>\n<pre data-lang=\"sql\"><section><code>\/\/ \u6240\u6709\u8282\u70b9\u90fd\u751f\u6548\u7684 call option<\/code><\/section><section><code>compiledGraph.Invoke(ctx, input, WithCallbacks(handler))<\/code><code>\r\n<\/code><code>\/\/ \u53ea\u5bf9\u7279\u5b9a\u7c7b\u578b\u8282\u70b9\u751f\u6548\u7684 call option<\/code><\/section><section><code>compiledGraph.Invoke(ctx, input, WithChatModelOption(model.WithTemperature(0.5)))<\/code><code>\r\n<\/code><code>\/\/ \u53ea\u5bf9\u7279\u5b9a\u8282\u70b9\u751f\u6548\u7684 call option<\/code><\/section><section><code>compiledGraph.Invoke(ctx,\u00a0input,\u00a0WithCallbacks(handler).DesignateNode(\"node_1\"))<\/code><\/section><\/pre>\n<\/section>\n<section><\/section>\n<section><strong>\u53d1\u73b0\u72ec\u95e8\u79d8\u7b08<\/strong><\/section>\n<section><\/section>\n<section>\u73b0\u5728\uff0c\u60f3\u8c61\u4e00\u4e0b\u4f60\u7684\u7403\u961f\u91cc\u6709\u4e00\u4e9b\u660e\u661f\u7403\u5458\uff08\u4e2d\u573a\u5927\u8111 ChatModel \u548c\u950b\u7ebf\u5c16\u5200 StreamableTool\uff09\u8eab\u6000\u7edd\u6280\uff0c\u4ed6\u4eec\u8e22\u51fa\u7684\u7403\u901f\u5ea6\u5982\u6b64\u4e4b\u5feb\uff0c\u751a\u81f3\u51fa\u73b0\u4e86\u6b8b\u5f71\uff0c\u770b\u4e0a\u53bb\u5c31\u50cf\u662f\u628a\u4e00\u4e2a\u5b8c\u6574\u7684\u8db3\u7403\u5207\u6210\u4e86\u5f88\u591a\u7247\uff01<\/section>\n<section><\/section>\n<section>\u9762\u5bf9\u8fd9\u6837\u7684 \u201c\u6d41\u5f0f\u201d \u8db3\u7403\uff0c\u5bf9\u624b\u7403\u5458\u624b\u8db3\u65e0\u63aa\uff0c\u4e0d\u77e5\u9053\u8be5\u5982\u4f55\u63a5\u7403\uff0c\u4f46\u662f\u4f60\u7684\u7403\u961f\u7684\u6240\u6709\u961f\u5458\uff0c\u90fd\u80fd\u591f\u5b8c\u7f8e\u7684\u63a5\u7403\uff0c\u8981\u4e48\u76f4\u63a5\u4e00\u4e2a\u7247\u4e00\u4e2a\u7247\u7684\u63a5\u6536 \u201c\u6d41\u5f0f\u201d \u8db3\u7403\u5e76\u7b2c\u4e00\u65f6\u95f4\u5904\u7406\uff0c\u8981\u4e48\u81ea\u52a8\u7684\u628a\u6240\u6709\u7247\u62fc\u63a5\u6210\u5b8c\u6574\u7684\u8db3\u7403\u540e\u518d\u5904\u7406\u3002\u8eab\u6000\u8fd9\u6837\u7684\u72ec\u95e8\u79d8\u7b08\uff0c\u4f60\u7684\u7403\u961f\u5177\u5907\u4e86\u9762\u5bf9\u5176\u4ed6\u7403\u961f\u7684\u964d\u7ef4\u6253\u51fb\u80fd\u529b\uff01<\/section>\n<section><\/section>\n<section>\u5728 Eino \u4e2d\uff0c\u5f00\u53d1\u8005\u53ea\u9700\u8981\u5173\u6ce8\u4e00\u4e2a\u7ec4\u4ef6\u5728 \u201c\u771f\u5b9e\u4e1a\u52a1\u573a\u666f\u201d \u4e2d\uff0c\u662f\u5426\u53ef\u4ee5\u5904\u7406\u6d41\u5f0f\u7684\u8f93\u5165\uff0c\u4ee5\u53ca\u662f\u5426\u53ef\u4ee5\u751f\u6210\u6d41\u5f0f\u7684\u8f93\u51fa\u3002\u6839\u636e\u8fd9\u4e2a\u771f\u5b9e\u7684\u573a\u666f\uff0c\u5177\u4f53\u7684\u7ec4\u4ef6\u5b9e\u73b0\uff08\u5305\u62ec Lambda Function\uff09\u5c31\u53bb\u5b9e\u73b0\u7b26\u5408\u8fd9\u4e2a\u6d41\u5f0f\u8303\u5f0f\u7684\u65b9\u6cd5\uff1a<\/section>\n<section>\n<pre data-lang=\"typescript\"><code>\/\/ ChatModel \u5b9e\u73b0\u4e86 Invoke\uff08\u8f93\u5165\u8f93\u51fa\u5747\u975e\u6d41\uff09\u548c Stream\uff08\u8f93\u5165\u975e\u6d41\uff0c\u8f93\u51fa\u6d41\uff09\u4e24\u4e2a\u8303\u5f0f<\/code>\r\n<code>type ChatModel interface {<\/code>\r\n<code>    Generate(ctx context.Context, input []*Message, opts ...Option) (*Message, error)<\/code>\r\n<code>    Stream(ctx context.Context, input []*Message, opts ...Option) (<\/code>\r\n<code>       *schema.StreamReader[*Message], error<\/code><code>)<\/code>\r\n<code>}<\/code><code>\r\n<\/code><code>\/\/ Lambda \u53ef\u4ee5\u5b9e\u73b0\u4efb\u610f\u56db\u79cd\u6d41\u5f0f\u8303\u5f0f<\/code>\r\n<code>\r\n<\/code><code>\/\/\u00a0Invoke\u00a0is\u00a0the\u00a0type\u00a0of\u00a0the\u00a0invokable\u00a0lambda\u00a0function.<\/code>\r\n<code>type Invoke[I, O, TOption any] func(ctx context.Context, input I, opts ...TOption) (<\/code>\r\n<code>    output O, err error)<\/code><code>\r\n<\/code><code>\/\/ Stream is the type of the streamable lambda function.<\/code>\r\n<code>type Stream[I, O, TOption any] func(ctx context.Context,<\/code>\r\n<code>    input I, opts ...TOption) (output *schema.StreamReader[O], err error)<\/code><code>\r\n<\/code><code>\/\/ Collect is the type of the collectable lambda function.<\/code>\r\n<code>type Collect[I, O, TOption any] func(ctx context.Context,<\/code>\r\n<code>    input *schema.StreamReader[I], opts ...TOption) (output O, err error)<\/code><code>\r\n<\/code><code>\/\/ Transform is the type of the transformable lambda function.<\/code>\r\n<code>type Transform[I, O, TOption any] func(ctx context.Context,<\/code>\r\n<code>\u00a0\u00a0\u00a0\u00a0input\u00a0*schema.StreamReader[I],\u00a0opts\u00a0...TOption)\u00a0(output\u00a0*schema.StreamReader[O],\u00a0err\u00a0error)<\/code><\/pre>\n<\/section>\n<section><\/section>\n<section>Eino \u7f16\u6392\u80fd\u529b\u4f1a\u81ea\u52a8\u505a\u4e24\u4e2a\u91cd\u8981\u7684\u4e8b\u60c5\uff1a<\/section>\n<section><\/section>\n<section>1. \u4e0a\u6e38\u662f\u6d41\uff0c\u4f46\u662f\u4e0b\u6e38\u53ea\u80fd\u63a5\u6536\u975e\u6d41\u65f6\uff0c\u81ea\u52a8\u62fc\u63a5\uff08Concat\uff09\u3002<\/section>\n<section>2. \u4e0a\u6e38\u662f\u975e\u6d41\uff0c\u4f46\u662f\u4e0b\u6e38\u53ea\u80fd\u63a5\u6536\u6d41\u65f6\uff0c\u81ea\u52a8\u6d41\u5316\uff08T -&gt; StreamReader [T]\uff09\u3002<\/section>\n<section><\/section>\n<section>\u9664\u6b64\u4e4b\u5916\uff0cEino \u7f16\u6392\u80fd\u529b\u8fd8\u4f1a\u81ea\u52a8\u5904\u7406\u6d41\u7684\u5408\u5e76\u3001\u590d\u5236\u7b49\u5404\u79cd\u7ec6\u8282\uff0c\u628a\u5927\u6a21\u578b\u5e94\u7528\u7684\u6838\u5fc3 \u2014\u2014 \u6d41\u5904\u7406\u505a\u5230\u4e86\u6781\u81f4\u3002<\/section>\n<section><\/section>\n<section><strong>\u4e00\u573a\u8bad\u7ec3\u8d5b &#8212; Eino \u667a\u80fd\u52a9\u624b<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u597d\u4e86\uff0c\u73b0\u5728\u4f60\u5df2\u7ecf\u521d\u6b65\u4e86\u89e3\u4e86 Eino \u8fd9\u652f\u660e\u661f\u7403\u961f\u7684\u4e3b\u8981\u80fd\u529b\uff0c\u662f\u65f6\u5019\u901a\u8fc7\u961f\u5458 (\u7ec4\u4ef6)\u3001\u6218\u672f (\u7f16\u6392)\u3001\u5de5\u5177 (\u5207\u9762\u3001\u53ef\u89c6\u5316) \u6765\u4e00\u573a\u8bad\u7ec3\u8d5b\uff0c\u53bb\u4eb2\u81ea\u4f53\u9a8c\u4e00\u4e0b\u5b83\u7684\u5f3a\u5927\u3002<\/section>\n<section><\/section>\n<section><strong>\u573a\u666f\u8bbe\u5b9a<\/strong><\/section>\n<section><\/section>\n<section>Eino \u667a\u80fd\u52a9\u624b\uff1a\u6839\u636e\u7528\u6237\u8bf7\u6c42\uff0c\u4ece\u77e5\u8bc6\u5e93\u68c0\u7d22\u5fc5\u8981\u7684\u4fe1\u606f\u5e76\u6309\u9700\u8c03\u7528\u591a\u79cd\u5de5\u5177\uff0c\u4ee5\u5b8c\u6210\u5bf9\u7528\u6237\u7684\u8bf7\u6c42\u7684\u5904\u7406\u3002\u5de5\u5177\u5217\u8868\u5982\u4e0b\uff1a<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>DuckDuckGo\uff1a\u4ece DuckDuckGo \u641c\u7d22\u4e92\u8054\u7f51\u4fe1\u606f<\/section>\n<\/li>\n<li>\n<section>EinoTool\uff1a\u83b7\u53d6 Eino \u7684\u5de5\u7a0b\u4fe1\u606f\uff0c\u6bd4\u5982\u4ed3\u5e93\u94fe\u63a5\u3001\u6587\u6863\u94fe\u63a5\u7b49<\/section>\n<\/li>\n<li>\n<section>GitClone\uff1a\u514b\u9686\u6307\u5b9a\u4ed3\u5e93\u5230\u672c\u5730<\/section>\n<\/li>\n<li>\n<section>\u4efb\u52a1\u7ba1\u7406 (TaskManager)\uff1a\u6dfb\u52a0\u3001\u67e5\u770b\u3001\u5220\u9664 \u4efb\u52a1<\/section>\n<\/li>\n<li>\n<section>OpenURL\uff1a\u4f7f\u7528\u7cfb\u7edf\u7684\u9ed8\u8ba4\u5e94\u7528\u6253\u5f00\u6587\u4ef6\u3001Web \u7b49\u7c7b\u578b\u7684\u94fe\u63a5<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>\u8fd9\u91cc\u5448\u73b0\u4e00\u4e2a Demo \u6837\u4f8b\uff0c\u5927\u5bb6\u53ef\u6839\u636e\u81ea\u5df1\u7684\u573a\u666f\uff0c\u66f4\u6362\u81ea\u5df1\u7684\u77e5\u8bc6\u5e93\u548c\u5de5\u5177\uff0c\u4ee5\u642d\u5efa\u81ea\u5df1\u6240\u9700\u7684\u667a\u80fd\u52a9\u624b\u3002<\/section>\n<section><\/section>\n<section>\u5148\u6765\u4e00\u8d77\u770b\u770b<strong>\u57fa\u4e8e Eino \u642d\u5efa\u8d77\u6765<\/strong>\u7684 Agent \u52a9\u624b\u80fd\u5b9e\u73b0\u4ec0\u4e48\u6548\u679c\uff1a<a href=\"https:\/\/mp.weixin.qq.com\/s\/kevdQGjV3GVi1_4B9XGtJw?token=935449120&amp;lang=zh_CN\"><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d0291209f68e294b69fe0bfbce3b3614.jpeg\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d0291209f68e294b69fe0bfbce3b3614.jpeg\"><\/a><\/a><\/section>\n<section>\u6784\u5efa\u8fd9\u4e2a Eino \u667a\u80fd\u52a9\u624b\u5206\u4e24\u6b65\uff1a<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>Knowledge Indexing\uff08\u7d22\u5f15\u77e5\u8bc6\u5e93\uff09\uff1a\u5c06\u6211\u4eec\u5728\u7279\u5b9a\u9886\u57df\u6c89\u6dc0\u7684\u77e5\u8bc6\uff0c\u4ee5\u5206\u8bcd\u3001\u5411\u91cf\u5316\u7b49\u591a\u79cd\u624b\u6bb5\uff0c\u6784\u5efa\u6210\u7d22\u5f15\uff0c\u4ee5\u4fbf\u5728\u63a5\u6536\u7528\u6237\u8bf7\u6c42\u65f6\uff0c\u7d22\u5f15\u51fa\u5408\u9002\u7684\u4e0a\u4e0b\u6587\u3002\u672c\u6587\u91c7\u7528\u5411\u91cf\u5316\u7d22\u5f15\u6765\u6784\u5efa\u77e5\u8bc6\u5e93\u3002<\/section>\n<\/li>\n<li>\n<section>Eino Agent\uff08Eino \u667a\u80fd\u52a9\u624b\uff09\uff1a\u6839\u636e\u7528\u6237\u7684\u8bf7\u6c42\u4fe1\u606f\u4ee5\u53ca\u6211\u4eec\u9884\u5148\u6784\u5efa\u597d\u7684\u53ef\u8c03\u7528\u7684\u5de5\u5177\uff0c\u8ba9 ChatModel \u5e2e\u6211\u4eec\u51b3\u7b56\u4e0b\u4e00\u6b65\u5e94\u8be5\u6267\u884c\u4ec0\u4e48\u52a8\u4f5c\u6216\u8f93\u51fa\u6700\u7ec8\u7ed3\u679c\u3002Tool \u7684\u6267\u884c\u7ed3\u679c\u4f1a\u518d\u6b21\u8f93\u5165\u7ed9 ChatModel\uff0c\u8ba9 ChatModel \u518d\u4e00\u6b21\u5224\u65ad\u4e0b\u4e00\u6b65\u7684\u52a8\u4f5c\uff0c\u76f4\u81f3\u5b8c\u6210\u7528\u6237\u7684\u8bf7\u6c42\u3002<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section><strong>\u4efb\u52a1\u5de5\u4f5c\u6d41<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section><strong>\u7d22\u5f15\u77e5\u8bc6\u5e93 (Knowledge Indexing)<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u5c06 Markdown \u683c\u5f0f\u7684 Eino \u7528\u6237\u624b\u518c\uff0c\u4ee5\u5408\u9002\u7684\u7b56\u7565\u8fdb\u884c\u62c6\u5206\u548c\u5411\u91cf\u5316\uff0c\u5b58\u5165\u5230 RedisSearch \u7684 VectorStore \u4e2d\uff0c\u4f5c\u4e3a Eino \u77e5\u8bc6\u5e93\u3002<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-93ac093018544b262bdc9a070ce0b112.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-93ac093018544b262bdc9a070ce0b112.png\"><\/a><\/section>\n<section><strong>Eino \u667a\u80fd\u4f53 (Eino Agent)<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u6839\u636e\u7528\u6237\u8bf7\u6c42\uff0c\u4ece Eino \u77e5\u8bc6\u5e93\u53ec\u56de\u4fe1\u606f\uff0c\u91c7\u7528 ChatTemplate \u6784\u5efa\u6d88\u606f\uff0c\u8bf7\u6c42 React Agent\uff0c\u89c6\u9700\u6c42\u5faa\u73af\u8c03\u7528\u5bf9\u5e94\u5de5\u5177\uff0c\u76f4\u81f3\u5b8c\u6210\u5904\u7406\u7528\u6237\u7684\u8bf7\u6c42\u3002<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-fdc57dacf9dc7b5266b2e04c99d6aa06.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-fdc57dacf9dc7b5266b2e04c99d6aa06.png\"><\/a><\/section>\n<section><strong>\u6240\u9700\u5de5\u5177<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u5728\u4ece\u96f6\u5f00\u59cb\u6784\u5efa\u300cEino \u667a\u80fd\u52a9\u624b\u300d\u8fd9\u4e2a\u5b9e\u8df5\u573a\u666f\u4e2d\uff0c\u9700\u8981\u4e0b\u5217\u5de5\u5177\uff1a<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-e6fba3294380f7821b453576550f5102.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-e6fba3294380f7821b453576550f5102.png\"><\/a><\/section>\n<section><strong>\u7d22\u5f15\u77e5\u8bc6\u5e93<\/strong><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"110\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\n<section>\u793a\u4f8b\u7684\u4ed3\u5e93\u8def\u5f84\uff1ahttps:\/\/github.com\/cloudwego\/eino-examples\/tree\/main\/quickstart\/eino_assistant<\/section>\n<section>\u4e0b\u6587\u4e2d\uff0c\u91c7\u7528\u76f8\u5bf9\u4e8e\u6b64\u76ee\u5f55\u7684\u76f8\u5bf9\u8def\u5f84\u6765\u6807\u8bc6\u8d44\u6e90\u4f4d\u7f6e<\/section>\n<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section>\u6784\u5efa\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u9012\u5f52\u904d\u5386\u6307\u5b9a\u76ee\u5f55\u4e0b\u7684\u6240\u6709 Markdown \u6587\u4ef6\u3002\u6309\u7167\u6807\u9898\u5c06 Markdown \u6587\u4ef6\u5185\u5bb9\u5206\u6210\u4e0d\u540c\u7684\u7247\u6bb5\uff0c\u5e76\u91c7\u7528\u706b\u5c71\u4e91\u7684\u8c46\u5305\u5411\u91cf\u5316\u6a21\u578b\u9010\u4e2a\u5c06\u6587\u672c\u7247\u6bb5\u8fdb\u884c\u5411\u91cf\u5316\uff0c\u5b58\u50a8\u5230 Redis VectorStore \u4e2d\u3002\u00a0<\/section>\n<section><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"76\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\n<section>\u6307\u4ee4\u884c\u5de5\u5177\u76ee\u5f55\uff1acmd\/knowledge_indexing<\/section>\n<section>Markdown \u6587\u4ef6\u76ee\u5f55\uff1acmd\/knowledge_indexing\/eino-dcos<\/section>\n<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section>\u5f00\u53d1\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d\u5e94\u7528\u65f6\uff0c\u9996\u5148\u91c7\u7528 Eino \u6846\u67b6\u63d0\u4f9b\u7684 Goland EinoDev \u63d2\u4ef6\uff0c\u4ee5\u53ef\u89c6\u5316\u62d6\u62fd\u548c\u7f16\u6392\u7684\u5f62\u5f0f\u6784\u5efa KnowledgeIndexing \u7684\u6838\u5fc3\u5e94\u7528\u903b\u8f91\uff0c\u751f\u6210\u4ee3\u7801\u5230 eino_graph\/knowledge_indexing \u76ee\u5f55\u3002<\/section>\n<section><\/section>\n<section>\u4ee3\u7801\u751f\u6210\u540e\uff0c\u9996\u5148\u624b\u52a8\u5c06\u8be5\u76ee\u5f55\u4e0b\u7684\u5404\u7ec4\u4ef6\u7684\u6784\u9020\u65b9\u6cd5\u8865\u5145\u5b8c\u6574\uff0c\u7136\u540e\u5728\u4e1a\u52a1\u573a\u666f\u4e2d\uff0c\u8c03\u7528 BuildKnowledgeIndexing \u65b9\u6cd5\uff0c\u6784\u5efa\u5e76\u4f7f\u7528 Eino Graph \u5b9e\u4f8b\u3002<\/section>\n<section><\/section>\n<section>\u63a5\u4e0b\u6765\u5c06\u9010\u6b65\u4ecb\u7ecd\uff0cKnowledgeIndexing \u7684\u5f00\u53d1\u8fc7\u7a0b\uff1a<\/section>\n<section><\/section>\n<section><strong>\u5927\u6a21\u578b\u8d44\u6e90\u521b\u5efa<\/strong><\/section>\n<section><\/section>\n<section>\u706b\u5c71\u5f15\u64ce\u662f\u5b57\u8282\u8df3\u52a8\u7684\u4e91\u670d\u52a1\u5e73\u53f0\uff0c\u53ef\u4ece\u4e2d\u6ce8\u518c\u548c\u8c03\u7528\u8c46\u5305\u5927\u6a21\u578b\uff08\u6709\u5927\u91cf\u514d\u8d39\u989d\u5ea6\uff09\u3002<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>\u521b\u5efa doubao-embedding-large \u4f5c\u4e3a\u77e5\u8bc6\u5e93\u6784\u5efa\u65f6\u7684\u5411\u91cf\u5316\u6a21\u578b\uff0c\u4ee5\u53ca\u521b\u5efa \u00a0doubao-pro-4k \u8d44\u6e90\u4f5c\u4e3a agent \u5bf9\u8bdd\u65f6\u7684\u6a21\u578b\u3002<\/section>\n<\/li>\n<li>\n<section>\u300c\u706b\u5c71\u5f15\u64ce\u5728\u7ebf\u63a8\u7406\u300d\uff1ahttps:\/\/console.volcengine.com\/ark<\/section>\n<\/li>\n<\/ul>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-4ee0153b583c0ec5a5f4e8b250c20163.gif\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-4ee0153b583c0ec5a5f4e8b250c20163.gif\"><\/a><\/section>\n<section><strong>\u542f\u52a8 Redis Stack<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u672c\u6587\u5c06\u4f7f\u7528 Redis \u4f5c\u4e3a Vector Database\uff0c\u4e3a\u65b9\u4fbf\u7528\u6237\u6784\u5efa\u73af\u5883\uff0cDocker \u7684\u5feb\u6377\u6307\u4ee4\u5982\u4e0b\uff1a<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>\u5728 eino-examples\/quickstart\/eino_assistant \u63d0\u4f9b docker-compose.yml<\/section>\n<\/li>\n<li>\n<section>\u5728 eino-examples\/quickstart\/eino_assistant\/data \u76ee\u5f55\u4e0b\u63d0\u4f9b\u4e86 Redis \u7684\u521d\u59cb\u77e5\u8bc6\u5e93<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>\u76f4\u63a5\u7528 redis \u5b98\u65b9\u7684 redis stack \u955c\u50cf\u542f\u52a8\u5373\u53ef<\/section>\n<section>\n<pre data-lang=\"bash\"><section><code># \u5207\u6362\u5230 eino_assistant \u76ee\u5f55<\/code><\/section><section><code>cd xxx\/eino-examples\/quickstart\/eino_assistant<\/code><\/section><section><code>\r\n<\/code><code>docker-compose up -d<\/code><\/section><\/pre>\n<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-31b39cb95091edfbae9e610126ff18df.gif\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-31b39cb95091edfbae9e610126ff18df.gif\"><\/a><\/section>\n<ul>\n<li>\n<section>\u5b8c\u6210\u542f\u52a8\u540e\uff0c\u6253\u5f00\u672c\u5730\u7684 8001 \u53ef\u8fdb\u5165 redis stack \u7684 web \u754c\u9762<\/section>\n<\/li>\n<\/ul>\n<section>\n<pre data-lang=\"javascript\"><section><code>\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u94fe\u63a5\uff1ahttp:\/\/127.0.0.1:8001<\/code><\/section><\/pre>\n<\/section>\n<section><\/section>\n<section><strong>\u53ef\u89c6\u5316\u5f00\u53d1<\/strong><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"102\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\u300cEino \u53ef\u89c6\u5316\u5f00\u53d1\u300d\u662f\u4e3a\u4e86\u964d\u4f4e Eino AI \u5e94\u7528\u5f00\u53d1\u7684\u5b66\u4e60\u66f2\u7ebf\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u5bf9\u4e8e\u719f\u6089 Eino \u7684\u5f00\u53d1\u8005\uff0c\u4e5f\u53ef\u9009\u62e9\u8df3\u8fc7\u300cEino \u53ef\u89c6\u5316\u5f00\u53d1\u300d\u9636\u6bb5\uff0c\u76f4\u63a5\u57fa\u4e8e Eino \u7684 API \u8fdb\u884c\u5168\u7801\u5f00\u53d1\u3002<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section>1. \u5b89\u88c5 EinoDev \u63d2\u4ef6\uff0c\u5e76\u6253\u5f00 Eino Workflow \u529f\u80fd<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>Graph name: KnowledgeIndexing<\/section>\n<\/li>\n<li>\n<section>Node trigger mode: Triggered after all predecessor nodes are executed<\/section>\n<\/li>\n<li>\n<section>Input type: document.Source<\/section>\n<\/li>\n<li>\n<section>Import path of input type: github.com\/cloudwego\/eino\/components\/document<\/section>\n<\/li>\n<li>\n<section>Output type: [] string<\/section>\n<\/li>\n<li>\n<section>\u5176\u4ed6\u7f6e\u7a7a<\/section>\n<\/li>\n<\/ul>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-616869d81ed0a0a1676f92a21e1ce268.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-616869d81ed0a0a1676f92a21e1ce268.png\"><\/a><\/section>\n<section>2. \u6309\u7167\u4e0a\u6587<strong>\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d<\/strong>\u4e2d\u7684\u6d41\u7a0b\u8bf4\u660e\uff0c\u4ece Eino Workflow \u4e2d\u9009\u62e9\u9700\u8981\u4f7f\u7528\u7684\u7ec4\u4ef6\u5e93\uff0c\u672c\u6587\u9700\u8981\u7528\u5230\u5982\u4e0b\u7ec4\u4ef6\uff1a\u00a0<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>document\/loader\/file \u2014\u2014\u00a0\u4ece\u6307\u5b9a URI \u52a0\u8f7d\u6587\u4ef6\uff0c\u89e3\u6790\u6210\u6587\u672c\u5185\u5bb9\uff0c\u4ee5 schema.Document \u5217\u8868\u5f62\u5f0f\u8fd4\u56de\u3002<\/section>\n<\/li>\n<li>\n<section>document\/transformer\/splitter\/markdown \u2014\u2014\u00a0\u5c06\u4ece FileLoader \u4e2d\u52a0\u8f7d\u5230\u7684\u6587\u672c\u5185\u5bb9\uff0c\u8fdb\u4e00\u6b65\u62c6\u5206\u6210\u5408\u9002\u7684\u5927\u5c0f\uff0c\u4ee5\u5e73\u8861\u5411\u91cf\u5316\u8ba1\u7b97 \/ \u5b58\u50a8\u7684\u5c3a\u5bf8\u9650\u5236\u548c\u53ec\u56de\u7684\u6548\u679c\u3002<\/section>\n<\/li>\n<li>\n<section>indexer\/redis \u2014\u2014\u00a0\u5c06 schema.Document \u7684\u539f\u6587\u3001\u7d22\u5f15\u5b57\u6bb5 \u5b58\u50a8\u5728 Redis Vector Database \u4e2d<\/section>\n<\/li>\n<li>\n<section>embedding\/ark \u2014\u2014\u00a0\u91c7\u7528 Ark \u5e73\u53f0\u7684\u5411\u91cf\u5316\u6a21\u578b\uff0c\u5bf9 schema.Document \u4e2d\u7684 Content \u7b49\u5185\u5bb9\u8fdb\u884c\u5411\u91cf\u5316\u8ba1\u7b97<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>3. \u5c06\u9009\u4e2d\u7684\u7ec4\u4ef6\u6309\u7167\u9884\u671f\u7684\u62d3\u6251\u7ed3\u6784\u8fdb\u884c\u7f16\u6392\uff0c\u5b8c\u6210\u7f16\u6392\u540e\uff0c\u70b9\u51fb \u201c\u751f\u6210\u4ee3\u7801\u201d \u5230\u6307\u5b9a\u76ee\u5f55\u3002<\/section>\n<section><\/section>\n<ul>\n<li>\n<section><strong>\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d<\/strong>\u7684\u4ee3\u7801\u751f\u6210\u5230\uff1aeino_assistant\/eino\/knowledgeindexing<\/section>\n<\/li>\n<li>\n<section>\u672c\u793a\u4f8b\u53ef\u76f4\u63a5\u590d\u5236 eino\/knowledge_indexing.json \u4e2d\u7684 Graph Schema\uff0c\u6765\u5feb\u901f\u6784\u5efa\u793a\u4f8b\u4e2d\u7684\u56fe<\/section>\n<\/li>\n<\/ul>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-9e13b2b6b3b6c3c73f2b29f2c5208dd4.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-9e13b2b6b3b6c3c73f2b29f2c5208dd4.png\"><\/a><\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-58b5ae86b31e71a9ce7c699d068a96b2.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-58b5ae86b31e71a9ce7c699d068a96b2.png\"><\/a><\/section>\n<section>4. \u6309\u9700\u5b8c\u5584\u5404\u4e2a\u7ec4\u4ef6\u7684\u6784\u9020\u51fd\u6570\uff0c\u5728\u6784\u9020\u51fd\u6570\u4e2d\u8865\u5145\u521b\u5efa\u7ec4\u4ef6\u5b9e\u4f8b\u65f6\uff0c\u9700\u8981\u7684\u914d\u7f6e\u5185\u5bb9<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-33b2c68cd2b865b044e840f7020a14ed.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-33b2c68cd2b865b044e840f7020a14ed.png\"><\/a><\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c9a4e88d79e7c2454d0675e9138dbe10.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c9a4e88d79e7c2454d0675e9138dbe10.png\"><\/a><\/section>\n<section>5. \u8865\u5145\u597d\u7ec4\u4ef6\u7684\u914d\u7f6e\u5185\u5bb9\u540e\uff0c\u5373\u53ef\u8c03\u7528 BuildKnowledgeIndexing \u65b9\u6cd5\uff0c\u5728\u4e1a\u52a1\u573a\u666f\u4f7f\u7528<\/section>\n<section><\/section>\n<section><strong>\u5b8c\u5584\u4ee3\u7801<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<ul>\n<li>\n<section>\u901a\u8fc7\u53ef\u89c6\u5316\u5f00\u53d1\uff0c\u751f\u6210\u7684 Eino \u7f16\u6392\u4ee3\u7801\uff0c\u65e0\u6cd5\u4fdd\u8bc1\u53ef\u76f4\u63a5\u4f7f\u7528\uff0c\u9700\u8981\u4eba\u5de5\u9605\u8bfb\u548c\u68c0\u67e5\u4e0b\u4ee3\u7801\u7684\u5b8c\u6574\u6027<\/section>\n<\/li>\n<li>\n<section>\u751f\u6210\u6838\u5fc3\u51fd\u6570\u662f BuildKnowledgeIndexing ()\uff0c\u7528\u6237\u53ef\u5728\u9700\u8981\u7684\u5730\u65b9\u8c03\u7528\u6b64\u65b9\u6cd5\uff0c\u521b\u5efa\u5b9e\u4f8b\u8fdb\u884c\u4f7f\u7528<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>\u5728\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d\u7684\u573a\u666f\u4e0b\uff0c\u9700\u8981\u5c06 BuildKnowledgeIndexing \u5c01\u88c5\u6210\u4e00\u4e2a\u6307\u4ee4\uff0c\u4ece\u73af\u5883\u53d8\u91cf\u4e2d\u8bfb\u53d6\u6a21\u578b\u914d\u7f6e\u7b49\u4fe1\u606f\uff0c\u521d\u59cb\u5316 BuildKnowledgeIndexing \u7684\u914d\u7f6e\u5185\u5bb9\uff0c\u626b\u63cf\u6307\u5b9a\u76ee\u5f55\u4e0b\u7684 Markdown \u6587\u4ef6\uff0c\u6267\u884c\u5bf9 Markdown \u8fdb\u884c\u7d22\u5f15\u548c\u5b58\u50a8\u7684\u64cd\u4f5c\u3002<\/section>\n<section><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"38\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\u8be6\u7ec6\u4ee3\u7801\u53ef\u67e5\u770b\uff1acmd\/knowledgeindexing\/main.go<\/section>\n<\/section>\n<\/blockquote>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c6bc4501cb3950411a39c13da6ff00b2.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c6bc4501cb3950411a39c13da6ff00b2.png\"><\/a><\/section>\n<section><strong>\u8fd0\u884c<\/strong><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"39\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>PS: \u793a\u4f8b\u9879\u76ee\u4e2d\uff0c\u5df2\u7ecf\u5185\u7f6e\u4e86 eino \u7684\u4e00\u90e8\u5206\u6587\u6863\u5411\u91cf\u5316\u5230 redis \u4e2d<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section>1. \u5728 .env \u6587\u4ef6\u4e2d\u6309\u7167\u6ce8\u91ca\u8bf4\u660e\uff0c\u83b7\u53d6\u5e76\u586b\u5199 ARK_EMBEDDING_MODEL \u548c ARK_API_KEY \u7684\u503c\uff0c\u6309\u5982\u4e0b\u6307\u4ee4\uff0c\u8fd0\u884c KnowledgeIndexing \u6307\u4ee4<\/section>\n<section>\n<pre data-lang=\"bash\"><section><code>cd xxx\/eino-examples\/quickstart\/eino_assistant # \u8fdb\u5165 eino assistant \u7684 example \u4e2d<\/code><\/section><section><code>\r\n<\/code><code># \u4fee\u6539 .env \u4e2d\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf (\u5927\u6a21\u578b\u4fe1\u606f\u3001trace \u5e73\u53f0\u4fe1\u606f)<\/code><\/section><section><code>source .env<\/code><\/section><section><code>\r\n<\/code><code># \u56e0\u793a\u4f8b\u7684Markdown\u6587\u4ef6\u5b58\u653e\u5728 cmd\/knowledgeindexing\/eino-docs \u76ee\u5f55\uff0c\u4ee3\u7801\u4e2d\u6307\u5b9a\u4e86\u76f8\u5bf9\u8def\u5f84 eino-docs\uff0c\u6240\u4ee5\u9700\u5728 cmd\/knowledgeindexing \u8fd0\u884c\u6307\u4ee4<\/code><\/section><section><code>cd cmd\/knowledgeindexing<\/code><\/section><section><code>go\u00a0run\u00a0main.go<\/code><\/section><\/pre>\n<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-95c4e162ae4bd70dc120afa34b42d343.gif\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-95c4e162ae4bd70dc120afa34b42d343.gif\"><\/a><\/section>\n<section>2. \u6267\u884c\u8fd0\u884c\u6210\u529f\u540e\uff0c\u5373\u5b8c\u6210 Eino \u77e5\u8bc6\u5e93\u7684\u6784\u5efa\uff0c\u53ef\u5728 Redis Web UI \u4e2d\u770b\u5230\u5411\u91cf\u5316\u4e4b\u540e\u7684\u5185\u5bb9<\/section>\n<section><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"30\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u94fe\u63a5\uff1ahttp:\/\/127.0.0.1:8001<\/section>\n<\/section>\n<\/blockquote>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-94f13a774e30ccb3ca29a68b059b173e.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-94f13a774e30ccb3ca29a68b059b173e.png\"><\/a><\/section>\n<section><strong>Eino \u667a\u80fd\u4f53<\/strong><\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"110\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>\n<section>\u793a\u4f8b\u7684\u4ed3\u5e93\u8def\u5f84\uff1ahttps:\/\/github.com\/cloudwego\/eino-examples\/tree\/main\/quickstart\/eino_assistant<\/section>\n<section>\u4e0b\u6587\u4e2d\uff0c\u91c7\u7528\u76f8\u5bf9\u4e8e\u6b64\u76ee\u5f55\u7684\u76f8\u5bf9\u8def\u5f84\u6765\u6807\u8bc6\u8d44\u6e90\u4f4d\u7f6e<\/section>\n<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section>\u6784\u5efa\u4e00\u4e2a\u57fa\u4e8e\u4ece Redis VectorStore \u4e2d\u53ec\u56de\u7684 Eino \u77e5\u8bc6\u56de\u7b54\u7528\u6237\u95ee\u9898\uff0c\u5e2e\u7528\u6237\u6267\u884c\u67d0\u4e9b\u64cd\u4f5c\u7684 ReAct Agent\uff0c\u5373\u5178\u578b\u7684 RAG ReAct Agent\u3002\u53ef\u6839\u636e\u5bf9\u8bdd\u4e0a\u4e0b\u6587\uff0c\u81ea\u52a8\u5e2e\u7528\u6237\u8bb0\u5f55\u4efb\u52a1\u3001Clone \u4ed3\u5e93\uff0c\u6253\u5f00\u94fe\u63a5\u7b49\u3002\u00a0<\/section>\n<section><\/section>\n<section><strong>\u5927\u6a21\u578b\u8d44\u6e90\u521b\u5efa<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u7ee7\u7eed\u4f7f\u7528\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d\u7ae0\u8282\u4e2d\u521b\u5efa\u7684 doubao-embedding-large \u548c doubao-pro-4k<\/section>\n<section><\/section>\n<section><strong>\u542f\u52a8 RedisSearch<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>\u7ee7\u7eed\u4f7f\u7528\u300c\u7d22\u5f15\u77e5\u8bc6\u5e93\u300d\u7ae0\u8282\u4e2d\u542f\u52a8\u7684 Redis Stack<\/section>\n<section><\/section>\n<section><strong>\u53ef\u89c6\u5316\u5f00\u53d1<\/strong><a href=\"https:\/\/mp.weixin.qq.com\/s\/kevdQGjV3GVi1_4B9XGtJw?token=935449120&amp;lang=zh_CN\"><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-fa003baf6907666addf60059a5988ae3.jpeg\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-fa003baf6907666addf60059a5988ae3.jpeg\"><\/a><\/a><\/section>\n<section>1. \u6253\u5f00 EinoDev \u63d2\u4ef6\uff0c\u8fdb\u5165\u5230 Eino Workflow \u9875\u9762\uff0c\u65b0\u5efa\u4e00\u5f20\u753b\u5e03<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>Graph Name: EinoAgent<\/section>\n<\/li>\n<li>\n<section>Node Trigger Mode:\u00a0Triggered after all predecessor nodes are executed<\/section>\n<\/li>\n<li>\n<section>Input Type Name: *UserMessage<\/section>\n<\/li>\n<li>\n<section>Input Package Path: &#8220;&#8221;<\/section>\n<\/li>\n<li>\n<section>Output Type Name: *schema.Message<\/section>\n<\/li>\n<li>\n<section>Output Import Path: github.com\/cloudwego\/eino\/schema<\/section>\n<\/li>\n<li>\n<section>\u5176\u4ed6\u7f6e\u7a7a<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>2. \u6309\u7167\u4e0a\u6587<strong>\u300cEino \u667a\u80fd\u4f53\u300d<\/strong>\u4e2d\u7684\u6d41\u7a0b\u8bf4\u660e\uff0c\u4ece Eino Workflow \u4e2d\u9009\u62e9\u9700\u8981\u4f7f\u7528\u7684\u7ec4\u4ef6\u5e93\uff0c\u672c\u6587\u9700\u8981\u7528\u5230\u5982\u4e0b\u7ec4\u4ef6\uff1a<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>lambda: \u5c06\u5f00\u53d1\u8005\u4efb\u610f\u7684\u51fd\u6570 func (ctx context.Context, input I) (output O, err error)\uff0c\u8f6c\u6362\u6210\u53ef\u88ab\u7f16\u6392\u7684\u8282\u70b9\uff0c\u5728 EinoAgent \u4e2d\uff0c\u6709\u4e24\u4e2a\u8f6c\u6362\u573a\u666f\uff1a<\/section>\n<section><\/section>\n<\/li>\n<\/ul>\n<section>\uff081\uff09\u5c06 *UserMessage \u6d88\u606f\u8f6c\u6362\u6210 ChatTemplate \u8282\u70b9\u7684 map [string] any<\/section>\n<section>\uff082\uff09\u5c06 *UserMessage \u8f6c\u6362\u6210 RedisRetriever \u7684\u8f93\u5165 query<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>retriever\/redis \u2014\u2014\u00a0\u6839\u636e\u7528\u6237 Query \u4ece Redis Vector Database \u6839\u636e\u8bed\u4e49\u76f8\u5173\u6027\uff0c\u53ec\u56de\u548c Query \u76f8\u5173\u7684\u4e0a\u4e0b\u6587\uff0c\u4ee5 schema.Document List \u7684\u5f62\u5f0f\u8fd4\u56de\u3002<\/section>\n<\/li>\n<li>\n<section>prompt\/chatTemplate \u2014\u2014\u00a0\u901a\u8fc7\u5b57\u7b26\u4e32\u5b57\u9762\u91cf\u6784\u5efa Prompt \u6a21\u677f\uff0c\u652f\u6301 \u6587\u672c\u66ff\u6362\u7b26 \u548c \u6d88\u606f\u66ff\u6362\u7b26\uff0c\u5c06\u8f93\u5165\u7684\u4efb\u610f map [string] any\uff0c\u8f6c\u6362\u6210\u53ef\u76f4\u63a5\u8f93\u5165\u7ed9\u6a21\u578b\u7684 Message List\u3002<\/section>\n<\/li>\n<li>\n<section>flow\/agent\/react \u2014\u2014 \u57fa\u4e8e\u5f00\u53d1\u8005\u63d0\u4f9b\u7684 ChatModel \u548c \u53ef\u8c03\u7528\u7684\u5de5\u5177\u96c6\uff0c\u9488\u5bf9\u7528\u6237\u7684\u95ee\u9898\uff0c\u81ea\u52a8\u51b3\u7b56\u4e0b\u4e00\u6b65\u7684 Action\uff0c\u76f4\u81f3\u80fd\u591f\u4ea7\u751f\u6700\u7ec8\u7684\u56de\u7b54\u3002\u00a0<\/section>\n<\/li>\n<li>\n<section>model\/ark \u2014\u2014\u00a0Ark \u5e73\u53f0\u63d0\u4f9b\u7684\u80fd\u591f\u8fdb\u884c\u5bf9\u8bdd\u6587\u672c\u8865\u5168\u7684\u5927\u6a21\u578b\uff0c\u4f8b\u5982\u8c46\u5305\u6a21\u578b\u3002\u4f5c\u4e3a ReAct Agent \u7684\u4f9d\u8d56\u6ce8\u5165\u3002<\/section>\n<\/li>\n<li>\n<section>\u53ef\u8c03\u7528\u7684\u5de5\u5177\u5217\u8868\u2014\u2014\u4e92\u8054\u7f51\u641c\u7d22\u5de5\u5177 (DuckDuckGo)\u3001EinoTool\u3001GitClone\u3001\u4efb\u52a1\u7ba1\u7406 (TaskManager)\u3001 OpenURL<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>3. \u5c06\u9009\u4e2d\u7684\u7ec4\u4ef6\u6309\u7167\u9884\u671f\u7684\u62d3\u6251\u7ed3\u6784\u8fdb\u884c\u7f16\u6392\uff0c\u5b8c\u6210\u7f16\u6392\u540e\uff0c\u70b9\u51fb \u201c\u751f\u6210\u4ee3\u7801\u201d \u5230\u6307\u5b9a\u76ee\u5f55\u3002<\/section>\n<section><\/section>\n<ul>\n<li>\n<section>\u672c\u793a\u4f8b\u4e2d\uff0c<strong>\u300cEino \u667a\u80fd\u4f53\u300d<\/strong>\u7684\u4ee3\u7801\u751f\u6210\u5230\uff1aeino\/einoagent<\/section>\n<\/li>\n<\/ul>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-31e0b6ae876b7c49355c1bf69fc86ae3.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-31e0b6ae876b7c49355c1bf69fc86ae3.png\"><\/a><\/section>\n<ul>\n<li>\n<p>\u672c\u793a\u4f8b\u53ef\u76f4\u63a5\u590d\u5236 eino\/eino_agent.json \u4e2d\u7684 Graph Schema\uff0c\u6765\u5feb\u901f\u6784\u5efa\u793a\u4f8b\u4e2d\u7684\u56fe<\/p>\n<\/li>\n<\/ul>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0df5cd8df3d773d51729ec42929f41b3.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0df5cd8df3d773d51729ec42929f41b3.png\"><\/a><\/section>\n<section>4. \u6309\u9700\u5b8c\u5584\u5404\u4e2a\u7ec4\u4ef6\u7684\u6784\u9020\u51fd\u6570\uff0c\u5728\u6784\u9020\u51fd\u6570\u4e2d\u8865\u5145\u521b\u5efa\u7ec4\u4ef6\u5b9e\u4f8b\u65f6\uff0c\u9700\u8981\u7684\u914d\u7f6e\u5185\u5bb9<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c46d37d1575e9eac338cccbbd2f56057.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-c46d37d1575e9eac338cccbbd2f56057.png\"><\/a><\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-ad31770e2b7802514b2096b1232a113d.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-ad31770e2b7802514b2096b1232a113d.png\"><\/a><\/section>\n<section>5. \u8865\u5145\u597d\u7ec4\u4ef6\u7684\u914d\u7f6e\u5185\u5bb9\u540e\uff0c\u5373\u53ef\u8c03\u7528 BuildEinoAgent \u65b9\u6cd5\uff0c\u5728\u4e1a\u52a1\u573a\u666f\u4f7f\u7528<\/section>\n<section><\/section>\n<section><strong>\u5b8c\u5584\u4ee3\u7801<\/strong><\/section>\n<section><\/section>\n<section>\u5728\u300cEino \u667a\u80fd\u4f53\u300d\u7684\u573a\u666f\u4e0b\uff0cBuildEinoAgent \u6784\u5efa\u7684 Graph \u5b9e\u4f8b\u53ef\u505a\u5230\uff1a\u6839\u636e\u7528\u6237\u8bf7\u6c42\u548c\u5bf9\u8bdd\u5386\u53f2\uff0c\u4ece Eino \u77e5\u8bc6\u5e93\u4e2d\u53ec\u56de\u4e0a\u4e0b\u6587\uff0c \u7136\u540e\u7ed3\u5408\u53ef\u8c03\u7528\u7684\u5de5\u5177\u5217\u8868\uff0c\u5c06 ChatModel \u5faa\u73af\u51b3\u7b56\u4e0b\u4e00\u6b65\u662f\u8c03\u7528\u5de5\u5177\u6216\u8f93\u51fa\u6700\u7ec8\u7ed3\u679c\u3002\u00a0<\/section>\n<section><\/section>\n<section>\u4e0b\u56fe\u5373\u662f\u5bf9\u751f\u6210\u7684 BuildEinoAgent \u51fd\u6570\u7684\u5e94\u7528\uff0c\u5c06 Eino Agent \u5c01\u88c5\u6210 HTTP \u670d\u52a1\u63a5\u53e3\uff1a<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0a3e10f836790c2e5a98cdca1197eb4e.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-0a3e10f836790c2e5a98cdca1197eb4e.png\"><\/a><\/section>\n<section><strong>\u8fd0\u884c<\/strong><\/section>\n<section><strong><br \/><\/strong><\/section>\n<section>1. \u5728 .env \u6587\u4ef6\u4e2d\u6309\u7167\u6ce8\u91ca\u8bf4\u660e\uff0c\u83b7\u53d6\u5e76\u586b\u5199\u5bf9\u5e94\u5404\u53d8\u91cf\u7684\u503c\uff0c\u6309\u5982\u4e0b\u6307\u4ee4\uff0c\u542f\u52a8 Eino Agent Server<\/section>\n<section>\n<pre data-lang=\"bash\"><section><code>cd eino-examples\/eino_assistant # \u8fdb\u5165 eino assistant \u7684 example \u4e2d<\/code><\/section><section><code>\r\n<\/code><code># \u4fee\u6539 .env \u4e2d\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf (\u5927\u6a21\u578b\u4fe1\u606f\u3001trace \u5e73\u53f0\u4fe1\u606f)<\/code><\/section><section><code>source .env<\/code><\/section><section><code>\r\n<\/code><code># \u4e3a\u4e86\u4f7f\u7528 data \u76ee\u5f55\uff0c\u9700\u8981\u5728 eino_assistant \u76ee\u5f55\u4e0b\u6267\u884c\u6307\u4ee4<\/code><\/section><section><code>go run cmd\/einoagent\/*.go<\/code><\/section><\/pre>\n<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-aae74a2fb7ee8ef8a65a31567bab2637.gif\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-aae74a2fb7ee8ef8a65a31567bab2637.gif\"><\/a><\/section>\n<section>2. \u542f\u52a8\u540e\u53ef\u8bbf\u95ee\u5982\u4e0b\u94fe\u63a5\uff0c\u6253\u5f00 Eino Agent Web<\/section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"43\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<section>Eino Agent Web\uff1ahttp:\/\/127.0.0.1:8080\/agent\/<\/section>\n<\/section>\n<\/blockquote>\n<section><\/section>\n<section><strong>\u89c2\u6d4b (\u53ef\u9009)<\/strong><\/section>\n<section><\/section>\n<section>\u5982\u679c\u5728\u8fd0\u884c\u65f6\uff0c\u5728 .env \u6587\u4ef6\u4e2d\u6307\u5b9a\u4e86 LANGFUSE_PUBLIC_KEY \u548c LANGFUSE_SECRET_KEY\uff0c\u4fbf\u53ef\u5728 Langfuse \u5e73\u53f0\u4e2d\uff0c\u767b\u5f55\u5bf9\u5e94\u7684\u8d26\u53f7\uff0c\u67e5\u770b\u8bf7\u6c42\u7684 Trace \u8be6\u60c5\u3002<\/section>\n<section><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d4ade329f9f34b2cd0280f366c0a0524.gif\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-d4ade329f9f34b2cd0280f366c0a0524.gif\"><\/a><\/section>\n<section><em><sup>\u76f8\u5173\u94fe\u63a5\uff1a<\/sup><\/em><\/section>\n<section><sup><em>\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/cloudwego\/eino\uff0chttps:\/\/github.com\/cloudwego\/eino-ext<\/em><\/sup><\/section>\n<section><sup><em>Eino \u7528\u6237\u624b\u518c\uff1ahttps:\/\/www.cloudwego.io\/zh\/docs\/eino\/<\/em><\/sup><\/section>\n<section><em><sup>\u9879\u76ee\u5b98\u7f51\uff1ahttps:\/\/www.cloudwego.io<\/sup><\/em><\/section>\n<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2025-02-04\" target=\"_blank\">Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[27],"tags":[70,71,68],"class_list":["post-38070","post","type-post","status-publish","format-standard","hentry","category-news","tag-agent","tag-rag","tag-68"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u4e00\u8d77AI\u6280\u672f<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/17aitech.com\/?p=38070\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070\"},\"author\":{\"name\":\"AI\u5c0f\u52a9\u624b\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\"},\"headline\":\"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b\",\"datePublished\":\"2025-02-09T05:01:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070\"},\"wordCount\":449,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/frc-881e06892f362490206a637788d87dfe.png\",\"keywords\":[\"Agent\",\"RAG\",\"\u5927\u6a21\u578b\"],\"articleSection\":[\"\u884c\u4e1a\u8d44\u8baf\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/17aitech.com\\\/?p=38070#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070\",\"url\":\"https:\\\/\\\/17aitech.com\\\/?p=38070\",\"name\":\"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u4e00\u8d77AI\u6280\u672f\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/frc-881e06892f362490206a637788d87dfe.png\",\"datePublished\":\"2025-02-09T05:01:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/17aitech.com\\\/?p=38070\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#primaryimage\",\"url\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/frc-881e06892f362490206a637788d87dfe.png\",\"contentUrl\":\"https:\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/frc-881e06892f362490206a637788d87dfe.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/?p=38070#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/17aitech.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#website\",\"url\":\"https:\\\/\\\/17aitech.com\\\/\",\"name\":\"\u4e00\u8d77AI\u6280\u672f\",\"description\":\"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca\",\"alternateName\":\"\u4e00\u8d77AI\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/17aitech.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/17aitech.com\\\/#\\\/schema\\\/person\\\/60225458499e817ae0af73e67e440b9d\",\"name\":\"AI\u5c0f\u52a9\u624b\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"url\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"contentUrl\":\"\\\/\\\/17aitech.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/robot_3.png\",\"caption\":\"AI\u5c0f\u52a9\u624b\"},\"description\":\"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e\",\"url\":\"https:\\\/\\\/17aitech.com\\\/?page_id=33738&user=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u4e00\u8d77AI\u6280\u672f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/17aitech.com\/?p=38070","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/17aitech.com\/?p=38070#article","isPartOf":{"@id":"https:\/\/17aitech.com\/?p=38070"},"author":{"name":"AI\u5c0f\u52a9\u624b","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"headline":"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b","datePublished":"2025-02-09T05:01:02+00:00","mainEntityOfPage":{"@id":"https:\/\/17aitech.com\/?p=38070"},"wordCount":449,"commentCount":0,"image":{"@id":"https:\/\/17aitech.com\/?p=38070#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png","keywords":["Agent","RAG","\u5927\u6a21\u578b"],"articleSection":["\u884c\u4e1a\u8d44\u8baf"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/17aitech.com\/?p=38070#respond"]}]},{"@type":"WebPage","@id":"https:\/\/17aitech.com\/?p=38070","url":"https:\/\/17aitech.com\/?p=38070","name":"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u4e00\u8d77AI\u6280\u672f","isPartOf":{"@id":"https:\/\/17aitech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/17aitech.com\/?p=38070#primaryimage"},"image":{"@id":"https:\/\/17aitech.com\/?p=38070#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png","datePublished":"2025-02-09T05:01:02+00:00","author":{"@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"breadcrumb":{"@id":"https:\/\/17aitech.com\/?p=38070#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/17aitech.com\/?p=38070"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/?p=38070#primaryimage","url":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png","contentUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2025\/02\/frc-881e06892f362490206a637788d87dfe.png"},{"@type":"BreadcrumbList","@id":"https:\/\/17aitech.com\/?p=38070#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/17aitech.com\/"},{"@type":"ListItem","position":2,"name":"Go\u8bed\u8a00\u5f00\u53d1AI\u667a\u80fd\u4f53\u6709\u591a\u4e1d\u6ed1\uff1f\u5b57\u8282\u91cd\u78c5\u5f00\u6e90Eino\u6846\u67b6\uff0c\u5185\u542b\u4fdd\u59c6\u7ea7\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/17aitech.com\/#website","url":"https:\/\/17aitech.com\/","name":"\u4e00\u8d77AI\u6280\u672f","description":"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca","alternateName":"\u4e00\u8d77AI\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/17aitech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d","name":"AI\u5c0f\u52a9\u624b","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","url":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","contentUrl":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","caption":"AI\u5c0f\u52a9\u624b"},"description":"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e","url":"https:\/\/17aitech.com\/?page_id=33738&user=3"}]}},"_links":{"self":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/38070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38070"}],"version-history":[{"count":0,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/38070\/revisions"}],"wp:attachment":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}