{"ref":"artifact:cap-llm-plugin","page":"/artifacts/cap-llm-plugin","json":"/artifacts/cap-llm-plugin.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-llm-plugin","name":"cap-llm-plugin","artifact_type":"cds-plugin","ecosystem":"cap","domain":"ai-and-agents","origin_ring":"independent","description":{"one_line":"Generative AI in a CAP application with the sensitive fields anonymised through SAP HANA before the prompt leaves, so the model never sees the confidential half.","short":"Generative AI in CAP with fields anonymised through SAP HANA","when_not_to_use":"Not where the records sit anywhere but [SAP HANA Cloud](artifact:btp-hana-cloud): the similarity search and the single retrieval method are both written against its vector engine, and the embeddings and the chat call go through [SAP AI Core](artifact:btp-ai-core), so a project without both has nothing here to call. Not where the dependency has to be an SAP-supported one either: the README states that the plugin is not an official SAP product and is published as a community contribution."},"links":{"npm":"https://www.npmjs.com/package/cap-llm-plugin"},"provides":[{"capability":"capability:llm-integration","what_it_does":"Puts the chat call behind one method on a CAP service: the README's feature list names simple access to models through [SAP AI Core](artifact:btp-ai-core) with a simplified chat-completion method, and support for the orchestration service's harmonised chat-completion APIs beside it. Which model answers is configured in AI Core rather than chosen here.","facets":[{"key":"model_access","value":"SAP AI Core","source":{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-10-15","quote":"Simple access to LLM models via SAP AI Core with simplified method for chat completion"},"sources":[{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg, orchestration","checked":"2026-10-15","quote":"Support for SAP AI Core orchestration service's harmonized chat completion APIs"}],"applies_to":{"ecosystems":["cap"]}}],"sources":[{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-10-15","quote":"Simple access to LLM models via SAP AI Core with simplified method for chat completion"},{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg, orchestration","checked":"2026-10-15","quote":"Support for SAP AI Core orchestration service's harmonized chat completion APIs"},{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg, not an SAP product","checked":"2026-10-15","quote":"The plugin is not an official SAP product. It is released under the Apache 2.0 license and is published as a community contribution."}]},{"capability":"capability:data-masking","what_it_does":"Anonymises the sensitive fields in SAP HANA Cloud before the prompt leaves for the model, and puts the genuine values back into the response, so the masking happens in the database rather than in the orchestration call.","sources":[{"url":"https://www.npmjs.com/package/cap-llm-plugin","title":"cap-llm-plugin — npm, README","checked":"2026-09-14","quote":"Without exposing confidential data to LLM by anonymizing sensitive data leveraging SAP HANA Cloud Data Anonymization."},{"url":"https://www.npmjs.com/package/cap-llm-plugin","title":"cap-llm-plugin — npm, README","checked":"2026-09-14","quote":"Given that the data provided to the LLM consists of anonymized information, the CAP LLM plugin ensures a seamless replacement of anonymized content within the LLM response with the corresponding authentic data."}]},{"capability":"capability:retrieval-augmented-generation","what_it_does":"Puts the retrieval into one call: a single method that embeds the question through [SAP AI Core](artifact:btp-ai-core), searches [SAP HANA Cloud](artifact:btp-hana-cloud)'s vector engine for the nearest rows and sends them on to the model. The embedding and the similarity search are also exposed on their own, for a handler that wants to keep the steps apart. What gets embedded, and when, is the application's: the README describes no chunking and no embed-on-write.","sources":[{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Simplified single RAG (retrieval-augmented generation) retrieval method powered by SAP AI Core and SAP HANA Cloud Vector Engine."},{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Effortlessly perform similarity search via SAP HANA Cloud Vector engine."},{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Seamlessly generate vector embeddings via SAP AI Core."}]}],"requires":[{"ref":"artifact:btp-hana-cloud","requirement":"conditional","role":"vector-store","condition":"The similarity search, the single retrieval method or the anonymisation are used; all three are written against SAP HANA Cloud.","for":"The vector engine the similarity search runs in, and the database the anonymisation happens in before a prompt leaves.","sources":[{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Effortlessly perform similarity search via SAP HANA Cloud Vector engine."}]},{"ref":"artifact:btp-ai-core","requirement":"conditional","role":"model-provider","condition":"An embedding, a chat completion or the single retrieval method is called; each of them goes through SAP AI Core.","for":"The embedding and chat models the plugin calls, and the service the retrieval method reaches them through.","sources":[{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Seamlessly generate vector embeddings via SAP AI Core."},{"url":"https://unpkg.com/cap-llm-plugin@1.5.1/README.md","title":"cap-llm-plugin 1.5.1 — README on unpkg","checked":"2026-09-21","quote":"Simplified single RAG (retrieval-augmented generation) retrieval method powered by SAP AI Core and SAP HANA Cloud Vector Engine."}]}],"provenance":{"discovered_via":[{"source":"source:npm"},{"source":"source:discover"}],"first_seen":"2026-09-02"},"source_available":false,"history":[{"date":"2026-09-08","field":"links.repo","from":"https://github.com/TODO/cap-llm-plugin","to":"npm: https://www.npmjs.com/package/cap-llm-plugin","reason":"The repository was a placeholder that never resolved — github.com/TODO/… . There is no public repository for this package, so npm is its address and source_available says why."},{"date":"2026-09-08","field":"description.one_line","from":"CAP LLM Plugin helps developers create tailored Generative AI based CAP applications","to":"Generative AI in a CAP application with the sensitive fields anonymised through SAP HANA before the prompt leaves, so the model never sees the confidential half.","reason":"Placement copied the package's own npm description. Replaced with a line written for this graph — what it does and where it sits — because an unattributed sentence is an unattributed claim."},{"date":"2026-09-14","field":"provides","from":"capability:llm-integration","to":"capability:llm-integration, capability:data-masking","reason":"Data masking entered as a capability on 2026-09-14; the plugin's anonymisation in SAP HANA Cloud is a second answer to it beside SAP AI Core's orchestration module, and it carried only the LLM integration edge."},{"date":"2026-09-21","field":"provides","from":"capability:llm-integration, capability:data-masking","to":"capability:llm-integration, capability:data-masking, capability:retrieval-augmented-generation","reason":"The re-assessment of RAG on CDS found this the largest miss behind the CAP door: the README's own feature list leads with a single retrieval method over SAP HANA Cloud's vector engine, and the entry carried no edge to the capability. Read at version 1.5.1, the version npm serves as latest."},{"date":"2026-09-21","field":"description.when_not_to_use","from":null,"to":"Not where the records sit anywhere but SAP HANA Cloud, and not where the dependency has to be an SAP-supported one.","reason":"Two facts from the README that a reader choosing between the options on this capability needs before the rest of the page: every retrieval feature is written against one database and one model service, and the README itself states that the plugin is not an official SAP product."},{"date":"2026-09-21","field":"requires","from":null,"to":"artifact:btp-hana-cloud, artifact:btp-ai-core","reason":"Both were named in the prose and in no edge. Conditional rather than unconditional, because the README ties each feature to a named service and the package itself is installable without either."},{"date":"2026-10-15","field":"provides[llm-integration]","from":"capability:llm-integration, as a bare reference","to":"an edge with what_it_does, three sources and the model_access property","reason":"The edge that names this entry's own home capability carried nothing: no sentence, no source, and no room for the comparison property the capability declared on 2026-10-15. The README at 1.5.1, re-read the same day, names the chat-completion method and the orchestration service's harmonised APIs, and both run through SAP AI Core, which is what the property states. response_streaming is left absent: the README's feature list says nothing about streaming, and absent is not no."}],"drafted_with_ai":true},"effective_normative_relations":[{"instrument":"instrument:sap-developer-license-3-2-cap","relation":"use-constrained-by","sections":["1","2","3"],"applies_when":"A cds-plugin is used with SAP CAP materials, or an artifact is explicitly identified as a CAP plugin or application.","note":"This is inherited applicability, not a licence verdict about the artifact itself. Review the agreement for the actual materials and use; an explicit artifact relationship to another revision takes precedence.","scope":{"kind":"artifact"},"sources":[{"url":"https://cap.cloud.sap/resources/license/developer-license-3_2_CAP.txt","title":"SAP Developer License Agreement 3.2 CAP","checked":"2026-09-16","quote":"documentation, plug-ins, templates, scripts and sample code, libraries, software development kits"}],"inherited_from":"cap-plugins-and-applications","relevant_capabilities":["agent-systems-access","async-processing","data-import-export","database-connectors","deployment","destinations","llm-integration","mcp-servers","plugin-authoring","replication","retrieval-augmented-generation","rfc-connectivity"]}],"readings":{"liveness":[{"label":"Maintenance","tier":"poor","evidence":"13 months since release"},{"label":"Continuity","tier":"fair","evidence":"1 publisher on npm"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"good","evidence":">=7.1.1 — includes cds 10 and 9"},{"label":"Survived majors","tier":"poor","evidence":"no release since @sap/cds 10 shipped (July 2026)"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"good","evidence":"README 6 KB"},{"label":"Changelog","tier":"fair","evidence":"none in the repo"}],"reach":[{"value":58,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-24","latest_version":"1.5.1","majors":{"1":{"version":"1.2.0","date":"2023-12-15"}},"license":"Apache-2.0","first_release":"2023-12-15","last_release":"2025-09-10","releases":10,"cadence_days":63,"maintainers":1,"repository":null,"peer_cds":">=7.1.1","test_script":false,"types":false,"downloads_weekly":58,"months_since_release":13,"dormant":true,"repository_directory":null,"dependencies":0,"node_engine":null,"downloads_monthly":351,"npm_document_version":"1.5.1","npm_document_integrity":"sha512-qF4q+bqWdFgG9fUltPsxCITh/9uF2XCVf7pLtp1M8W7bUtTsXaWVX7sL2kk9Qo9g4YdTRjOcddLTBw3pdSOl6w==","npm_document_tarball":"https://registry.npmjs.org/cap-llm-plugin/-/cap-llm-plugin-1.5.1.tgz","readme_path":"README.md","readme_bytes":6110,"readme_source":"npm","changelog":false,"license_file":true,"license_path":"LICENSE","license_name":"Apache License 2.0, January 2004"},"release_notes":{"license":"Apache License 2.0, January 2004","quotable":false,"versions":[{"version":"1.5.1","date":"2025-09-10"},{"version":"1.5.0","date":"2025-04-02"},{"version":"1.4.5","date":"2024-11-06"},{"version":"1.4.4","date":"2024-09-04"},{"version":"1.4.2","date":"2024-08-21"},{"version":"1.3.3","date":"2024-06-20"},{"version":"1.3.2","date":"2024-05-01"},{"version":"1.3.1","date":"2024-02-24"},{"version":"1.3.0","date":"2024-02-24"},{"version":"1.2.0","date":"2023-12-15"}],"crawled_at":"2026-10-25"},"edges":{"maintainers":[],"contributors":[],"explained_by":[{"ref":"content:hana-clouds-vector-embedding-in-cap-compared-with-openai","name":"HANA Cloud’s VECTOR EMBEDDING in CAP and Comparison with OpenAI Embedding","json":"/content/hana-clouds-vector-embedding-in-cap-compared-with-openai.json"},{"ref":"content:rag-with-hana-cloud-vector-engine-genai-hub-and-cap","name":"RAG with SAP HANA Cloud Vector Engine, GenAI Hub & CAP","json":"/content/rag-with-hana-cloud-vector-engine-genai-hub-and-cap.json"},{"ref":"content:elevating-data-privacy-in-cap-genai-applications-with-cap-llm-plugin","name":"Elevating Data Privacy in SAP CAP based GenAI Applications with CAP LLM Plugin","json":"/content/elevating-data-privacy-in-cap-genai-applications-with-cap-llm-plugin.json"}],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}