Needle

Your knowledge base answers customer questions through semantic search

Needle turns your documents into a searchable knowledge layer. Your Tars AI agent performs semantic search across PDFs, docs, and files in real time, finding the exact answer buried in your data. Customers get precise, source-backed responses instead of generic replies.

Chosen by 800+ global brands across industries

RAG-powered knowledge retrieval in action

Your AI agent manages document collections and runs semantic search queries through Needle, delivering precise, source-referenced answers from your own knowledge base.

Needle

Use Cases

Knowledge search, reimagined through conversation

Watch how support teams, product organizations, and research departments use AI agents to unlock answers from their document repositories through natural dialogue.

Instant Answers from Technical Documentation

A developer asks your support chat how to configure webhook retries. Your AI Agent searches the Needle collection containing your API documentation, finds the relevant section with code examples, and presents the answer with a link to the source page. The developer gets their answer in seconds instead of searching through a 200-page doc site.

Policy Lookup for HR Inquiries

An employee asks about parental leave eligibility. Your AI Agent performs a semantic search across your HR policy collection in Needle, retrieves the specific policy section including eligibility criteria, duration, and application process, and presents it with the document reference. HR handles fewer repetitive questions.

Product Comparison from Spec Sheets

A prospect asks how your enterprise plan differs from the professional tier. Your AI Agent searches your pricing and feature documentation in Needle, extracts the relevant comparison points, and presents a clear feature-by-feature breakdown. The prospect gets a data-backed comparison during the sales conversation.

Try
Needle

Needle

FAQs

Frequently Asked Questions

What file types can Needle index for semantic search?

Needle indexes PDFs, DOCX, XLSX, plain text files, and more. When documents are uploaded to a collection, Needle automatically chunks, embeds, and indexes the content for semantic retrieval. The agent can search across all indexed file types in a single query.

How does semantic search differ from keyword search in Needle?

Keyword search matches exact terms. Needle's semantic search understands meaning, so a query about 'return policy' finds relevant content even if the document says 'refund guidelines' or 'product exchange process.' This means the agent finds answers that keyword search would miss.

Can the agent cite which document an answer came from?

Yes. Needle returns source references with every search result, including the file name and the specific passage that matched. The agent presents these citations in its response, and can generate a download link for the original document.

Does Tars store copies of my Needle documents?

No. Documents live in your Needle account. Tars queries Needle's search API in real time and receives text passages and metadata. The original files are never copied to or stored by Tars. You maintain full control over your document repository.

How quickly are new documents searchable after upload?

Needle automatically processes and indexes documents after upload. For most file types, content becomes searchable within minutes. Large documents or bulk uploads may take slightly longer. The agent can check collection stats to confirm indexing is complete.

Can I control which collections the agent searches?

Yes. When configuring the agent in Tars, you specify which Needle collection IDs the agent can query. You can restrict customer-facing agents to public documentation while internal agents search HR policies or engineering docs.

What is the max_distance parameter in search results?

The max_distance parameter controls how strict the relevance threshold is, on a scale from 0 to 1. Lower values return only highly relevant results. Higher values cast a wider net. The agent uses this to balance precision and recall based on the query context.

How is this different from a traditional FAQ page or knowledge base?

FAQ pages require users to browse and find the right article. With Needle and Tars, customers ask questions in their own words and get precise answers extracted from your full document library. It handles questions that were never anticipated in a pre-written FAQ.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo