cli
cli copied to clipboard
Add documentation tool to AI command
This update the bk ai ask command to make use of tools (api ref). This allows chatgpt to tell us if we should give it some more context or run something out of band.
This PR adds a tool that searches our docs algolia index for relevant pages and returns the URLs. That allows gpt-4o to parse those URLs and reference them in the response, without using extra tokens
I think this might actually be fully ready for review
Closing this for now to come back to it when time permits