Are you sure? Works fine for me
(venv) pip show openai
Name: openai
Version: 1.14.3
Summary: The official Python library for the openai API
Home-page:
Author:
Author-email: OpenAI <support@openai.com>
License:
Location: /Users/loganmarkewich/giant_change/llama_index/venv/lib/python3.10/site-packages
Requires: anyio, distro, httpx, pydantic, sniffio, tqdm, typing-extensions
Required-by: llama-index-agent-openai, llama-index-core, llama-index-legacy
(venv) python
Python 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:41:52) [Clang 15.0.7 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from openai.types.chat.chat_completion_token_logprob import ChatCompletionTokenLogprob
>>>