This project utilizes the Eliza framework along with the Eliza web search plugin to develop a bot capable of searching the internet for a wide range of information, including the latest news updates.
characters/searchbot.character.json.{
"name": "searchbot",
"clients": [],
"modelProvider": "openrouter",
"settings": {
"secrets": {},
"voice": {
"model": "en_US-female-medium"
}
}
}
pnpm install @elizaos/plugin-web-search
TAVILY_API_KEY=your_api_key # Required: API key for search service
{
"name": "searchbot",
"clients": [],
"modelProvider": "openrouter",
"settings": {
"secrets": {},
"voice": {
"model": "en_US-female-medium"
}
},
"plugins": ["@elizaos/plugin-web-search"]
}
agent/src/index.ts file to enable the search bot to use the web search plugin in actions:
actions: [
character.name === "searchbot" ? webSearchPlugin.actions.find(action => action.name === "WEB_SEARCH") : null,
],
services: [],
managers: [],
With the setup complete, your Eliza search bot is now ready to perform web searches and provide the latest news updates. For further customization and enhancements, refer to the Eliza framework documentation.
This project is licensed under the MIT License. See the LICENSE file for details.
Thanks to the Eliza framework and the contributors of the web search plugin for making this project possible.
6 commits
TypeScript
94.5%
JavaScript
2.6%
PLpgSQL
1.4%
This project utilizes the Eliza framework along with the Eliza web search plugin to develop a bot capable of searching the internet for a wide range of information, including the latest news updates.
characters/searchbot.character.json.{
"name": "searchbot",
"clients": [],
"modelProvider": "openrouter",
"settings": {
"secrets": {},
"voice": {
"model": "en_US-female-medium"
}
}
}
pnpm install @elizaos/plugin-web-search
TAVILY_API_KEY=your_api_key # Required: API key for search service
{
"name": "searchbot",
"clients": [],
"modelProvider": "openrouter",
"settings": {
"secrets": {},
"voice": {
"model": "en_US-female-medium"
}
},
"plugins": ["@elizaos/plugin-web-search"]
}
agent/src/index.ts file to enable the search bot to use the web search plugin in actions:
actions: [
character.name === "searchbot" ? webSearchPlugin.actions.find(action => action.name === "WEB_SEARCH") : null,
],
services: [],
managers: [],
With the setup complete, your Eliza search bot is now ready to perform web searches and provide the latest news updates. For further customization and enhancements, refer to the Eliza framework documentation.
This project is licensed under the MIT License. See the LICENSE file for details.
Thanks to the Eliza framework and the contributors of the web search plugin for making this project possible.
6 commits
TypeScript
94.5%
JavaScript
2.6%
PLpgSQL
1.4%