Conversation player configuration

Every attribute of <linguineo-conversation>, grouped by what it controls.

StableVersion 1.0.0

The conversation player is an HTML component that brings AI-driven conversational language practice into your LMS or digital learning environment, with real-time feedback. Publishers, language schools and other organizations can configure it to fit their teaching goals and technical setup.

You embed the player as a custom HTML tag and configure it with attributes:

HTML
<linguineo-conversation ... ></linguineo-conversation>

Attributes marked req are needed to start a conversation. Booleans are passed as "true" or "false"; leave an attribute out to use its default. New to the player? Start with the integration guide.

Connection#

These properties manage how the player connects to the Linguineo back end.

AttributeTypeDefaultDescription
connection-configJSONLinguineo APIsJSON object with back-end paths. Only change it if you received custom endpoints or use a proxy. See connection settings.

Authentication#

How the user is authenticated with the Linguineo platform.

AttributeTypeDefaultDescription
auth-methodenumdefaultAuthentication method: bearer, default or none. Use bearer in most cases.
access-tokenreqstringThe (bearer) token received from your identity provider.
user-idstringOnly relevant with default authentication. Not needed for bearer.

Content selection#

The language and scenario of the conversation.

AttributeTypeDefaultDescription
languagestringnlISO 639-1 code of the language the learner practices, for example fr for French.
tutor-languagestringnlISO 639-1 code of the learner’s tutor language, for example nl for Dutch.
applicationstringApp identifier. Only set this if Linguineo gave you one.
scenario-idreqnumberUnique ID of the scenario for the conversation.
scenario-tagstringAlternative to scenario-id. Requires language. Ignored when scenario-id is set.

Answering#

How learners answer during the conversation.

AttributeTypeDefaultDescription
answer-typereqenumHow the learner responds: MULTIPLE_CHOICE, WRITING, SPEAKING, WRITING_AND_SPEAKING or SPEAKING_WITH_INTERMEDIATE_WRITING.

Feedback#

The kind and depth of corrective feedback shown to learners.

AttributeTypeDefaultDescription
show-feedback-in-conversationsbooleantrueTurn all types of feedback on or off.
inline-feedbackbooleanfalseShow feedback inline (always visible) instead of behind a toggle.
show-pronunciation-feedbackbooleantrueShow basic pronunciation feedback.
do-additional-pronunciation-analysisbooleantrueEnable deep pronunciation analysis.
show-simple-corrective-feedbackbooleanfalseShow brief, non-metalinguistic corrections instead of more complex metalinguistic ones.
additional-corrective-feedbackbooleantrueEnable extensive grammar feedback.
enable-contextualized-grammar-correctionsbooleanfalseAdd semantic and contextual insights to the feedback.

Learner support#

Which tools and support the learner sees during the conversation.

AttributeTypeDefaultDescription
generate-hints-for-open-flowbooleantrueGenerate hints in open-ended flows.
show-translations-in-conversationbooleantrueShow translations of utterances in the conversation.
allow-word-lookupbooleanfalseLet learners tap or click words in bot messages to see a translation.

Bot behavior#

The pacing, flow and progression of the conversation.

AttributeTypeDefaultDescription
always-wait-for-bot-to-finish-speakingbooleantrueIf true, the learner must wait until the bot has finished speaking before responding.
offer-to-let-bot-proceed-if-applicablebooleanfalseLet the bot offer to continue when applicable.
automatic-progression-if-too-many-missesbooleanfalseMove forward automatically after several failed attempts.
show-full-bot-responsesbooleantrueShow the bot’s interpretation and reasoning when a task is missed.
speaking-rate-of-botnumber1How fast the bot speaks, from 0 to 2. 1 is normal speed.

Speech recognition#

How spoken answers are recognized.

AttributeTypeDefaultDescription
speech-recognition-strategyenumDEFAULTDEFAULT or AUTOCORRECT_TO_CONTEXT. With AUTOCORRECT_TO_CONTEXT, speech recognition leans heavily towards recognizing something that fits the context.
forgivenessnumber0.08Decimal value from 0 to 1. Higher values make recognition lean towards the expected answers.

Difficulty#

Adjusts the challenge to how the learner performs.

AttributeTypeDefaultDescription
switch-to-easier-based-on-frustrationbooleanfalseLower the difficulty automatically after repeated errors.

Recordings#

How the learner’s speech recordings are handled.

AttributeTypeDefaultDescription
stop-recording-automatically-on-silencebooleanfalseStop recording automatically when silence is detected.

User interface#

The look of the player and how learners interact with it.

AttributeTypeDefaultDescription
ui-themestringTheme of the interface. Default options: light, dark.
animated-reward-iconsbooleanfalseShow a visual reward when a task is completed.
sound-effects-enabledbooleantrueEnable interface sound effects.
with-back-buttonbooleanfalseShow a back button. Pressing it fires linguineo:back.
blinking-clues-enabledbooleantrueMake hints blink when the learner is inactive.
show-progress-barbooleanfalseShow a progress bar during the conversation.
allow-corrections-by-userbooleanfalseLet (expert) users correct the bot’s output.
bot-namestringCustom name for the bot character.
user-photo-urlstringURL of a custom portrait image for the user.
bot-image-urlstringURL of a custom portrait image for the bot.

Example configuration#

HTML
<linguineo-conversation
    access-token="{YOUR_TOKEN}"
    auth-method="bearer"
    bot-name="Anna"
    language="fr"
    tutor-language="nl"
    scenario-id="503"
    answer-type="SPEAKING_WITH_INTERMEDIATE_WRITING"
    show-pronunciation-feedback="true"
    show-simple-corrective-feedback="true"
    additional-corrective-feedback="true"
    ui-theme="dark"
    user-photo-url="https://example.com/user.svg"
    bot-image-url="https://example.com/bot.svg"
></linguineo-conversation>
Stuck somewhere?Our technical team is happy to help with your integration.
Contact us