最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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).

发布评论

评论列表(0)

  1. 暂无评论