Skip to main content
Glama

ask_rag_filtered

Query the RAG knowledge base using filters to find specific document types, content structures, or

Instructions

向 RAG 知识库提问,并使用特定过滤器聚焦搜索。 使用场景:

  • 仅搜索 PDF 文档:file_type=".pdf"

  • 查找包含表格的文档:min_tables=1

  • 查找结构良好的文档:min_titles=5

  • 搜索增强处理的文档:processing_method="unstructured_enhanced"

参数: query: 要向知识库提出的问题或查询。 file_type: 按文件类型过滤(例如 ".pdf", ".docx", ".txt")。 min_tables: 文档必须包含的最小表格数量。 min_titles: 文档必须包含的最小标题数量。 processing_method: 按处理方法过滤(例如 "unstructured_enhanced", "markitdown")。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
file_typeNo
min_tablesNo
min_titlesNo
processing_methodNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kalicyh/mcp-rag'

If you have feedback or need assistance with the MCP directory API, please join our Discord server