RAG Pipeline
Pricing
from $5.00 / 1,000 results
RAG Pipeline
One-click RAG pipeline: chunks text, generates embeddings, and stores vectors in Pinecone or Qdrant. Provide your content and API keys -- the orchestrator handles the rest.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer
mick_
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
Unified RAG Pipeline
One-click RAG pipeline: chunk text, generate embeddings, and store vectors — all in a single actor.
Merges 4 separate actors (rag-content-chunker, rag-embedding-generator, rag-vector-store-writer, rag-pipeline) into one unified pipeline. No sub-actor calls — everything runs in-process for maximum reliability and simplicity.
Features
- 3 chunking strategies: recursive (paragraph→sentence→word), markdown (header-aware), sentence (boundary-only)
- Token-aware splitting: Uses
tiktokenwithcl100k_baseencoding (same as text-embedding-3-small/large) - 2 embedding providers: OpenAI (text-embedding-3-small, text-embedding-3-large, ada-002) and Cohere (v3 models)
- 2 vector DB providers: Pinecone and Qdrant Cloud (auto-creates collections)
- Exponential backoff retry: All API calls retry on rate limits and server errors
- SSRF protection: Hardcoded API endpoints, validated Qdrant URLs, blocked private IPs
- File URL support: Fetch .txt, .md, .html, and .pdf files over HTTPS
- Dataset chaining: Read from any Apify crawler/crawler dataset
- Pay-per-event pricing: $5.00 per 1,000 chunks processed end-to-end
Input
| Field | Type | Default | Required |
|---|---|---|---|
text | string | — | No* |
source_dataset_id | string | — | No* |
file_url | string | — | No* |
file_urls | string[] | — | No* |
chunking_strategy | enum | recursive | No |
chunk_size | int | 512 | No |
chunk_overlap | int | 64 | No |
embedding_api_key | string | — | Yes |
embedding_provider | enum | openai | No |
embedding_model | string | text-embedding-3-small | No |
embedding_batch_size | int | 128 | No |
vector_db_api_key | string | — | Yes |
vector_db_provider | enum | pinecone | No |
index_name | string | — | Yes |
qdrant_url | string | — | If Qdrant |
pinecone_namespace | string | "" | No |
qdrant_distance_metric | enum | Cosine | No |
*One content source required: text, file_url, file_urls, or source_dataset_id.
Pricing
This actor uses pay-per-event (PPE) pricing.
$5.00 per 1,000 chunks processed end-to-end. This single fee replaces the previous 3 separate charges (chunker + embedder + writer) and the orchestrator fee. You only pay for chunks actually produced.
- Actor Start: $0.00005 per run (charged once per run)
- Platform usage (proxy/compute): billed to your account
How It Works
Input text → [Chunker] → chunks → [Embedder] → vectors → [Vector DB Writer] → Pinecone/QdrantAll in-process, single actor run