Conversation player configuration
Every attribute of <linguineo-conversation>, grouped by what it controls.
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:
<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.
| Attribute | Type | Default | Description |
|---|---|---|---|
connection-config | JSON | Linguineo APIs | JSON 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.
| Attribute | Type | Default | Description |
|---|---|---|---|
auth-method | enum | default | Authentication method: bearer, default or none. Use bearer in most cases. |
access-tokenreq | string | The (bearer) token received from your identity provider. | |
user-id | string | Only relevant with default authentication. Not needed for bearer. |
Content selection#
The language and scenario of the conversation.
| Attribute | Type | Default | Description |
|---|---|---|---|
language | string | nl | ISO 639-1 code of the language the learner practices, for example fr for French. |
tutor-language | string | nl | ISO 639-1 code of the learner’s tutor language, for example nl for Dutch. |
application | string | App identifier. Only set this if Linguineo gave you one. | |
scenario-idreq | number | Unique ID of the scenario for the conversation. | |
scenario-tag | string | Alternative to scenario-id. Requires language. Ignored when scenario-id is set. |
Answering#
How learners answer during the conversation.
| Attribute | Type | Default | Description |
|---|---|---|---|
answer-typereq | enum | How 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.
| Attribute | Type | Default | Description |
|---|---|---|---|
show-feedback-in-conversations | boolean | true | Turn all types of feedback on or off. |
inline-feedback | boolean | false | Show feedback inline (always visible) instead of behind a toggle. |
show-pronunciation-feedback | boolean | true | Show basic pronunciation feedback. |
do-additional-pronunciation-analysis | boolean | true | Enable deep pronunciation analysis. |
show-simple-corrective-feedback | boolean | false | Show brief, non-metalinguistic corrections instead of more complex metalinguistic ones. |
additional-corrective-feedback | boolean | true | Enable extensive grammar feedback. |
enable-contextualized-grammar-corrections | boolean | false | Add semantic and contextual insights to the feedback. |
Learner support#
Which tools and support the learner sees during the conversation.
| Attribute | Type | Default | Description |
|---|---|---|---|
generate-hints-for-open-flow | boolean | true | Generate hints in open-ended flows. |
show-translations-in-conversation | boolean | true | Show translations of utterances in the conversation. |
allow-word-lookup | boolean | false | Let learners tap or click words in bot messages to see a translation. |
Bot behavior#
The pacing, flow and progression of the conversation.
| Attribute | Type | Default | Description |
|---|---|---|---|
always-wait-for-bot-to-finish-speaking | boolean | true | If true, the learner must wait until the bot has finished speaking before responding. |
offer-to-let-bot-proceed-if-applicable | boolean | false | Let the bot offer to continue when applicable. |
automatic-progression-if-too-many-misses | boolean | false | Move forward automatically after several failed attempts. |
show-full-bot-responses | boolean | true | Show the bot’s interpretation and reasoning when a task is missed. |
speaking-rate-of-bot | number | 1 | How fast the bot speaks, from 0 to 2. 1 is normal speed. |
Speech recognition#
How spoken answers are recognized.
| Attribute | Type | Default | Description |
|---|---|---|---|
speech-recognition-strategy | enum | DEFAULT | DEFAULT or AUTOCORRECT_TO_CONTEXT. With AUTOCORRECT_TO_CONTEXT, speech recognition leans heavily towards recognizing something that fits the context. |
forgiveness | number | 0.08 | Decimal value from 0 to 1. Higher values make recognition lean towards the expected answers. |
Difficulty#
Adjusts the challenge to how the learner performs.
| Attribute | Type | Default | Description |
|---|---|---|---|
switch-to-easier-based-on-frustration | boolean | false | Lower the difficulty automatically after repeated errors. |
Recordings#
How the learner’s speech recordings are handled.
| Attribute | Type | Default | Description |
|---|---|---|---|
stop-recording-automatically-on-silence | boolean | false | Stop recording automatically when silence is detected. |
User interface#
The look of the player and how learners interact with it.
| Attribute | Type | Default | Description |
|---|---|---|---|
ui-theme | string | Theme of the interface. Default options: light, dark. | |
animated-reward-icons | boolean | false | Show a visual reward when a task is completed. |
sound-effects-enabled | boolean | true | Enable interface sound effects. |
with-back-button | boolean | false | Show a back button. Pressing it fires linguineo:back. |
blinking-clues-enabled | boolean | true | Make hints blink when the learner is inactive. |
show-progress-bar | boolean | false | Show a progress bar during the conversation. |
allow-corrections-by-user | boolean | false | Let (expert) users correct the bot’s output. |
bot-name | string | Custom name for the bot character. | |
user-photo-url | string | URL of a custom portrait image for the user. | |
bot-image-url | string | URL of a custom portrait image for the bot. |
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>