feat(model): add model support for grok #244
Open
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.
What type of PR is this?
feat: Support for Grok model in Eino
Check the PR title.
(Optional) Translate the PR title into Chinese.
feat: 在Eino中支持Grok模型
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
This PR adds support for the Grok AI model from X.AI to the Eino framework. The implementation allows users to:
The implementation follows the same patterns as other model providers in Eino, ensuring consistency and ease of use. A comprehensive example demonstrating all features is included.
zh:
该PR为Eino框架添加了对X.AI的Grok人工智能模型的支持。实现功能包括:
实现遵循Eino中其他模型提供商的相同模式,确保一致性和易用性。包含了展示所有功能的综合示例。
(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: