// Lots of time when using Claude and GPT models to generate code using libraries and frameworks, code seems to be
// generated using older version of library. Please suggest a way to get latest version of library while generating code.
// In my opinion, one way to fix it would be to download latest version of library and add it to current workspace
// and then use embeddings to generate context sent to model. Another solution would be to use API docs to generate conetxt.
Hello @smudit
Thank you for your suggestions.
By utilizing OpenCtx as additional context provider in Cody, you have the ability to fetch documentation from various APIs. To use OpenCtx in Cody read this documentation please.
And to configure OpenCtx to use DevDocs.io read here