-
Notifications
You must be signed in to change notification settings - Fork 64
添加评估器-优化器模式实现 #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
liu-657667
wants to merge
55
commits into
java-ai-tech:main
Choose a base branch
from
liu-657667:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
添加评估器-优化器模式实现 #34
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat: add vector store redis simple
…with_workflow feat: build agent with workflow
…nt_with_workflow
* 提交mariadb代码
- 将 spring.ai.openai.chat.api-key 更名为 spring.ai.openai.api-key - 统一 API 密钥配置,解决潜在的配置错误问题
- 将 spring.ai.openai.chat.api-key 更名为 spring.ai.openai.api-key
- 新增 spring-ai-observability 模块,包含 metric 和 tracing 两个子模块 - 实现了对 AI 模型调用的监控、追踪和可观测性管理 - 集成了 OpenAI 客户端、Redis VectorStore 和 Zipkin 分布式追踪 - 提供了聊天、图像生成、文本嵌入等功能的 REST 接口 - 添加了 Prometheus 指标和健康检查支持
- 将 image 方法的返回类型从 void改为 String - 移除了 HttpServletResponse 参数 - 直接返回图像 URL 字符串,而不是通过输出流传输图像数据
- 在 metric 和 tracing模块的 README 文件中,将 application.yml 的路径从绝对路径修改为相对路径 - 优化文档的可读性和通用性,避免特定于某个用户的路径
* fix(spring-ai-chat-qwen): 修复 API 密钥配置问题 - 将 spring.ai.openai.chat.api-key 更名为 spring.ai.openai.api-key - 统一 API 密钥配置,解决潜在的配置错误问题 * feat(spring-ai-observability): 添加可观察性模块 - 新增 spring-ai-observability 模块,包含 metric 和 tracing 两个子模块 - 实现了对 AI 模型调用的监控、追踪和可观测性管理 - 集成了 OpenAI 客户端、Redis VectorStore 和 Zipkin 分布式追踪 - 提供了聊天、图像生成、文本嵌入等功能的 REST 接口 - 添加了 Prometheus 指标和健康检查支持 * refactor(spring-ai-observability-metric): 优化 image 控制器的实现 - 将 image 方法的返回类型从 void改为 String - 移除了 HttpServletResponse 参数 - 直接返回图像 URL 字符串,而不是通过输出流传输图像数据 * docs(spring-ai-observability): 更新快速启动指南中的配置文件路径 - 在 metric 和 tracing模块的 README 文件中,将 application.yml 的路径从绝对路径修改为相对路径 - 优化文档的可读性和通用性,避免特定于某个用户的路径
* fix mcp-client config yaml format bug, fix pom http dependency bug. due to these bugs, mcp-sample can not run success * add readme add evn config 增加了配置全局LLM key的使用方式说明,无需每次调整对应的配置文件 --------- Co-authored-by: hyz <huyuzhou@youzan.com>
- 新增 Nacos MCP 客户端模块,实现基于 Nacos 的服务发现和 MCP 协议通信 - 新增 Nacos MCP 服务端模块,提供天气查询工具服务 - 添加相关配置文件、控制器、服务和工具类 - 更新项目结构,增加新模块的引用
- 移除了 Nacos客户端和服务器应用中的未使用导入 - 删除了 Nacos 客户端应用中的冗余代码片段 - 清理了 Nacos 服务器应用中的多余导入和代码
- 将 OpenAI API 密钥配置从硬编码改为使用环境变量 - 提高了配置的灵活性和安全性
- 将 NacoseClientApplication 重命名为 NacosClientApplication - 将 NacoseServerApplication 重命名为 NacosServerApplication - 更新相关 README 文件中的类名引用
* support nacos mcp guides
# Conflicts: # README.md # README_EN.md
- 新增 spring-ai-evaluator-optimizer 模块 - 实现了评估器-优化器模式的完整工作流 - 添加了生成器服务、评估器服务和评估优化服务- 定义了各阶段的请求/响应模型 -集成了阿里云的 Qwen模型 - 提供了 REST API 接口和健康检查功能 - 编写了详细的 README 文档说明使用方法和配置
glmapper
requested changes
Jul 8, 2025
...timizer/src/main/java/com/glmapper/ai/evaluator/optimizer/EvaluatorOptimizerApplication.java
Outdated
Show resolved
Hide resolved
- 移动 application.yml到新模块 spring-ai-agent-evaluator-optimizer - 重新命名包名从 com.glmapper.ai.evaluator.optimizer 到 com.glmapper.ai.agent.evaluator.optimizer - 更新所有相关类和接口的包名 - 调整 ChatClientConfig 中的 bean 名称
删除了 CLAUDE.md 文件,这是为 claude.ai/code 提供的关于代码库的指导文件。文件内容涵盖了项目结构、构建命令、测试命令、应用程序运行、配置、架构说明、开发环境和常见开发任务等方面的信息。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
-集成了阿里云的 Qwen模型
#19