Find answers from the community

Updated 8 months ago

ok i am having issue using openai

ok i am having issue using openai assistant using llamaindex: i got this error:
ImportError: cannot import name 'MessageContentText' from 'openai.types.beta.threads' (/llm-test/pythonProject/.venv/lib/python3.12/site-packages/openai/types/beta/threads/__init__.py). Did you mean: 'MessageContentDelta'?
I think we need to open issue and change or update the import then open PR
L
m
5 comments
I guess the openai client updated is types maybe?
can i do it as my first PR in LlamaIndex, iw ill be happy to do it
Add a reply
Sign up and join the conversation on Discord