azure devops - How to get copilot 365 to use markdown files - Stack Overflow

I have a lot of documentation stored in Azure Devops wiki. It is hundreds of markdown files in many dif

I have a lot of documentation stored in Azure Devops wiki. It is hundreds of markdown files in many different projects.

I want to be able to ask questions about the documentation in Copilot 365.

  1. There is a Graph connector which can do just that

Couldn't get IT to set it up (something something different directory...).

  1. Created a script to download all markdown files from Azure Devops and store them in OneDrive.

Didn't work because Microsoft Graph doesn't crawl markdown files

  1. Renamed the files to .txt

Finally some progress. The files are now visible in Graph and Copilot can use them but only if I explicitly tell it where to look.

Question about documentation?

doesn't work

Question about documentation? Look in documentation.txt

doesn't work

Question about documentation? Look in folder/wikis/project/documentation.txt

Works! but not very useful.

Anyone have a solution to this problem?

Another thing that works is to convert the markdown files to pdf:s and store in the same folder. Then I can ask questions without including the file path in the prompt.

But Azure Devops API does not have an endpoint for the "convert to pdf" function and I can't do hundreds of files manually.

Did some quick test with markdown -> html -> pdf libraries but couldn't find one where the result didn't look awful (on default settings, I assume some CSS magic can solve it).

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745306521a4621742.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信