Find answers from the community

Home
Members
Gayathri
G
Gayathri
Offline, last seen 3 months ago
Joined September 25, 2024
With the latest llama-index 0.10.27, I see the following exception. Anything that I am missing?
from llama_index.llms.azure_openai import AzureOpenAI
2024-04-09T05:58:23.168094571Z File "/app/.venv/lib/python3.9/site-packages/llama_index/llms/azure_openai/init.py", line 1, in <module>
2024-04-09T05:58:23.168096031Z from llama_index.llms.azure_openai.base import (
2024-04-09T05:58:23.168097378Z File "/app/.venv/lib/python3.9/site-packages/llama_index/llms/azure_openai/base.py", line 13, in <module>
2024-04-09T05:58:23.168098849Z from llama_index.llms.openai import OpenAI
2024-04-09T05:58:23.168100197Z File "/app/.venv/lib/python3.9/site-packages/llama_index/llms/openai/init.py", line 1, in <module>
2024-04-09T05:58:23.168101683Z from llama_index.llms.openai.base import AsyncOpenAI, OpenAI, SyncOpenAI, Tokenizer
2024-04-09T05:58:23.168103123Z File "/app/.venv/lib/python3.9/site-packages/llama_index/llms/openai/base.py", line 53, in <module>
2024-04-09T05:58:23.168104570Z from llama_index.llms.openai.utils import (
2024-04-09T05:58:23.168105902Z File "/app/.venv/lib/python3.9/site-packages/llama_index/llms/openai/utils.py", line 24, in <module>
2024-04-09T05:58:23.168108870Z from openai.types.chat.chat_completion_token_logprob import ChatCompletionTokenLogprob
2024-04-09T05:58:23.168110335Z ModuleNotFoundError: No module named 'openai.types.chat.chat_completion_token_logprob'
5 comments
G
L
W