摘要: 参考资料 https://prometheus.io/ https://yunlzheng.gitbook.io/prometheus-book 为什么 prometheus和SDK中间有一条鸿沟 prometheus只是SDK后端的一种实现方案 对prometheus的误解可能会造成SDK使用上的 阅读全文
posted @ 2026-04-10 15:21 java拌饭 阅读(7) 评论(0) 推荐(0)
摘要: 协议介绍 https://modelcontextprotocol.io/docs/getting-started/intro 核心架构 交互流程 应用层 McpAsyncServer: mcp 异步服务器 需要接收一个初始化好的McpServerTransportProvider对象,并且设置会话 阅读全文
posted @ 2026-04-10 15:03 java拌饭 阅读(16) 评论(0) 推荐(0)
摘要: 为什么需要? 我们需要构建工作流完成特定任务,但是又不希望通过面向过程的方式组织代码。 spring ai alibaba graph 把工作流建模为图,把流程跳转抽象为边(Edge),把业务流程抽象到节点(Node)里,把共享的数据放进状态(OverAllState)里在工作流中进行传递 是什么 阅读全文
posted @ 2026-04-10 14:50 java拌饭 阅读(28) 评论(0) 推荐(0)
摘要: 文章参考 https://www.anthropic.com/engineering/building-effective-agents https://docs.spring.io/spring-ai/reference/api/effective-agents.html https://gith 阅读全文
posted @ 2026-04-10 10:42 java拌饭 阅读(8) 评论(0) 推荐(0)
摘要: 官网地址 https://docs.spring.io/spring-ai/reference/index.html 版本 <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.ai</grou 阅读全文
posted @ 2025-11-11 16:38 java拌饭 阅读(75) 评论(0) 推荐(0)
摘要: 使用公开的房价数据集进行预测,数据包含8个特征1个目标值 特征最多使用2次幂 代码示例 import numpy as np import pandas as pd from sklearn.datasets import fetch_california_housing from sklearn. 阅读全文
posted @ 2025-09-18 15:47 java拌饭 阅读(16) 评论(0) 推荐(0)
摘要: numpy 基本属性 import numpy as np arr = np.arange(15).reshape((3,5)) print(arr) # [[ 0 1 2 3 4],[ 5 6 7 8 9],[10 11 12 13 14]] print(type(arr)) # 类型 <clas 阅读全文
posted @ 2025-09-14 23:59 java拌饭 阅读(28) 评论(0) 推荐(0)
摘要: import torch import torch.nn as nn import torch.optim as optim # 定义前馈神经网络 class FNN(nn.Module): def __init__(self, input_size, hidden_size, output_siz 阅读全文
posted @ 2025-09-10 09:58 java拌饭 阅读(10) 评论(0) 推荐(0)
摘要: cd /etc/yum.repos.d curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum update -y y 阅读全文
posted @ 2025-04-06 16:24 java拌饭 阅读(9) 评论(0) 推荐(0)
摘要: 源码版本:5.0 main 函数 servecron 函数 acceptTcpHandler 函数 图形工具:http://www.plantuml.com/plantuml/uml 时序图源码: main 函数 @startuml group main server.c -> setproctit 阅读全文
posted @ 2023-09-24 17:46 java拌饭 阅读(109) 评论(0) 推荐(0)