redog 3 days ago

For me I had to upload the library's current documentation to it because it was using outdated references and changing everything that was working in the code to broken and not focusing on the parts I was trying to build upon.

2
Jcampuzano2 3 days ago

If you don't mind me asking how do you go about this?

I hear people commonly mention doing this but I can't imagine people are manually adding every page of the docs for libraries or frameworks they're using since unfortunately most are not in one single tidy page easy to copy paste.

genewitch 2 days ago

Have the AI write a quick script using bs4 or whatever to take the HTML dump and output json, then all the aider-likes can use that json as documentation. Or just the HTML, but that wastes context window.

dr_kiszonka 3 days ago

If you have access to the documentation source, you can concatenate all files into one. Some software also has docs downloadable as PDF.

amarcheschi 3 days ago

using outdated references and docs is something i've experienced more or less with every model i've tried, from time to time

rockwotj 3 days ago

I am hoping MCP will fix this. I am building an MCP integration with kapa.ai for my company to help devs here. I guess this doesn’t work if you don’t add in the tool

simonw 3 days ago

That's expected, because they almost all have training cut-off dates from a year ago or longer.

The more interesting question is if feeding in carefully selected examples or documentation covering the new library versions helps them get it right. I find that to usually be the case.