Create Tavily Search Feed
User Intent
Operation
Code Example (TypeScript)
import { Graphlit } from 'graphlit-client';
import { FeedTypes, SearchServiceTypes } from 'graphlit-client/dist/generated/graphql-types';
const graphlit = new Graphlit();
const feed = await graphlit.createFeed({
name: 'AI News Search',
type: FeedTypes.Search,
search: {
type: SearchServiceTypes.Tavily,
text: 'artificial intelligence news',
readLimit: 20,
},
// Optional: add workflow for content processing
// workflow: { id: workflow.createWorkflow.id }
});
console.log(`Created Tavily search feed: ${feed.createFeed.id}`);Configuration
What Gets Indexed
Use Cases
Search Service Alternatives
Related
Last updated