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 endpoint for OpenAI #1155

Closed
katopz opened this issue Jan 10, 2024 · 0 comments · Fixed by #1197
Closed

Support custom endpoint for OpenAI #1155

katopz opened this issue Jan 10, 2024 · 0 comments · Fixed by #1197

Comments

@katopz
Copy link

katopz commented Jan 10, 2024

🚀 The feature

OpenAI not consume endpoint
https://github.com/embedchain/embedchain/blob/3cff5e9/embedchain/llm/openai.py#L28-L33

        kwargs = {
            "model": config.model or "gpt-3.5-turbo",
            "temperature": config.temperature,
            "max_tokens": config.max_tokens,
            "model_kwargs": {},
        }

So that i can't customize it to other endpoint.

Motivation, pitch

Support custom endpoint config.

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 a pull request may close this issue.

1 participant