Skip to content
Snippets Groups Projects
Unverified Commit 0771ee9e authored by Logan's avatar Logan Committed by GitHub
Browse files

support python 3.12 (#9304)

parent 8ba53668
No related branches found
No related tags found
No related merge requests found
...@@ -302,6 +302,7 @@ class OpenAIEmbedding(BaseEmbedding): ...@@ -302,6 +302,7 @@ class OpenAIEmbedding(BaseEmbedding):
self._client = None self._client = None
self._aclient = None self._aclient = None
self._http_client = http_client
def _get_client(self) -> OpenAI: def _get_client(self) -> OpenAI:
if not self.reuse_client: if not self.reuse_client:
......
This diff is collapsed.
...@@ -54,7 +54,7 @@ nltk = "^3.8.1" ...@@ -54,7 +54,7 @@ nltk = "^3.8.1"
numpy = "*" numpy = "*"
openai = ">=1.1.0" openai = ">=1.1.0"
pandas = "*" pandas = "*"
python = ">=3.8.1,<3.12" python = ">=3.8.1,<4.0"
tenacity = ">=8.2.0,<9.0.0" tenacity = ">=8.2.0,<9.0.0"
tiktoken = ">=0.3.3" tiktoken = ">=0.3.3"
typing-extensions = ">=4.5.0" typing-extensions = ">=4.5.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment