Skip to content
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

Move prompts #1404

Merged
merged 8 commits into from
Nov 14, 2024
Merged

Move prompts #1404

merged 8 commits into from
Nov 14, 2024

Conversation

natoverse
Copy link
Collaborator

Moves the query and indexing prompts into a central location at root so they're easier to find. This also exports query prompts during graphrag init and loads them up from disk just like the indexing prompts, so end users can tune their queries easier.

A secondary add on this is putting DRIFT search config into the official config system, since it was not there but was necessary to configure the prompt on disk.

This PR does not move or export the prompts for prompt_tune. That's a fair bit more work and much less likely to need user adjusting (the point is that it is auto...), so we'll consider that at a later time.

@natoverse natoverse requested review from a team as code owners November 14, 2024 01:33
@natoverse natoverse merged commit 51912b2 into main Nov 14, 2024
15 checks passed
@natoverse natoverse deleted the move-prompts branch November 14, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants