All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

AI Search - AI Search instances now include built-in storage and namespace Workers Bindings

2mo ago

Source

CloudflareAI Search - AI Search instances now include built-in storage and namespace Workers Bindingscloudflare.com
Snippet from the RSS feed
New AI Search instances created after today will work differently. New instances come with built-in storage and a vector index, so you can upload a file, have it indexed immediately, and search it right away. Additionally new Workers Bindings are now available to use with AI Search. The new namespace binding lets you create and manage instances at runtime, and cross-instance search API lets you query across multiple instances in one call. Built-in storage and vector index All new instances now comes with built-in storage which allows you to upload files directly to it using the Items API or the dashboard. No R2 buckets to set up, no external data sources to connect first. const instance = env . AI_SEARCH . get ( "my-instance" ) ; // upload and wait for indexing to complete const item = await instance . items . uploadAndPoll ( "faq.md" , content ) ; // search immediately after indexing const results = await instance . search ( { messages : [ { role : "user" , content : "onboarding guide" } ] , } ) ; Namespace binding The new ai_search_namespaces binding replaces the previous env.AI.autorag() API provided through the AI binding. It gives your Worker access to all instances within a namespace and lets you create, update, and delete instances at runtime without redeploying. // wrangler.jsonc { " ai_search_namespaces " : [ { " binding " : "AI_SEARCH" , " namespace " : "default" , }, ], } // create an instance at runtime const instance = await env . AI_SEARCH . create ( { id : "my-instance" , } ) ; For migration details, refer to Workers binding migration . For more on namespaces, refer to Namespaces . Cross-instance search Within the new AI Search binding, you now have access to a Search and Chat API on the namespace level. Pass an array of instance IDs and get one ranked list of results back. const results = await env . AI_SEARCH . search ( { messages : [ { role : "user" , content : "What is Cloudflare?" } ] , ai_search_options : { instance_ids : [ "product-docs" , "customer-abc123" ] , }, } ) ; Refer to Namespace-level search for details.

You might also wanna read

The Resurgence of Filesystems in AI Infrastructure: A Complementary Approach to Vector Databases

The article explores the resurgence of interest in filesystems within the AI ecosystem, arguing that while vector databases are purpose-buil

madalitso.me·3mo ago

AWS redesigns cloud infrastructure for AI agent traffic patterns

Amazon Web Services (AWS) is redesigning its cloud infrastructure to accommodate the unique traffic patterns of AI agents, which differ sign

techcrunch.com·1mo ago

AWS redesigns cloud infrastructure for AI agent traffic patterns

Amazon Web Services (AWS) is redesigning its cloud infrastructure to accommodate the unique traffic patterns of AI agents, which differ sign

techcrunch.com·1mo ago

AWS redesigns cloud infrastructure for AI agent traffic patterns

Amazon Web Services (AWS) is redesigning its cloud infrastructure to accommodate the unique traffic patterns of AI agents, which differ sign

techcrunch.com·1mo ago

Google launches dedicated Search Generative AI performance reports in Search Console for site owners

Google has launched dedicated Search Generative AI performance reports in Google Search Console, providing website owners with a standalone

ppc.land·1mo ago

VectorNest: A New Vector Database Optimized for AI Applications

VectorNest is a new vector database designed specifically for AI applications, offering high-performance vector search capabilities optimize

ekrsulov.github.io·4mo ago

Running a Lucene Search Engine in AWS Lambda: Technical Challenges and Performance Results

The article describes an experimental approach to running a real search engine in AWS Lambda functions, challenging the conventional wisdom

nixiesearch.substack.com·7mo ago

AWS rebuilds OpenSearch Serverless architecture to support AI agent workloads with zero-idle scaling

AWS has launched a near-total rebuild of Amazon OpenSearch Serverless, redesigning its architecture to better handle AI agent workloads. The

bit.ly·1mo ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.