Skip to content

Commit

Permalink
✨ Update wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed May 15, 2023
1 parent 95452d8 commit 406424a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions platform/reworkd_platform/web/api/agent/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@

summarize_prompt = PromptTemplate(
template="""Summarize the following text "{snippets}" Write in a style expected
of the goal "{goal}", be concise if necessary and attempt to answer the query:
"{query}" as best as possible.""",
of the goal "{goal}", be as concise or as descriptive as necessary and attempt to
answer the query: "{query}" as best as possible. Use markdown formatting for
longer responses.""",
input_variables=["goal", "query", "snippets"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

class Wikipedia(Tool):
description = (
"Search Wikipedia for information about historical people, events, places or "
"research. \n"
"The argument should be a simple query."
"Search Wikipedia for information about historical people, companies, events, "
"places or research. This should be used over search for broad overviews of "
"specific nouns.\n The argument should be a simple query of just the noun."
)

def __init__(self, model_settings: ModelSettings):
Expand Down

1 comment on commit 406424a

@vercel
Copy link

@vercel vercel bot commented on 406424a May 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-reworkd.vercel.app
docs.reworkd.ai
docs-reworkd.vercel.app

Please sign in to comment.