-
Notifications
You must be signed in to change notification settings - Fork 2k
ADD HunYuan ChatModel #2090
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
Closed
Closed
ADD HunYuan ChatModel #2090
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
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
* Fix the ChatClient.Builder auto-configuration so that it's only autoconfigured when there is no bean defined yet. Fixes spring-projectsgh-2034 Signed-off-by: Thomas Vitale <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
- Remove unused type from RedisVectorStore Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Moving BatchingStrategy configuration from individual vector store implementations to the base AbstractVectorStoreBuilder to reduce code duplication and provide consistent batching behavior across all vector stores. The default TokenCountBatchingStrategy is now set in the base builder class. Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
- The VectorStore builders shouldn't be final as they are meant to be extensible - Suppress the `FinalClass` checkstyle errors on VectorStore classes Signed-off-by: StudiousXiaoYu <[email protected]>
…tore Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Closes spring-projects#1932 Signed-off-by: Gerrit Meier <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
- 更新 API 调用方式,使用 secretId 和 secretKey 进行认证 - 修复测试配置中的 API 实例创建逻辑 -优化部分代码结构,提高可读性和维护性 Signed-off-by: StudiousXiaoYu <[email protected]>
…tions 类 Signed-off-by: StudiousXiaoYu <[email protected]>
- 修改类名和方法名以符合规范 - 添加必要的注释说明 - 优化代码结构和逻辑 - 更新类 HunYuanRuntimeHints 的描述- 重构 HunYuanAuthApi 类,添加新方法并优化现有方法 - 更新 HunYuanApi 类,移除未使用的代码并添加新功能 Signed-off-by: StudiousXiaoYu <[email protected]>
- 新增 HunYuanAutoConfiguration 类实现自动配置 - 添加 HunYuanChatProperties 和 HunYuanCommonProperties 类管理配置属性 - 更新 HunYuanApi 和 HunYuanChatModel 类以支持新功能 -增加相关测试用例验证功能 Signed-off-by: StudiousXiaoYu <[email protected]>
- 在 pom.xml 中添加 spring-ai-starter-hunyuan 模块 - 实现 HunYuanRuntimeHints 类以注册 HunYuan API 的运行时提示 - 开发 HunYuanAuthApi 类处理身份验证和授权 - 创建 HunYuanApi 类提供与 HunYuan 平台交互的客户端库 - 定义 HunYuanConstants 存储常量 - 实现 HunYuanStreamFunctionCallingHelper 类支持流式函数调用 Signed-off-by: StudiousXiaoYu <[email protected]>
- 新增 HunYuan AI聊天模型的使用说明和配置指南 - 添加 HunYuan函数调用的示例和实现细节 - 更新导航栏,增加 HunYuan AI 相关链接 - 修正 HunYuan API 客户端的注释- 更新 README 文件中的文档链接 Signed-off-by: StudiousXiaoYu <[email protected]>
* Extend Query with conversation history in RetrievalAugmentationAdvisor * Add integration tests for query compression and rewrite Signed-off-by: Thomas Vitale <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
* Defined new APIs consolidating the “tool” naming as opposed to the current “function”, aligning with the industry and solving the confusion between “function tool” and “Java Function”: ToolCallback and ToolCallingChatOptions. They extend the current ones to ensure backward compatibility, but FunctionCallback and FunctionCallingOptions can be considered deprecated. * Enhanced support for methods as tools, introducing support for declarative Tool-annotated methods via MethodToolCallback and MethodToolCallbackProvider (deprecating the existing MethodInvokingFunctionCallback). * Improved tool execution logic with granular support for returning the result directly to the client and exception handling. * Improved JSON Schema generation and parsing logic, consolidating the usage of the victools/jsonschema-generator library and dropping the non-maintained Jackson JSON Schema Module. This makes it possible to use tools with input lists/arrays, which the latter library was not supporting. * Extended ChatClient API with new methods tools() and toolCallbacks(). The existing functions() methods can be considered deprecated. Relates to spring-projectsgh-2049 Signed-off-by: Thomas Vitale <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: Andreas Köninger <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
- Add OpenAI TTS Voice Unit Test Signed-off-by: StudiousXiaoYu <[email protected]>
…andling Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: jitokim <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: StudiousXiaoYu <[email protected]>
…gging Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: Ricken Bazolo <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
This commit adds support for the MiniMax-Text-01 model, which is recommended for general scenarios due to its longer context window. The new model is added to the ChatModel enum as MiniMax_Text_01. Signed-off-by: Alexandros Pappas <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
Signed-off-by: Bruno Oliveira <[email protected]> Signed-off-by: StudiousXiaoYu <[email protected]>
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.
Hi, this PR is add Moonshot model client and has passed unit testing.
I can provide my api_key if needed for testing
the PR content:
HunYuan is a popular LLM in China Mainland recently, the link: HunYuan