<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bird on Medium]]></title>
        <description><![CDATA[Stories by Bird on Medium]]></description>
        <link>https://medium.com/@birdlive?source=rss-2dbd2390535a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9fc4yQDZzLQHs9nz0k8lrA.jpeg</url>
            <title>Stories by Bird on Medium</title>
            <link>https://medium.com/@birdlive?source=rss-2dbd2390535a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:49:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@birdlive/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What is Needed for Building Your Own Intelligent Copilot]]></title>
            <link>https://birdlive.medium.com/what-is-needed-for-building-your-own-intelligent-copilot-91c689358bcf?source=rss-2dbd2390535a------2</link>
            <guid isPermaLink="false">https://medium.com/p/91c689358bcf</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[co-pilot]]></category>
            <dc:creator><![CDATA[Bird]]></dc:creator>
            <pubDate>Wed, 25 Oct 2023 01:43:32 GMT</pubDate>
            <atom:updated>2023-10-25T01:43:32.024Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine a world where every business could effortlessly build their own intelligent copilot, a digital assistant that understands their unique business logic and interactions. This is not just a dream, but an achievable reality. So, let’s dive into what it takes to create this transformative technology.</p><p>What if every business thrives with the power of large language models (LLMs). It’s a tantalizing vision that technology has made increasingly attainable. However, like any powerful tool, LLMs come with their own set of challenges and opportunities.</p><p>One of the key challenges lies in maintaining control over these intelligent assistants. LLMs are trained on vast amounts of data, encompassing diverse sources and perspectives. While this broad training equips them with remarkable capabilities, it can also introduce a degree of unpredictability. There is a risk that the responses generated by LLMs may not always align with a company’s specific business objectives. This can be a double-edged sword, potentially leading to unhelpful or even harmful outcomes. As businesses venture into the realm of copilots, it becomes crucial to strike a delicate balance, harnessing the power of LLMs while ensuring alignment with business goals.</p><p>Another consideration is the cost associated with LLMs. These sophisticated models demand substantial resources, including computing power and data storage. As businesses seek to integrate LLM-powered copilots into their operations, they must weigh the financial implications. While the benefits can be substantial, it is essential to navigate the cost landscape effectively.</p><p>So how do we unlock the full potential of LLMs for every business? The answer lies in the development of graphical user interfaces (GUIs). GUIs have transformed the way we interact with technology, providing intuitive and visually appealing interfaces. But have you ever wondered about the intricate process behind their creation?</p><h3>Development of GUIs</h3><p>GUIs are typically built using a design pattern known as model-view-controller (MVC). This pattern divides the GUI into three essential components: the model, the view, and the controller. The model represents the underlying data used by the GUI, while the view determines how the data is presented to the user. Finally, the controller manages user interactions, updating both the model and the view accordingly.</p><p>This separation of concerns offers numerous benefits for businesses. It enables easier development, maintenance, and extension of GUIs. By compartmentalizing functionality, businesses can focus on specific aspects without getting overwhelmed by the complexity of the whole system. Additionally, the MVC pattern promotes reusability, saving time and resources in the long run. It also enhances testability, allowing for rigorous testing of GUIs and improving software quality.</p><h3>Same as CUIs</h3><p>Now, let’s apply this concept to the realm of conversational user interfaces (CUIs), where copilots come into play. CUIs can be decomposed into three layers: the service layer, the interaction layer, and the language layer. The service layer, akin to the model in GUIs, provides the business logic and data for the copilot. The interaction layer, like the controller, manages the conversation between the user and the copilot, ensuring efficient navigation towards desired services. Lastly, the language layer, similar to the view, handles the natural language processing tasks necessary for effective communication.</p><p>Adopting a three-layer design empowers businesses to tailor their copilots to their unique needs. It allows them to start from a business perspective, focusing on the service layer and crafting services that deliver maximum value to users. Moreover, by treating each layer independently, businesses can concentrate on specific aspects, streamlining development and maintenance efforts. This modular approach ensures scalability, enabling copilots to handle growing user demands effortlessly. By expanding the language layer with additional natural language processing engines, businesses can scale their copilots and cater to a broader audience.</p><h3>The challenge is interaction</h3><p>In the realm of intelligent copilot development, we face a pivotal challenge that demands our utmost attention — the interaction layer. It is within this layer that the true art of human-machine conversations unfolds, transcending simple mappings with service APIs and delving into the realm of personalized, meaningful interactions.</p><p>The journey to crafting a powerful interaction logic is no small feat. It requires a deep understanding of the unique intricacies and demands of each business, as well as the seamless integration of production APIs. We encounter situations where users’ inquiries are riddled with incomplete information, where requested items may be unavailable, or where businesses have strategic motives that extend beyond immediate customer demands. This is where revolutionary interaction logic must emerge — a logic that guides conversations, benefiting both the user and the business.</p><p>Imagine a world where copilots become expert navigators, skillfully guiding users through a maze of choices, preferences, and business objectives. When a user seeks a specific product, the interaction logic becomes a guiding force that transcends surface-level responses. It ventures into the depths of inventory checks, ensuring a delightful user experience by sparing them from futile queries about unavailable items. Instead, it crafts a sophisticated interaction that recommends alternative products, carefully aligning with the short-term and long-term interests of both the user and the business.</p><p>At the heart of this transformation lies the harmonization of the extraordinary comprehension abilities of large language models (LLMs) with the intricate tapestry of business-specific logic. It is the fusion of these realms that unlocks the true potential of intelligent copilots. By seamlessly blending the power of LLMs with the unique values, aspirations, and strategic directions of businesses, copilots evolve from mere assistants to trusted partners.</p><h3>How to build interaction logic</h3><p>And now, let us dive into the fascinating realm of building interaction logic for intelligent copilots. As we venture deeper, we encounter a fundamental shift in perspective — a departure from traditional flow-based designs towards a business-centric approach.</p><p>Traditionally, the flow-based design starts from the user’s perspective, dividing conversations into a series of sequential steps. The chatbot’s responses are determined by the user’s input at each stage. However, this approach grapples with the unpredictability and contextual nature of user inputs. It becomes increasingly challenging to maintain and scale as the number of topics grows, making it cumbersome to cover all possible user inputs within the predefined flow. Complex conversations, spanning multiple topics, pose a significant hurdle for this approach.</p><p>But fear not, for there is an alternative path — a type-based approach that breaks free from the limitations of traditional flow-based designs. Instead of focusing on conversation flows, the type-based approach defines the chatbot’s behavior in terms of types. It equips the chatbot with the ability to understand the context in which a particular type is relevant and responds accordingly. This empowers the chatbot to process and manipulate data effectively, ensuring alignment with business goals and the ability to achieve them with finesse.</p><p>Now, let us delve into the realm of conversation abstraction and the power of reusable components. If we draw inspiration from graphical user interfaces (GUIs), we discover a treasure trove of reusable components that enhance user experiences. Similarly, in the domain of conversational user interfaces (CUIs), we can abstract corresponding components that unlock a world of possibilities.</p><p>Imagine a world where the copilot’s interaction logic is not constrained by rigid flows or complex if/else statements. Instead, reusable components take center stage. Just like the GUI’s confirmation pop-up window, the copilot can effortlessly handle statements that require confirmation. By leveraging pre-defined conversational components, the copilot prompts users for input, presents them with recommendations, validates their responses, and seeks confirmation — all with seamless ease.</p><p>Drawing inspiration from the remarkable OpenCUI framework, we can uncover a rich array of conversational components waiting to be harnessed:</p><ul><li><strong>Prompt</strong>: Prompts gracefully ask customers for specific input, such as asking for their name, email address, or other required information. For example “What time should I book the table tomorrow?”</li><li><strong>Recommendation</strong>: Recommendations offer users a curated list of options to choose from, such as a list of products or services. It empowers users to make informed decisions effortlessly.</li><li><strong>Value Check</strong>: Value checks come into play when there is an issue with user input or action. It helps guide users out of potential pitfalls, ensuring they do not get stuck in an endless loop. For example, “Sorry, the time you requested for booking is currently unavailable. What time should I book the table for tomorrow?”</li><li><strong>Confirmation</strong>: Confirmations, a vital component, verify user input or action. Whether used in an implicit or explicit manner, it ensures the copilot gets everything right. A confirmation can be as simple as “Alright, 4 guests. […]” or as explicit as “I understood there will be 4 guests. Is that correct?”</li><li>……</li></ul><p>These are just a few examples of the incredible conversational components at our disposal. By harnessing their power, we unlock a world where intelligent copilots engage users with remarkable fluidity, guiding them through complex conversations with confidence and finesse.</p><h3>Summary</h3><p>In summary, businesses can thrive with LLMs by embracing the power of GUIs and adopting the MVC pattern for CUI development. The three-layer design, coupled with business-centric interaction logic, enables the harnessing of LLM capabilities to their full potential. This shift empowers businesses to navigate complex interactions, establish meaningful connections, and drive success. By revolutionizing customer engagement, businesses can unlock new opportunities for innovation and growth.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91c689358bcf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Efficient Chatbots: 3 Key Steps Every Business Should Follow After ChatGPT]]></title>
            <link>https://medium.com/opencui-official/building-efficient-chatbots-3-key-steps-every-business-should-follow-after-chatgpt-1e0586374a2a?source=rss-2dbd2390535a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e0586374a2a</guid>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-design]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Bird]]></dc:creator>
            <pubDate>Sat, 25 Feb 2023 12:41:30 GMT</pubDate>
            <atom:updated>2023-02-25T12:41:30.311Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building Efficient Chatbots: 3 Essential Steps Every Business Should Follow After ChatGPT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VmJ8RHvU2aBNFT45" /><figcaption>Photo by <a href="https://unsplash.com/@siva_photography?utm_source=medium&amp;utm_medium=referral">Om siva Prakash</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When designing conversational user experiences, there is often a focus on making chatbots smart, intelligent, and human-like. However, this approach can be driven more by technology constraints than the actual services being provided. While language models like ChatGPT can enhance customer experience, they can not determine the business logic of the chatbot, which requires a deep understanding of specific industry requirements and goals.</p><p>Given the advent of ChatGPT, what is the recommended approach to chatbot design that promotes logical and helpful conversations?</p><h3>Service-driven Approach</h3><p>The foundation of a chatbot is its service, which determines the tasks it can perform and how it interacts with customers. For example, a restaurant owner developing a chatbot to assist customers in booking reservations needs to design the service logic to ensure that the chatbot can accurately identify available time slots, check for scheduling conflicts with the restaurant’s tables, and confirm bookings with customers.</p><ul><li><em>User: Hi, I’d like to make a reservation for two people tonight at 7 pm.</em></li><li><em>Chatbot: Great, we’d be happy to help you make a reservation. I have checked our availability and unfortunately we are fully booked at 7 pm tonight. However, we do have availability at 6 pm or 8 pm. Would either of those times work for you?</em></li><li><em>User: Hmm, neither of those times work for me. How about 7:30 pm?</em></li><li><em>Chatbot: Let me check. I’m sorry, but we don’t have any available tables at 7:30 pm either. Would you like me to check other days or times for you?</em></li><li><em>User: How about Thursday at 7 pm?</em></li><li><em>Chatbot: I’m sorry, we’re fully booked on Thursday at 7 pm as well. However, we do have availability on Friday at 7 pm. Would you like to reserve a table for Friday instead?</em></li><li><em>User: Yes, that works.</em></li><li><em>Chatbot: Great! I have reserved a table for you at our restaurant on Friday at 7 pm. Can I confirm your reservation under the name of John?</em></li><li><em>User: Yes, that’s correct.</em></li><li><em>Chatbot: Perfect! Your reservation is confirmed and we look forward to seeing you on Friday. Is there anything else I can assist you with?</em></li><li><em>User: No, that’s all. Thank you so much for your help!</em></li><li><em>Chatbot: You’re welcome. Have a great day and we’ll see you on Friday</em></li></ul><p>To achieve consistency, logic, and helpfulness in chatbot interactions, it is important to adopt a service-driven design approach. This approach provides a clear framework for chatbot responses, addressing questions such as when to present options, seek clarification, or confirm requests. To accomplish this, chatbots need to recognize key user request types, such as number of people, date, and time, and declare specific interactions using CUI (conversational user interface) components, like prompts, recommendations, confirmations and value clarifications.</p><p>Following this approach enables chatbots to deliver a predictable and consistent experience for customers, resulting in a more satisfying conversational experience aided by language models such as ChatGPT that generates responses aligned with the service logic, making the process of building chatbots much easier and enabling businesses to provide high-quality service experiences to their customers.</p><p>The following strategy outlines how to achieve service-driven design.</p><h3>1. Start From Schema</h3><p>Starting with a schema representation of the service can be helpful to ensure that chatbot conversations with customers are efficient and structured. The schema outlines all the required slots and their types, which determine the information that needs to be collected from customers.</p><p>For example, a restaurant reservation chatbot might require slots for the number of people, date and time, and any special requests or dietary restrictions. Similarly, a healthcare appointment scheduling chatbot might require slots for the type of appointment, preferred date and time, location, and insurance information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*bWu64iD8R6zMLAYRfZf8ZQ@2x.png" /><figcaption>The scheme representation of a simple restaurant reservation service</figcaption></figure><p>By starting with the schema, the chatbot can ensure that it collects all the necessary information in a logical and efficient manner. Once the schema is established, the chatbot can move on to determining the logic of the interaction, which will help to further refine the conversational experience for customers.</p><h3>2. Determine Interaction Logic</h3><p>Determining the interaction logic is crucial for effectively collecting the required information from customers. This may involve asking a series of questions or presenting options for each slot. For instance, a restaurant reservation chatbot can confirm each piece of information before moving on to the next, while a healthcare chatbot can ask clarifying questions and provide appropriate recommendations for treatment or referral to a doctor.</p><p>The conversational behaviors that are commonly used in interactions can be implemented as CUI components, including prompt, recommendation, confirmation, value clarification, and more. These components can be combined and reused to create a variety of conversational interactions for any service:</p><ul><li><strong>Prompt</strong>: prompts are used to ask customers for input, such as asking for their name, email address, or other required information. For example “<em>What time should I book the table tomorrow?</em>”</li><li><strong>Recommendation</strong>: recommendations<strong> </strong>are used to provide users with options to choose from, such as a list of products or services.</li><li><strong>Validation</strong>: validations are used to inform customers when there is a problem with their input or action, such as when they provide an invalid email address, and make sure they are not stuck in a loop if their input isn’t accepted. For example, <em>“Sorry, the time you want to book is not available at present. What time should I book the table tomorrow?”</em></li><li><strong>Confirmation</strong>: confirmations are used to confirm customer input or verify that the customer wants to perform a certain action. Confirmation can be used in <em>implicit</em> (“<em>Alright, 4 guests. […]</em>”) or <em>explicit</em> (“<em>I understood 4 guests, is that correct?</em>”) way to make sure chatbot gets everything right.</li><li>……</li></ul><p>By using these CUI components, chatbots can deliver a more effective and satisfying conversational experience for customers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*KrgcOIxmrIxIwcU_ObAeEg@2x.png" /><figcaption>The interaction logic for a restaurant reservation service</figcaption></figure><p>After determining the interaction logic, language-related components such as templates for text generation and utterance exemplars for dialog understanding become essential. By optimizing the use of language model technology, such as ChatGPT, for structured conversations that follow a predetermined framework or utilizing magic zero-shot learning to improve chatbots’ understanding of user inquiries, businesses can reduce the cost of building functional chatbots significantly. This approach enables businesss to focus solely on interaction logic, leading to a more efficient and cost-effective chatbot building process.</p><p>Once the schema representation and interaction logic are determined, the conversational experience can be described as contextual snippets.</p><h3>3. Describe Contextual Snippet</h3><p>Contextual snippet is a better approach than a dialogue flow when dealing with complex conversations that involve multiple topics. The reason is that as the number of topics increases, the dialogue possibilities grow exponentially, making it impractical to map out every step a customer might take in a dialogue flow.</p><p>Contextual snippets, on the other hand, describe the conversational behavior in small, manageable pieces, which businesss can use to build a more flexible and adaptive chatbot. Instead of worrying about the dialogue flow and how the customer arrived at a certain point in the conversation, business can focus on the behavior required at each stage of the interaction. This allows them to better handle unpredictable customer responses and provide a more personalized experience.</p><p>Furthermore, contextual snippets can be combined and reused to create a variety of conversational interactions for any service. This modularity allows businesses to build and test chatbot components independently and iterate quickly. It also makes it easier to scale chatbots to new domains or services, as existing snippets can be adapted or combined to fit new requirements.</p><p>Let’s use a restaurant reservation service as an example:</p><h4>Happy path</h4><p>Starting with the happy path is a good approach, and as you encounter rare corner cases, you can gradually incorporate their requirements. It is not necessary to modify the happy path requirement to accommodate these new corner cases. The common use cases may look like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*oshNbW8eCjfe9g0IFVyqtw@2x.png" /><figcaption>Snippet 1: Happy path</figcaption></figure><h4>Error handing</h4><p>Designing error handling and recovery procedures is crucial for situations when tables are unavailable or customers provide incorrect information. The chatbot should gracefully handle such issues and provide helpful responses to customers. Consider the following examples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*cscJyZVr3e8D2gP7uvbiLQ@2x.png" /><figcaption>Snippet 2: Specified information does not pass validation</figcaption></figure><h4>Make changes</h4><p>The process of modifying or cancelling a reservation should be made simple and user-friendly for customers. For instance, in case a customer decides to alter their reservation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*Ul53jtKhuw6lFwpjD_LOBg@2x.png" /><figcaption>Snippet 3: Customer changes mind</figcaption></figure><p>The above is just an example, you can expand your snippet according to actual scenarios.</p><h3>Conclusion</h3><p>In conclusion, a service-driven approach that starts with schema representation, determines interaction logic, and describes contextual snippets is crucial when designing a chatbot for a business. These steps help ensure that the chatbot collects all the necessary information from customers in an efficient and streamlined manner. By focusing on the behavior required at each stage of the interaction, businesses can incrementally build a conversational experience that accurately captures the expected conversational behavior for delivering services. This method also enables businesses to optimize the use of language model technology, such as ChatGPT, to enhance chatbot performance, leading to a significant reduction in the cost of building functional chatbots. Overall, this approach provides a more efficient and effective way to design chatbots that can improve the customer experience and help businesses achieve their goals.</p><p><em>Reference:</em></p><ol><li><a href="https://opencui.medium.com/dialog-understanding-after-chatgpt-b19c6291eee3">https://opencui.medium.com/dialog-understanding-after-chatgpt-b19c6291eee3</a></li><li><a href="https://opencui.medium.com/dialog-understanding-3-origin-of-llms-zero-shot-capability-813b1f863463">https://opencui.medium.com/dialog-understanding-3-origin-of-llms-zero-shot-capability-813b1f863463</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e0586374a2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/opencui-official/building-efficient-chatbots-3-key-steps-every-business-should-follow-after-chatgpt-1e0586374a2a">Building Efficient Chatbots: 3 Key Steps Every Business Should Follow After ChatGPT</a> was originally published in <a href="https://medium.com/opencui-official">OpenCUI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>