-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add a search prompt test to teach AI to search #12601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
You can pass this into an AI to get it smarter about searching our docs. It works pretty well.
Documentation build overview
Show files changed (6 files in total): 📝 6 modified | ➕ 0 added | ➖ 0 deleted
|
Documentation build overview
Show files changed (5 files in total): 📝 5 modified | ➕ 0 added | ➖ 0 deleted
|
|
|
||
| ```bash | ||
| # Popular Python projects | ||
| docs # Python official docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| docs # Python official docs | |
| docs # Read the Docs official docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be in AGENTS.md or .github/instructions/ (https://docs.github.com/en/copilot/tutorials/use-custom-instructions).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't for use with our docs necessarily, but something that we might publish for users in their own IDEs. I'm just putting it here for now.
You can pass this into an AI to get it smarter about searching our docs.
It works pretty well.
This is enabling a basic RAG approach with just a prompt.
Example: