Scope decision: file search / provider-hosted RAG as a built-in tool?

Open
#366 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
ai, api

Research direction

Read the scope discussion in #360 and the provider Files API work in #334, then inspect the existing ToolBuiltIn escape hatch. Compare the linked OpenAI and Google file-search specifications, including the Vertex AI limitation. Done means the project has a recorded scope decision and, if applicable, a documentation recipe or defined built-in-tool requirements.

Written by the indexing model from the issue text.

Description

ai-triage:needs-review

OpenAI and Google both ship a GA, fully provider-hosted RAG tool. Should chatlas expose it as a first-class built-in (tool_file_search()), or is it out of scope?

Provider Tool spec Notes
OpenAI (Responses) {"type": "file_search", "vector_store_ids": [...]} $2.50/1k calls + $0.10/GB/day storage (first GB free). Docs
Google types.Tool(file_search=types.FileSearch(file_search_store_names=[...])) Gemini API only — not supported on Vertex AI. Embeddings billed at indexing; storage free. Docs
Anthropic — No equivalent (closest is the Files API + code execution).

The case for

  • Pairs naturally with the provider Files API work (#334) — "upload docs, then let the model search them" is a very common ask.
  • Entirely provider-hosted: chatlas would only pass store IDs, not implement retrieval.

The case against

  • #360 explicitly lists "no RAG primitives, vector stores, or document loaders" as a non-goal. Even if chatlas only passes IDs, this feature creates gravitational pull toward vector-store lifecycle helpers (create store, upload, poll indexing status, metadata filters) — that's where the real UX friction lives, and it's exactly the surface #360 declines.
  • Only two of three first-class providers, and the Google variant doesn't work on Vertex.
  • The ToolBuiltIn escape hatch already works today for users who manage their own vector stores.

Like the other (decision) issues from #360, closing this as "no, use ToolBuiltIn + a docs recipe" is a legitimate resolution.

Dominant language
Python
Stars
179
Forks
32
Avg merge
1d 3h
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/chatlas

All issues in posit-dev/chatlas

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.