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

Reuse Openai client #39

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Conversation

Better-Boy
Copy link
Contributor

@Better-Boy Better-Boy commented Oct 16, 2024

Reuse openai client object for chat completion

Fixes #42

minds/utils.py Outdated Show resolved Hide resolved
@Better-Boy
Copy link
Contributor Author

@ea-rus can you merge the PR as it's approved?

@ZoranPandovski ZoranPandovski merged commit dcbe1e5 into mindsdb:main Oct 31, 2024
1 of 5 checks passed
@mindsdb mindsdb locked and limited conversation to collaborators Oct 31, 2024
@@ -1,14 +1,12 @@
from typing import List, Union, Iterable
from urllib.parse import urlparse, urlunparse

import utils
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utils is imported below from mind

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenAI client enhancement
3 participants