Skip to content

Commit 99bf726

Browse files
authored
Update README.md
1 parent 11ccdbb commit 99bf726

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ from code_it.task_executor import TaskExecutionConfig
113113
llm = VicunaLLM()
114114
config = TaskExecutionConfig()
115115
print(config)
116-
config.install_dependencies = False
116+
config.install_dependencies = True
117117
config.execute_code = True
118118
code_editor = CodeItTool(build_llama_base_llm, config)
119119

@@ -127,17 +127,12 @@ agent = initialize_agent(
127127

128128
agent.run(
129129
"""
130-
131130
Remember to use the following format:
132131
Action: <>
133132
Action Input:
134133
<>
135134
136-
Question: The endpoint https://api.chucknorris.io/jokes/random returns a joke about Chuck Norries
137-
138-
1. Write a python Program that fetches a joke from this endpoint.
139-
2. Extract the joke from the response. Access the 'value' in the JSON to extract it.
140-
3. Prints the joke to the screen.
135+
Question: Extract a joke from https://api.chucknorris.io/jokes/random - access the key 'value' from the returned JSON.
141136
"""
142137
)
143138
```

0 commit comments

Comments
 (0)