You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
dependabot/pip/ruff-gte-0.5.1-and-lt-0.11.8
dependabot/pip/pydantic-2.11.3
dependabot/pip/transformers-gte-4.39.0-and-lt-4.52.0
dependabot/pip/pypdf-5.4.0
6.9.0
668
backup-branch
Pydantic-validation-2
structured_output
revert-563-dependabot/pip/pymdown-extensions-approx-eq-10.9
agentops
pydantic_validation
colored-output
swarm_ubiiuassef_gmail_com_qwqew_cy4HA
swarm_efmphone_gmail_com_testing_gkSGU
swarm_ekleven_vangelis_tech_3_perspectives_BMX8T
swarm_yun275402_gmail_com_sfasdfasdfsadf_DbX9Y
swarm_amirrezasalimi0_gmail_com_google_search_mlxuW
faster-install
new-pydantic
revert-388-fix-ci-2
memory
revert-250-master
flowtoagent
fix-openai
clean-history
grit/923f7c6f-0958-480b-8748-ea6bbf1c2084
dockerize
jojo-group-chat
vllm
MythGen
blog-agent
bing-chat
discord-bot-framework
discord-bots
main
discord-bot
group-chat
huggingface
kyegomez-patch-1
NewTools
WorkerULTRANODE
workerULTRANODE
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
0.1.0
0.1.1
0.1.3
0.1.3.0
0.1.4
0.1.5
0.1.6
0.1.7
0.1.9
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.7.1
0.2.8
0.2.8.1
0.2.9
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.5.9
0.6.0
0.6.4
0.6.5
0.6.6
0.7.0
0.7.01
0.7.1
0.7.2
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.8.8
0.8.9
0.9.0
0.9.00
0.9.1
0.9.2
0.9.3
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9
1.0.0
1.0.00
1.0.1
1.0.2
1.0.20
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.41
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.9
1.3.0
1.3.1
1.3.2
2.0.2
2.0.5
2.1.7
2.1.9
2.2.1
2.2.2
2.3.1
2.4.2
2.5.0
5.3.7
6.8.1
${ noResults }
# Aider chat conversation: USER: let's refactor `apps/discordwithweb.py` to use the webpageqatool from `swarms/tools/autogpt.py` in order to perform a web search. ASSISTANT: To refactor `apps/discordwithweb.py` to use the `WebpageQATool` from `swarms/tools/autogpt.py`, we need to import `WebpageQATool` and replace the usage of `WebSearchTool` with `WebpageQATool`. Here are the steps: 1. Import `WebpageQATool` from `swarms/tools/autogpt.py`. 2. Replace the instantiation of `WebSearchTool` with `WebpageQATool`. 3. Update the `query` command to use `WebpageQATool` instead of `WebSearchTool`. Here are the changes: <source>python apps/discordwithweb.py <<<<<<< HEAD import discord from discord.ext import commands import os import requests from swarms.agents import Worker from swarms.agents.memory import VectorStoreRetriever from swarms.tools.autogpt import WebSearchTool ======= import discord from discord.ext import commands import os from swarms.agents import Worker from swarms.agents.memory import VectorStoreRetriever from swarms.tools.autogpt import WebpageQATool >>>>>>> updated </source> <source>python apps/discordwithweb.py <<<<<<< HEAD # Tools setup web_search = WebSearchTool() ======= # Tools setup web_search = WebpageQATool() >>>>>>> updated </source> <source>python apps/discordwithweb.py <<<<<<< HEAD @bot.command() async def query(ctx, *, input): response = agent.run(input) await ctx.send(response) ======= @bot.command() async def query(ctx, *, input): response = web_search.run(input) await ctx.send(response) >>>>>>> updated </source> |
2 years ago | |
---|---|---|
.. | ||
discord.py | code quality | 2 years ago |
discordwithweb.py | aider: Refactored `apps/discordwithweb.py` to use the `WebpageQATool` from `swarms/tools/autogpt.py` for web search. | 2 years ago |
omni_ui.py | clean up | 2 years ago |