Skip to content

[BUG] Issue with No module named 'openai.types.beta.threads.messages #125

Description

@Elizabeth819

Solution Accelerators
This repository contains multiple solution accelerators. Please tell us which ones are involved in your report. (Replace the space in between square brackets with an x)

  • Cognitive Services Landing Zone
  • Semantic Kernel Bot
  • Azure ML Operationalization
  • Edge AI

Describe the bug
No module named 'openai.types.beta.threads.messages

To Reproduce
Steps to reproduce the behavior:

  1. Go to /Users/wanmeng/repository/AI-in-a-Box/gen-ai/Assistants/notebooks/sales_copilot/two_agent_copilot_proxy.ipynb
  2. Run the 'import' code
  3. See error
    ---> 13 from openai.types.beta.threads.messages import MessageFile
    14 from openai.types import FileObject
    15 from PIL import Image

ModuleNotFoundError: No module named 'openai.types.beta.threads.messages'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Please complete the following information:

  • OS: [e.g. Windows] MacOS
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22] Python=3.12

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions