{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"}],"enrichment":{"capability":"Parses and renders templated text for Cohere language models, handling citations, vision generation markup, and prompt formatting across Python and Rust.","skillfed_tags":["cohere-integration","llm-tooling","rust-bindings"],"use_cases":["Extract and track citations from Cohere model outputs during streaming or batch inference.","Render multi-turn conversation histories into properly formatted prompts for Cohere Command models.","Parse vision model outputs to separate markdown text from embedded visual element metadata.","Build LLM applications that need structured prompt templating and citation attribution.","Integrate Cohere models into production systems requiring standardized output parsing."],"what_it_does":"Cohere Melody is a Rust library with Python bindings that parses and renders templates for Cohere language models. It handles two main tasks: parsing model outputs to extract citations and structured content (including vision generation markdown with embedded visual elements), and rendering conversation templates into formatted prompts. The library is designed to work with Cohere's Command and other models, supporting streaming text with incremental parsing and batch vision parsing. It has no runtime dependencies beyond the compiled Rust core.\n\nThe package is intended for developers integrating Cohere models into applications where citation tracking, prompt templating, and structured output parsing are required. It exposes a Python API built on PyO3 and also provides Go bindings, making it usable across multiple languages. Installation requires no external system dependencies beyond Python itself, though the wheels are pre-compiled for specific platforms.","worth_installing":"Yes, if you are building with Cohere models and need reliable citation parsing or prompt templating. The package is actively maintained, has no security vulnerabilities, carries a permissive MIT license, and offers pre-built wheels for common platforms. Install friction is moderate but acceptable for a compiled library. Not necessary if you are not using Cohere models or do not require structured parsing of their outputs."},"id":"cohere-melody","links":{"html":"https://skillfed.io/packages/cohere-melody","md":"https://skillfed.io/packages/cohere-melody.md","pypi":"https://pypi.org/project/cohere-melody/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"cohere-melody","python_support":"supports_current","summary":"Templating rendering and generation parsing for Cohere models"},"popularity":{"monthly_downloads":243717,"position":8780,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.13.3"}
