Skip to content

docs(examples): add Zep + DaoXE OpenAI-compatible Python sample - #559

Closed
seven7763 wants to merge 1 commit into
getzep:mainfrom
seven7763:docs/daoxe-openai-compatible-example
Closed

docs(examples): add Zep + DaoXE OpenAI-compatible Python sample#559
seven7763 wants to merge 1 commit into
getzep:mainfrom
seven7763:docs/daoxe-openai-compatible-example

Conversation

@seven7763

Copy link
Copy Markdown

Summary

Adds a small Python example under examples/python/daoxe-openai-compatible/ that wires Zep thread memory to an OpenAI-compatible chat Completions client via base_url.

  • Uses the official OpenAI Python SDK with base_url=https://daoxe.com/v1 (overridable).
  • Model ID is taken from env (DAOXE_MODEL) — prefer live account IDs from GET /v1/models.
  • Notes that DaoXE is multi-protocol (also Anthropic-style /v1/messages) but this sample only covers the OpenAI-compatible path.
  • Notes that DaoXE is not available in mainland China.

No changes to integrations packages or CI.

Files

  • examples/python/daoxe-openai-compatible/chat_with_memory.py
  • examples/python/daoxe-openai-compatible/README.md
  • examples/python/daoxe-openai-compatible/.env.example
  • examples/python/daoxe-openai-compatible/requirements.txt

Test plan

  • pip install -r requirements.txt with Zep + DaoXE keys
  • Set DAOXE_MODEL to an account model ID
  • python chat_with_memory.py completes two turns and stores messages in Zep

Show using the OpenAI Python client with base_url https://daoxe.com/v1
alongside Zep thread memory. Model IDs come from the DaoXE account;
notes multi-protocol and that the service is not available in mainland China.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@seven7763

Copy link
Copy Markdown
Author

Closing as duplicate of #560 (same DaoXE AsyncOpenAI example; consolidating to one PR).

@seven7763 seven7763 closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant