Skip to content
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

Support custom OpenAI api hosts #133

Merged
merged 7 commits into from
Mar 14, 2024
Merged

Conversation

pixelkaiser
Copy link
Contributor

This adds support for custom API hosts for the OpenAI LLM. Needed to run against custom inference end points with OpenAI API compatibility.

  • Add api_host parameter to support custom OpenAI API host
  • Fix an issue where default values for config parameters would override the specified value
  • Update docstrings for clarity and documentation purposes
  • Adjust imports to multiple lines for readability

- Add api_host parameter to support custom OpenAI API host
- Update docstrings for clarity and documentation purposes
- Adjust imports to multiple lines for readability
@pixelkaiser pixelkaiser closed this Mar 4, 2024
@dvdmllr
Copy link
Contributor

dvdmllr commented Mar 5, 2024

Hi @pixelkaiser, thank you for your contribution. The team was planning to review and integrate your request in the upcoming 0.17 release of Council. Would you mind if we reopened your request?

@pixelkaiser
Copy link
Contributor Author

No problem, please reopen.

@dvdmllr dvdmllr reopened this Mar 11, 2024
@aflament aflament merged commit c86de51 into chain-ml:main Mar 14, 2024
5 checks passed
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.

4 participants