> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# PrivateGPT और Qdrant RAG के साथ PDFs को query करना

> PDFs को एक लोकल vector store में ingest करें और Arka के PrivateGPT तथा Qdrant-powered retrieval-augmented generation pipeline का उपयोग करके natural-language प्रश्न पूछें।

PrivateGPT + Qdrant vector search का उपयोग करके अपनी PDFs के बारे में प्रश्न पूछें।

## Commands

| Command           | उदाहरण                                        |
| ----------------- | --------------------------------------------- |
| `arka pdf_ingest` | `pdf_ingest ~/Documents/resume.pdf`           |
| `pdf_list`        | Ingest किए गए documents की सूची               |
| `arka pdf_ask`    | `pdf_ask --doc resume.pdf "summarize skills"` |

## प्राकृतिक भाषा

```bash theme={null}
arka "ask Profile.pdf about main skills"
arka "summarize ENGLSH-2 weeks 1 to 3"
```

## सेटअप

Qdrant के लिए [PrivateGPT](https://github.com/zylon-ai/private-gpt) और Docker
आवश्यक है। जब `PDF_RAG_AUTO_START=1` हो तो Arka services को स्वतः शुरू करता है।

```env theme={null}
PDF_RAG_URL=http://127.0.0.1:8080
PRIVATEGPT_HOME=~/Projects/private-gpt
PDF_RAG_AUTO_START=1
```

```bash theme={null}
pip install "arka-agent[pdf]"
arka pdf status    # PrivateGPT + Qdrant जाँचें
```


## Related topics

- [AI agent guide — MCP पर Arka उपयोग करें](/hi/guides/ai-agents.md)
- [Quickstart: Arka इंस्टॉल करें और अपना पहला कमांड चलाएँ](/hi/quickstart.md)
- [Skills catalog: 70+ built-in Arka commands](/hi/guides/skills.md)
- [MCP के ज़रिए हर Arka स्किल इस्तेमाल करें](/hi/guides/mcp-all-skills.md)
- [Security model और prompt-injection रक्षा](/hi/concepts/security.md)
