Skip to content

Conversation

@mmitiche
Copy link
Contributor

  • This PR currently contains minimal setup for a multiturn conversation feature in Headless, it includes the state, reducers, controllers, api interaction with RTK and dispatchable actions required to make the feature work.
  • The current setup uses the /generate call to provide follow up answers.
  • to use the controller from atomic you need to:
    this.multiTurnConversation = buildMultiturnConversation(
      this.bindings.engine,
      {
        answerConfigurationId: this.answerConfigurationId,
      }
    );
   this.multiTurnConversation.generateAnswerForPrompt('hello world!');

@github-actions
Copy link

github-actions bot commented Nov 19, 2025

🔗 Scratch Orgs ready to test this PR:

@@ -0,0 +1,85 @@
import type {i18n} from 'i18next';
import {html} from 'lit';
import {localizedString} from '@/src/directives/localized-string';
@@ -0,0 +1,12 @@
import {expect, test} from './fixture';
@@ -0,0 +1,200 @@
import { Schema, StringValue } from "@coveo/bueno";

import { type CSSResultGroup, css, html, LitElement, nothing } from "lit";
import { withTailwindStyles } from "@/src/decorators/with-tailwind-styles.js";
import "@/src/components/common/atomic-icon/atomic-icon";
import "@/src/components/common/atomic-modal/atomic-modal";
import { ATOMIC_MODAL_EXPORT_PARTS } from "../../common/atomic-modal/export-parts";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants