发布

  • embeddings: added embedding command for cl (#12795)

    frostbyte_neo 发布于 2025-11-05 19:58:03 +00:00

    Co-authored-by: A-Akhil akhilrahul70@gmail.com

    This PR introduces a new ollama embed command that allows users to generate embeddings directly from the command line.

    Added ollama embed MODEL [TEXT...] command for generating text embeddings
    Supports both direct text arguments and stdin piping for scripted workflows

    Outputs embeddings as JSON arrays (one per line)

    下载附件