Prompt
What should I use for semantic search over internal knowledge?
Latest observation
Oct 13, 2026
OpenAI APIWeb search: off
For semantic search over internal knowledge, the best choice depends on your scale, freshness needs, and how much retrieval quality matters vs. simplicity.
Good default
Use a vector database + embeddings + hybrid keyword search.
This is usually the best practical setup for internal docs because:
- semantic search catches meaning, not just exact words
- keyword search still helps with names, IDs, acronyms, and rare terms
- hybrid retrieval is usually better than either alone
Common stack options
If you want something simple to start
- Postgres + pgvector
- Great if your dataset is modest and you already use Postgres
- Easy to operate
- Good for prototypes and many production cases
If you want dedicated search infrastructure
- Pinecone
- Weaviate
- Qdrant
- Milvus
These are better if you need:
- large-scale vector search
- filtering by metadata
- performance tuning
- production search workloads
If you already have enterprise search
- Elasticsearch / OpenSearch
- Use hybrid search with BM25 + vectors
- Strong if you already run this stack
- Good for text-heavy internal search
Embeddings
Use a strong embedding model suited for retrieval, for example:
- OpenAI embeddings
- bge models
- e5 models
The embedding model often matters more than the vector store.
What matters most in practice
- Chunking
- split documents into semantically meaningful chunks
- Metadata
- source, team, date, doc type, permissions
- Hybrid retrieval
- vectors + keyword
- Re-ranking
- use a cross-encoder or reranker to improve top results
- Access control
- enforce document-level permissions at retrieval time
My recommendation
- Small to medium internal knowledge base:
Postgres + pgvector + hybrid keyword search - Larger or search-critical system:
OpenSearch/ElasticsearchorQdrant/Pineconewith reranking - If you want fastest path to production: start with
pgvector, then move if needed
If you want the highest quality
Use:
- hybrid search
- reranker
- good chunking
- permission filtering
- evaluation with real internal queries
If you tell me:
- how many documents you have
- what file types
- whether you need ACLs
- and your current stack
I can recommend a specific architecture.