docs: OpenAI-compatible multi-model gateway example (DaoXE)#561
Open
seven7763 wants to merge 1 commit into
Open
docs: OpenAI-compatible multi-model gateway example (DaoXE)#561seven7763 wants to merge 1 commit into
seven7763 wants to merge 1 commit into
Conversation
Show OpenAILLM/OpenAIEmbeddings with base_url https://daoxe.com/v1 and account-scoped model IDs. Signed-off-by: seven7763 <246023385+seven7763@users.noreply.github.com>
ali-sedaghatbaf
requested changes
Jul 16, 2026
| asyncio.run(kg_builder.run_async(text=text)) | ||
| driver.close() | ||
|
|
||
| ### OpenAI-compatible multi-model gateways |
Contributor
There was a problem hiding this comment.
With your change, the README would promote a specific third-party service (DaoXE) with a direct URL. This is unusual for an open-source library README. A more neutral approach would use a generic placeholder like https://your-gateway.example.com/v1 and mention well-known alternatives (LiteLLM, vLLM, Ollama, Azure OpenAI, etc.) rather than one lesser-known commercial gateway.
| - Model IDs are account-scoped; do not hardcode a static public catalog. | ||
| - Chat Completions / embeddings paths only for this snippet. | ||
| - DaoXE is not available in mainland China. | ||
| - Contributor disclosure: this example was contributed by a DaoXE affiliate. |
Contributor
There was a problem hiding this comment.
This reads as an advertisement. It's atypical for library documentation to include affiliate disclosures inline
|
|
||
| - Model IDs are account-scoped; do not hardcode a static public catalog. | ||
| - Chat Completions / embeddings paths only for this snippet. | ||
| - DaoXE is not available in mainland China. |
Contributor
There was a problem hiding this comment.
This is a product-specific limitation note that has no place in generic library doc
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.
Description
Add README example showing
OpenAILLM/OpenAIEmbeddingswith OpenAI client kwargs (base_url,api_key) pointed at OpenAI-compatible multi-model gateway. Example uses DaoXE (https://daoxe.com/v1), account-scoped model IDs, Chat Completions / embeddings paths. Same kwargs path already used for custom OpenAI clients — docs only, no code change.Note: DaoXE not available in mainland China. Contributor affiliated with DaoXE.
Type of Change
Complexity
Complexity: Low
How Has This Been Tested?
Checklist
The following requirements should have been met (depending on the changes in the branch):