Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d089886

Browse filesBrowse files
authored
examples(research_bot): Add space to INSTRUCTIONS (openai#439)
Thanks to awesome example `research_bot` Fix andproduce and goodgrammar (and so on) ```python >>> from examples.research_bot.agents import search_agent >>> print(search_agent.INSTRUCTIONS) You are a research assistant. Given a search term, you search the web for that term andproduce a concise summary of the results. The summary must 2-3 paragraphs and less than 300words. Capture the main points. Write succinctly, no need to have complete sentences or goodgrammar. This will be consumed by someone synthesizing a report, so its vital you capture theessence and ignore any fluff. Do not include any additional commentary other than the summaryitself. ```
1 parent ccff74d commit d089886
Copy full SHA for d089886

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎examples/research_bot/agents/search_agent.py

Copy file name to clipboardExpand all lines: examples/research_bot/agents/search_agent.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
from agents.model_settings import ModelSettings
33

44
INSTRUCTIONS = (
5-
"You are a research assistant. Given a search term, you search the web for that term and"
6-
"produce a concise summary of the results. The summary must 2-3 paragraphs and less than 300"
7-
"words. Capture the main points. Write succinctly, no need to have complete sentences or good"
8-
"grammar. This will be consumed by someone synthesizing a report, so its vital you capture the"
9-
"essence and ignore any fluff. Do not include any additional commentary other than the summary"
5+
"You are a research assistant. Given a search term, you search the web for that term and "
6+
"produce a concise summary of the results. The summary must 2-3 paragraphs and less than 300 "
7+
"words. Capture the main points. Write succinctly, no need to have complete sentences or good "
8+
"grammar. This will be consumed by someone synthesizing a report, so its vital you capture the "
9+
"essence and ignore any fluff. Do not include any additional commentary other than the summary "
1010
"itself."
1111
)
1212

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.