Skip to content

Multilingual Publication Profiles

Publication profiles let one research publication generate multiple narrative variants without duplicating research.

List available profiles

qlens profile list

Inspect the fully resolved profile

qlens profile show monologue_bn
qlens profile show monologue_en --json

Validate inheritance and schemas

qlens profile validate

Create a publication with a default profile

qlens publication new \
  --title "Bismillah" \
  --space RSP-000001 \
  --source QST-000001 \
  --source EVD-000001 \
  --source RSN-000001 \
  --source UND-000001 \
  --profile monologue_bn

Generate Bangla and English drafts

qlens publication ai-draft PUB-000001 \
  --provider openai \
  --profile monologue_bn \
  --actor Mamun

qlens publication ai-draft PUB-000001 \
  --provider openai \
  --profile monologue_en \
  --actor Mamun

For offline verification:

qlens publication ai-draft PUB-000001 --provider mock --profile monologue_bn
qlens publication ai-draft PUB-000001 --provider mock --profile monologue_en

Drafts are stored separately:

generated/publications/drafts/pub-000001/monologue_bn/
generated/publications/drafts/pub-000001/monologue_en/

Each revision stores:

  • structured JSON;
  • traceable Markdown;
  • exact canonical source context;
  • resolved profile ID and version;
  • source and context digests.

Create a custom profile

Create publication/profiles/lecture_en.yaml:

id: lecture_en
version: 1.0.0
extends: monologue_en
audience: university
tone: explanatory
style: lecture_script
output:
  extension: md
prompt:
  style:
    - Explain technical terms before using them.
    - Keep research status and uncertainty explicit.

Then validate and generate:

qlens profile validate
qlens publication ai-draft PUB-000001 --provider openai --profile lecture_en

Governance

A profile controls expression only. It cannot change evidence, reasoning, understanding status, source relationships, or publication approval rules.