ScoutOS Changelog

Changelog

Recent updates to the Scout platform.

  • Copilot

    Copilot 2.0

    Copilot has been rebuilt from the ground up.

    2.0 brings the powerful functionality of Scout directly to your website or application, providing an interactive assistant that enhances your user experience and improves engagement. Two lines of code is all you need.

    html
    <scout-copilot copilot_id="YOUR_COPILOT_ID_HERE"></scout-copilot>
    <script type="module" src="https://copilot.scoutos.com/copilot.js"></script>

    Initial Activities

    The initial_activities property allows you to set up the initial state of the Copilot chat by preloading messages and actions when the Copilot is initialized. This feature is useful for customizing the user’s first interaction with the Copilot, such as displaying a welcome message or suggesting common queries.

    html
    <scout-copilot copilot_id="YOUR_COPILOT_ID_HERE"></scout-copilot>
    <script type="module" src="https://copilot.scoutos.com/copilot.js"></script>
    <script>
      const copilot = document.querySelector('scout-copilot');
      copilot.initial_activities = [
        {
          activity_type: 'llm.chat.message',
          img_url: 'https://example.com/assistant-avatar.jpg',
          role: 'assistant',
          content: 'How can I assist you today?',
        },
        {
          activity_type: 'action_list',
          header: 'Suggestions',
          items: [
            {
              action_item_type: 'suggested_query',
              img_url: 'https://example.com/icon1.svg',
              title: 'What is Scout?',
              query: 'What is Scout?',
            },
            {
              action_item_type: 'link',
              img_url: 'https://example.com/icon2.png',
              title: 'Join our Community',
              url: 'https://community.example.com',
            },
            {
              action_item_type: 'link',
              img_url: 'https://example.com/icon3.svg',
              title: 'Contact Support',
              url: 'mailto:support@example.com',
            },
          ],
        },
      ];
    </script>

    Thinking Block

    The new Thinking Block sends a “pending state” message to the Copilot client, giving the user context on the action being taken during that step of execution in the workflow that is generating the Scout Copilot response.

    Copilot Message Block

    This is similar to an LLM block. The connection to the Scout Copilot in the client is streaming, so you can send many messages in one workflow run using subsequent Copilot message blocks.

    Deploy the Copilot 2.0 today with this guide.

Ready to get started?

Sign up for free or chat live with a Scout engineer.

Try for free