Try Pro free

Latent Space · 4 min · Mar 11, 2025

Managed file search trades retrieval control for convenience

A vector store can hold user preferences that guide live web searches, while metadata filters help as stores grow.

In this episode

Full analysis
  1. 2:18Responses API unifies agent workflows without replacing Chat Completions5 min
  2. 8:17Web search combines retrieval with factual answers and citationsPro pick 6 min
  3. 21:19The Agents SDK adds guardrails, tracing, and provider flexibility4 min
  4. 14:06Managed file search trades retrieval control for convenience4 min
  5. 18:03Computer-use models map screenshots to interface actions4 min
“my recommendation would be like, start with the OpenAI thing, see if it meets your needs.”
Nikunj Handaat 17:40 · Latent Space
17:40

Takeaways

  1. Use stored preferences to personalize live web results.
  2. Metadata filters become important beyond 5,000–10,000 records.
  3. Start managed; build custom retrieval when you need more control.

About this segment

A vector store can hold user preferences that guide live web searches, while metadata filters help as stores grow. Nikunj Handa recommends managed retrieval first, with DIY for teams needing full control.

Nikunj Handa

Head of Product, API, OpenAI

Leads product for OpenAI's API, including the Decisions API that cut response times to 100–180 milliseconds.

  • Shawn Wang (swyx), Host · Co-founder, AI Engineer

    Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.

  • Alessio Fanelli, Host · Founder, Kernel Labs

    Partner at Decibel, backing technical founders who build developer tools.

From “The new OpenAI Agents Platform: CUA, Web Search, Responses API, Agents SDK!!”, Mar 11, 2025. Watch the full episode

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 14:18

    And let me first tell you about how I've seen a really cool way I've seen people use files in search together is they put their user preferences or memories in the vector store. And so a query comes in, you use the file search tool to get someone's reading preferences or fashion preferences and stuff like that. And then you search the web for information or products that they can buy related to those preferences.

  2. 14:42

    And you then render something beautiful to show them like, here are five things that you might be interested in. So that's how I've seen file search, web search work together. And by the way, that's a single response to the API call, which is really cool. So you just configure these things, go boom, and everything just happens. But yeah, that's how I've seen files and web work together. But I think that what you're pointing out is interesting, and I'm sure developers will surprise us, as they always do, in terms of how they combine these tools and how they might use file search as a way to have memory and preferences, like Nikum says.

  3. 15:13

    But I think zooming out, what I find very compelling and powerful here is when you have these neural nets that have all of the knowledge that they have today, plus real-time access to the internet for any kind of real-time information that you might need for your app, and file search where you can have a lot of company private documents, private details. You combine those three and you have very, very compelling and precise answers for any kind of use case that your company or your product might want to enable. It's a difference between internal documents versus the open web, right?

  4. 15:46

    Like you're going to need both. Exactly, exactly. I never thought about it doing memory as well. I guess, again, you know, anything that's a database, you can store it and you will use it as a database. That sounds awesome. But I think also you've been, you know, expanding the file search. You have more file types. You have query optimization, custom re-ranking. So it really seems like, you know, it's been fleshed out.

  5. 16:07

    Obviously, I haven't been paying a ton of attention to the file search capability, but it sounds like your team has added a lot of features. Yeah, metadata filtering was the main thing people were asking us for for a while, and that's the one I'm super excited about. I mean, it's just so critical. Once your vector store size goes over more than 5,000, 10,000 records, you kind of need that. So yeah, metadata filtering is coming too.

  6. 16:31

    And for most companies, it's also not a competency that you want to rebuild in-house necessarily. Thinking about embeddings and chunking and how of that, It sounds very complex or something very obvious to ship for your users. Companies like Navan, for instance, they were able to build with the file search, take all of the FAQ and travel policies, for instance, that you have, you put that in file search tool and then you don't have to think about anything.

  7. 16:57

    Now your assistant becomes naturally much more aware of all of these policies from the files. The question is, there's a very, very vibrant RAG industry already, as you well know. So there's many other vector databases, many other frameworks. Probably if it's an open source stack, I'll say a lot of the AI engineers that I talk to want to own this part of the stack. And it feels like, you know, when should we DIY and when should we just use whatever OpenAI offers?

  8. 17:25

    Yeah, I mean, if you're doing something completely from scratch, you're going to have more control, right? Like, so super supportive of, you know, people trying to like roll up their sleeves, build their like super custom chunking strategy and super custom retrieval strategy and all of that. And those are things that will be harder to do with OpenAI's tools. OpenAI's tool has like, we have an out-of-the-box solution.

  9. 17:47

    We give you some knobs to customize things, but it's more of like a managed rack service. So my recommendation would be like, start with the OpenAI thing, see if it meets your needs. And over time, we're going to be adding more and more knobs to make it even more customizable. But if you want the completely custom thing, you want control over every single thing, then you'd probably want to go and hand roll it using other solutions.

  10. 18:12

    So we're supportive of both. Engineers should pick.