Skip to content

Commit

Permalink
*edit* back / improving web search query generator agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ask0ldd committed Jan 18, 2025
1 parent c926208 commit e3992e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ front/src/components/deprecated
front/src/deprecated
front/tofix
front/coverage

trailer.mp4

back/images/*.*
!/back/images/.gitkeep
back/deprecated
back/images/generated/*.*
!/back/images/generated/.gitkeep
5 changes: 3 additions & 2 deletions Back/constants/agents.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ const searchQueryOptimizerPrompt =
- Output ***ONE SINGLE***, FULLY OPTIMIZED SEARCH QUERY without any additional text.
- Focus solely on query construction, avoiding direct answers or keyword lists.
- Prioritize query formulation that leverages current search engine algorithms and promotes diverse, relevant results.
- Don't concatenate multiple queries using any of the logicial operators like OR.
- DON'T INCLUDE ANY DATE or year to the search query unless it is part of the original user question.
- Don't concatenate multiple queries using any of the logical operators like OR.
- ***DON'T INCLUDE ANY DATE or year*** to the search query unless it is part of the original user question.
- EVERY PROPER NOUN within the user question should be preserved and added to the search query.
`

const scrapedDatasSummarizerPrompt =
Expand Down

0 comments on commit e3992e1

Please sign in to comment.