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.
- There is a Graph connector which can do just that
Couldn't get IT to set it up (something something different directory...).
- 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
- 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).