Feature/add hpc ai provider#11264
Open
lioZ129 wants to merge 3 commits intodeepset-ai:mainfrom
Open
Conversation
|
@lioZ129 is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
4 tasks
There was a problem hiding this comment.
Pull request overview
- Adds documentation for the
HPCAIChatGeneratorintegration (HPC-AI OpenAI-compatible chat completions) and wires it into the docs navigation so users can discover and use it.
Changes:
- Added a new docs page describing setup (
HPC_AI_API_KEY, optionalHPC_AI_BASE_URL), supported models, and usage patterns (structured output, tools, streaming, pipeline usage). - Added
HPCAIChatGeneratorto the generators index table. - Added the new page to the Docusaurus sidebar under Generators.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs-website/sidebars.js |
Adds hpcaichatgenerator to the Generators sidebar list. |
docs-website/docs/pipeline-components/generators/hpcaichatgenerator.mdx |
New documentation page for HPCAIChatGenerator (overview, configuration, examples). |
docs-website/docs/pipeline-components/generators.mdx |
Adds HPCAIChatGenerator to the generators index table for discoverability. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | **Most common position in a pipeline** | After a [ChatPromptBuilder](../builders/chatpromptbuilder.mdx) | | ||
| | **Mandatory init variables** | `api_key`: The HPC-AI API key. Can be set with `HPC_AI_API_KEY` env var. | | ||
| | **Mandatory run variables** | `messages`: A list of [`ChatMessage`](../../concepts/data-classes/chatmessage.mdx) objects | | ||
| | **Output variables** | `replies`: A list of [`ChatMessage`](../../concepts/data-classes/chatmessage.mdx) objects <br /> <br />`meta`: A list of dictionaries with the metadata associated with each reply, such as token count and finish reason | |
9 tasks
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
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.
Summary
HPCAIChatGeneratordocs pageHPC_AI_API_KEY, optionalHPC_AI_BASE_URL, the default endpoint, and the two supported modelsNotes
How did you test it?
unit tests, integration tests, manual verification