- https://github.com/joaopalmeiro/template-python-uv-script
- pgvector:
- https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1: "(...) maps sentences & paragraphs to a 384 dimensional dense vector space (...)"
- https://huggingface.co/jinaai/jina-embeddings-v2-base-code
- https://stackoverflow.com/questions/70620960/how-to-create-a-database-using-psycopg3
- https://neon.com/postgresql/postgresql-administration/postgresql-show-databases
- https://www.postgresql.org/docs/current/sql-dropdatabase.html
- https://modal.com/blog/6-best-code-embedding-models-compared
- https://huggingface.co/spaces/mteb/leaderboard
- https://docs.mistral.ai/capabilities/embeddings/code_embeddings
- https://www.qodo.ai/products/code-embedding/
- https://www.bentoml.com/blog/a-guide-to-open-source-embedding-models
- https://huggingface.co/jinaai/jina-embeddings-v4
- https://docs.vllm.ai/en/stable/models/supported_models/#embedding
- https://blog.voyageai.com/2026/01/15/voyage-4/
- https://huggingface.co/voyageai/voyage-4-nano:
- "The
encode_queryandencode_documentmethods automatically prepend the"Represent the query for retrieving supporting documents: "and"Represent the document for retrieval: "prompts as defined inconfig_sentence_transformers.json, respectively." - "The default embedding dimension is 2048. To obtain lower-dimensional embeddings, you can use the
truncate_dimargument in theencode_queryandencode_documentmethods, or when initializing the model via thetruncate_dimparameter. (...) The model supports 2048, 1024, 512, and 256-dimensional embeddings."
- "The
- https://huggingface.co/models?library=sentence-transformers&sort=trending
- https://huggingface.co/perplexity-ai/pplx-embed-v1-0.6b
- https://huggingface.co/perplexity-ai/pplx-embed-v1-4b
- https://arxiv.org/abs/2602.11151
- "pplx-embed-v1 achieves competitive performance on the MTEB(Multilingual, v2), MTEB(Code), MIRACL, BERGEN, and ToolRet retrieval benchmarks (...)"
- https://huggingface.co/google/embeddinggemma-300m
- https://huggingface.co/models?library=sentence-transformers&sort=trending&search=code
- https://huggingface.co/models?library=sentence-transformers&sort=created&search=code
- https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-NOT-NULL
deactivate && uv venv && source .venv/bin/activate && uv pip install -r requirements.txtuv venv && source .venv/bin/activate && uv pip install -r requirements.txtrm -rf .mypy_cache/ .ruff_cache/ .venv//opt/homebrew/opt/postgresql@18/bin/psql -d postgres\l+\q