Configuring the Linguineo conversation component

Introduction

The Linguineo Conversation Player is a powerful HTML component that embeds AI-driven conversational language learning into your LMS or digital learning environment. It enables real-time, interactive practice for learners with detailed feedback and flexible configurations. Organizations such as educational publishers or language schools can customize the player to fit their pedagogical goals and technical setup.

You embed the player as a custom HTML tag:

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

This documentation provides a detailed overview of all the configuration options available, grouped by functional area.

1. Connection Configuration

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

connection-configJSON object specifying backend paths. Change only if you received custom endpoints or use a proxy.

2. Authentication

Defines how the user is authenticated with the Linguineo platform.

auth-methodAuthentication method. Use "bearer" in most cases. Options: bearer, default, none.
access-tokenThe (bearer) token received from your identity provider.
user-idOnly relevant if using "default" authentication. Not needed for bearer.

3. Content Selection

These properties determine the language and scenario used during the conversation.

languageISO 639-1 code of the learning language (e.g., "fr" for French).
tutor-languageISO 639-1 code for the user’s tutor language (e.g., "nl" for Dutch).
applicationApp identifier. Set this only if provided by Linguineo.
scenario-idUnique ID identifying the scenario for the conversation.
scenario-tagAlternative to scenario-id. Requires pairing with language. Ignored if scenario-id is set.

4. Answering

Controls how learners provide answers during conversations.

answer-typeUser response method. Options: MULTIPLE_CHOICE, WRITING, SPEAKING, WRITING_AND_SPEAKING, SPEAKING_WITH_INTERMEDIATE_WRITING.

5. Feedback

Customizes the kind and depth of corrective feedback shown to learners.

show-feedback-in-conversationsToggle all types of feedback.
inline-feedbackShow feedback inline (always visible) or as a toggle.
show-pronunciation-feedbackShow basic pronunciation feedback.
do-additional-pronunciation-analysisEnable deep pronunciation analysis.
show-simple-corrective-feedbackShow brief, non-metalinguistic corrections (instead of more complicated metalinguistic ones).
additional-corrective-feedbackEnable extensive grammar feedback.
enable-contextualized-grammar-correctionsAdd semantic/contextual insights to feedback.

6. Support for the user

Determines which tools and support are shown to the learner during the conversation.

generate-hints-for-open-flowGenerate hints in open-ended flows.
show-translations-in-conversationShow translations of utterances in the conversation.
allow-word-lookupEnable users to tap/click on words in bot messages for translations.

7. Bot Behaviour

Manage the pacing, flow, and progression of conversations.

always-wait-for-bot-to-finish-speakingIf true, user must wait for bot to finish speaking before responding.
offer-to-let-bot-proceed-if-applicableAllow bot to offer to continue when applicable.
automatic-progression-if-too-many-missesAutomatically move forward after multiple failed attempts.
show-full-bot-responsesShow bot’s internal interpretation and reasoning during task misses.
speaking-rate-of-botDetermines how fast the bot speaks (0 to 2). Default (normal speed): 1.

8. Speech Recognition

Fine-tunes how spoken responses are recognized.

speech-recognition-strategyStrategy for interpreting speech. Options: DEFAULT, AUTOCORRECT_TO_CONTEXT. In case of AUTOCORRECT_TO_CONTEXT, the speech recognition heavily leans into recognizing something that fits the context.
forgivenessDecimal value (0 to 1). Higher values make recognition lean toward expected answers. Default: 0.08.

9. Difficulty

Adjusts challenge level based on learner performance.

switch-to-easier-based-on-frustrationAutomatically lower difficulty after repeated errors.

10. Recordings

Control how user speech recordings are handled.

stop-recording-automatically-on-silenceAutomatically stop recording after detecting silence.

11. UX Options

Configures user interface and interaction.

ui-themeTheme of the interface. Default options: light, dark.
animated-reward-iconsShow a visual reward upon task completion.
sound-effects-enabledEnable interface sound effects.
with-back-buttonAdd a back button to the player.
blinking-clues-enabledBlink hints if user is inactive.
show-progress-barDisplay a progress bar during the conversation.
allow-corrections-by-userEnable (expert) users to correct bot output.
bot-nameCustom name for the bot character.
user-photo-urlCustom URL for user portrait image.
bot-image-urlCustom URL for bot portrait image.

Example configuration

<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>