How to prompt to Copilot using Python?

Gier, Dennis (ETG/7) 30 Reputation points
2024-11-27T12:01:54.1466667+00:00

Hi there,

I would like to develop a software in Python which asks questions about a document to Copilot and processes it's answers.

So I literally want to send prompts to Copilot in a automated way. I don't want to send these prompts manually using the chat interface.

Questions:

  • Is there any API like the one of OpenAI?
  • Are there any examples how to connect to Copilot with Python?
  • Manually I can drop files to copilot. How can this be done with Python?

Best regards,

Dennis

Microsoft Copilot | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.