Spaces:
Sleeping
Sleeping
Update blog_content_generator.py
Browse files
blog_content_generator.py
CHANGED
|
@@ -20,6 +20,7 @@ def blog_content_agent(llm, state):
|
|
| 20 |
search = DuckDuckGoSearchRun()
|
| 21 |
result = search.invoke(f"Search this in UK: {query} after:{current_year}")
|
| 22 |
print("Tool Call")
|
|
|
|
| 23 |
return result
|
| 24 |
|
| 25 |
tool = [duckduckgo_search]
|
|
@@ -125,6 +126,7 @@ Replacing your boiler is a big investment, but it’s one that can bring signifi
|
|
| 125 |
|
| 126 |
Context:
|
| 127 |
- The blog post should be informative and engaging.
|
|
|
|
| 128 |
- Always Use the attached tool duckduckgo_search to get the latest information about the topic.
|
| 129 |
- Always use the Tool Message in writing the Blog content.
|
| 130 |
|
|
|
|
| 20 |
search = DuckDuckGoSearchRun()
|
| 21 |
result = search.invoke(f"Search this in UK: {query} after:{current_year}")
|
| 22 |
print("Tool Call")
|
| 23 |
+
print(result)
|
| 24 |
return result
|
| 25 |
|
| 26 |
tool = [duckduckgo_search]
|
|
|
|
| 126 |
|
| 127 |
Context:
|
| 128 |
- The blog post should be informative and engaging.
|
| 129 |
+
- The Blog post is for the UK audience.
|
| 130 |
- Always Use the attached tool duckduckgo_search to get the latest information about the topic.
|
| 131 |
- Always use the Tool Message in writing the Blog content.
|
| 132 |
|