You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to improve the quality if tweet post, so make it aware of recent info, I wanted to integrate tavily in twitter post generation.
I imported web-search plugin and trying to access WebSearchService as mentioned here. in packages/client-twitter/src/post.ts
But it is not working. I have imported plugin at top
import { webSearchPlugin } from "../../plugin-web-search";
and below is the code I am trying to use.
for (const searchQuery of searchTermList) {
//code to do web search
const webSearchService = new WebSearchService();
await webSearchService.initialize(runtime);
const results = await webSearchService.search(
searchQuery
// searchOptions
);
}
I am getting error in importing only showing Cannot find name 'WebSearchService'. Did you mean 'webSearchService'?ts(2552)
Is there any different approach should I follow ?
The text was updated successfully, but these errors were encountered:
Hello @lokendrasurya! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
I am trying to improve the quality if tweet post, so make it aware of recent info, I wanted to integrate tavily in twitter post generation.
I imported web-search plugin and trying to access WebSearchService as mentioned here. in packages/client-twitter/src/post.ts
But it is not working. I have imported plugin at top
import { webSearchPlugin } from "../../plugin-web-search";
and below is the code I am trying to use.
I am getting error in importing only showing
Cannot find name 'WebSearchService'. Did you mean 'webSearchService'?ts(2552)
Is there any different approach should I follow ?
The text was updated successfully, but these errors were encountered: