<?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 Elle Neal on Medium]]></title>
        <description><![CDATA[Stories by Elle Neal on Medium]]></description>
        <link>https://medium.com/@elle.neal_71064?source=rss-5cec55fd2fdc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eMhLvmDZ0Q2sTcFCtIQbsQ.jpeg</url>
            <title>Stories by Elle Neal on Medium</title>
            <link>https://medium.com/@elle.neal_71064?source=rss-5cec55fd2fdc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:26:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elle.neal_71064/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[A Non-Tech Beginner’s Guide to Generative AI]]></title>
            <link>https://medium.com/databutton/a-non-tech-beginners-guide-to-generative-ai-3fe404de07ab?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fe404de07ab</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sun, 05 May 2024 15:06:33 GMT</pubDate>
            <atom:updated>2024-05-05T19:30:20.487Z</atom:updated>
            <content:encoded><![CDATA[<p>Understanding the concept of Generative AI can be challenging for a beginner. But don’t worry; this guide aims to break down the barriers surrounding AI and make it easy to understand. I have gathered and responded to numerous questions I frequently receive from individuals beginning to explore this technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*4NX3acyz2bUNdBFIz8_KZQ.png" /></figure><p>Whether you are a parent, educator, artist, or simply someone intrigued by AI, this guide is tailored for you.</p><p>In this article, we will delve into the following topics at a high level:</p><ul><li>What Exactly is Generative AI?</li><li>How Does Generative AI Work?</li><li>Is Generative AI for Everyone?</li><li>What are the Ethical Implications of Generative AI?</li><li>Why Should We Care About Generative AI?</li><li>How can I Start using Generative AI?</li></ul><p>By the end of this guide, you’ll discover how AI can empower you, not just those at big tech companies. It’s a tool that can help you harness your creativity and enhance your daily tasks, putting you in control of the AI revolution.</p><h3>What Exactly is Generative AI?</h3><p>Artificial Intelligence (AI) is a broad field encompassing various technologies capable of performing tasks that typically require human intelligence. Predictive AI and Generative AI represent two distinct approaches.</p><p>Predictive AI is a more familiar type of AI model. For example, a weather forecast uses historical data to predict future events. It’s like having a crystal ball that, based on past patterns, can offer a glimpse into what’s likely to happen next, making it invaluable for decision-making in finance, healthcare, and marketing.</p><p>In contrast, Generative AI is a branch of artificial intelligence focused on creating new content, from text and images to music and beyond. It learns from vast amounts of existing data, mainly from the World Wide Web, to generate new pieces that are original and fitting to given contexts.</p><p>For instance, generative AI has created unique artworks, composed original music, and generated new recipes. Suppose you need a poem or a distinctive image for a blog post. In that case, generative AI can produce these by analysing patterns from existing works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3GG2ciw9PBNvX6PLhdfwqQ.png" /><figcaption>Difference Between Predictive and Generative AI: AI-Generated Mind Map — Using <a href="https://neuromermaid.ai/pages/">Neuro Mermaid AI</a></figcaption></figure><p>Artificial intelligence has a rich history that dates back to World War II. It all started when Warren McCulloch and Walter Pitts published a paper proposing a simplified model of the biological neuron. This work laid the groundwork for what we now recognise as deep learning. Since then, AI has evolved through neural networks and machine learning development, culminating in today’s generative AI models that mimic human-like creativity, which emerged in 2015.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUP8r8mtFYrRX2poditdBw.png" /><figcaption>Timeline generated with the assistance of AI-grounded web search and AI code generation</figcaption></figure><h3>How Does Generative AI Work?</h3><p>I’m thinking back to when my son was a toddler. We would read to him each night. He started to say a word before I said it. He had memorised the book — better than that when reading new books, he could say words before I did. It’s truly remarkable!</p><p>Our brains do a good job interpreting the patterns because we have learned to recognise them. Similar to how my son learned from repeated exposure, generative AI models learn from vast amounts of data. This is how you can read the Quote below:</p><blockquote>“T4K3 R15K5. 45K B1G QU35T10N5. D0N’T B3 4FR41D T0 M4K3 M1574K35; 1F Y0U D0N’T M4K3 M1574K35, Y0U’R3 N07 R34CH1NG F4R 3N0UGH.”</blockquote><blockquote>-DAVID PACKARD</blockquote><p>Here’s how it works:</p><ul><li><strong>Model Training: </strong>During training, generative AI is exposed to large datasets containing text, images, or other content. Like my son’s story time, this exposure allows the model to recognise patterns within the data.</li><li><strong>Pattern Recognition:</strong> Generative AI identifies recurring structures, sequences, and relationships. For text, it learns grammar rules, word associations, and context. The model predicts what comes next when generating new content based on these learned patterns.</li><li><strong>Anticipating Sequences: </strong>Much like anticipating words in a familiar book, generative AI can predict the next word, pixel, or musical note. It leverages context, neighbouring elements, and statistical probabilities to make informed predictions.</li></ul><p>Just as my son’s brain adapted to language patterns, generative AI models adapt to the patterns they encounter. The more exposure they have, the better they become at generating coherent and contextually relevant content.</p><blockquote><strong>Fun Fact: </strong>If you were to read the same amount of information that has been fed into the model, it would take us thousands of years. Suppose I can recognise the pattern from the quote above after 38 years; imagine how capable generative AI models are!</blockquote><h3>Is Generative AI for Everyone?</h3><p>Absolutely! Until recently, developing AI models for a typical organisation involved significant investments in data collection, computational resources, and specialised expertise. This made the process costly and time-consuming, and advanced AI capabilities were often limited to the most resource-rich companies.</p><p>Fortunately, you don’t need a degree in data science or to remortgage your home to harness the power of generative AI. Companies like <a href="https://cohere.com/">Cohere </a>and <a href="https://openai.com/">OpenAI</a> are revolutionising how we access these technologies, making them accessible to all. Anyone can use generative AI to automate tasks, create content, and analyse data.</p><p>We are already seeing incredibly diverse applications of generative AI across every industry imaginable. The website <a href="https://theresanaiforthat.com/">‘There’s an AI for that</a>’ is a prime example, providing a repository of <a href="https://theresanaiforthat.com/#switch">12,381</a> AIs for <a href="https://theresanaiforthat.com/tasks/#switch">15,247</a> tasks and <a href="https://theresanaiforthat.com/job-impact-index/">4,804</a> jobs on their website, with 3000 AIs released in the past few months! This platform is a testament to the rapid growth and widespread adoption of generative AI.</p><p><strong>Summary of AI Categories and Applications: ‘ </strong><a href="https://theresanaiforthat.com/"><strong>There’s an AI for that</strong></a><strong>’.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gByfYjJz6JL3Fpaj-FnITA.png" /><figcaption>Categories of AI Applications on There’s an AI for That: AI-Generated Mind Map — Using <a href="https://neuromermaid.ai/pages/">Neuro Mermaid AI</a></figcaption></figure><p>Thanks to applications like <a href="https://www.databutton.io/">Databutton</a> (the world’s first fully AI app developer), people can build fully functional applications through conversations with AI agents.</p><blockquote>In May 2023, I built a Neuro Mermaid AI application using Databutton. I needed to gain more experience developing and deploying an application. Generative AI was my assistant, helping me share my ideas with the world. I knew what I wanted to build, but I didn’t know how.</blockquote><blockquote>It has had over 5000 visits over the past 12 months, which is not bad for an application I developed with the assistance of Generative AI! — Elle Neal <a href="https://neuromermaid.ai/pages/">neuromermaid.ai</a>.</blockquote><p>This approach of democratising access to AI means that advanced AI capabilities are no longer limited to the most resource-rich companies. It accelerates innovation across industries, enabling more creators to leverage AI in transformative ways. In other words, it’s like making a powerful tool available to everyone, not just a select few.</p><h3>Why Should We Care About Generative AI?</h3><p>Generative AI has the potential to transform how we work, learn, and create. It isn’t just a means for writing emails or generating intriguing artwork. It is a powerful tool that drives innovation across fields, democratises education and information, and tackles complex global challenges — from healthcare to climate change — by processing and analysing vast amounts of data at incredible speeds.</p><p>Engaging with generative AI allows us to shape a future where technology complements and enhances human capabilities. Integrating AI into our daily lives builds a more efficient, creative, and equipped world to make informed decisions. Thus, understanding and utilising generative AI is crucial for anyone interested in leveraging cutting-edge technology to significantly impact personal projects, business endeavours, or broader societal challenges.</p><p>Here are some examples of applications across the health industry:</p><ul><li><strong>Clinical Documentation: </strong>Amazon Web Services launched HealthScribe, a generative AI clinical documentation service. <a href="https://www.nature.com/articles/d41586-023-03803-y">It aims to streamline and improve the accuracy of clinical notes and records</a>.</li><li><strong>Drug Discovery and Development: </strong>Insilico Medicine has developed a generative AI platform called <strong>GENTRL</strong>. <a href="https://www.weforum.org/agenda/2023/05/how-will-generative-ai-impact-healthcare/">It has been used to design new drugs for <strong>fibrosis</strong> and <strong>cancer</strong></a><strong>.</strong></li></ul><h3>What are the Ethical Implications of Generative AI?</h3><p>There are ethical implications of generative AI that must be considered. As Aidan Gomez, the Co-founder and CEO of Cohere, said:</p><blockquote>“Over the next five years, I think we’ll be able to automate any human task that we decide we don’t want to do. Just as the steam engine took the physical load off our backs, AI will do the same for the cognitive load.”</blockquote><blockquote><em>— Aidan Gomez, Co-founder and CEO, Cohere</em></blockquote><p>Depending on one’s expertise and mindset, this statement can be seen as an opportunity or a societal risk. However, it is clear that this technology is here to stay and is only becoming more capable. The future outcome of generative AI will depend on how we as a society allow it to shape our world and our personal lives.</p><p>The paradox of technological advancement is that while it presents new opportunities for economic growth and innovation, it also carries the risk of increased inequality and job displacement.</p><p>One example is the <a href="https://oecd.ai/en/wonk/india">Translation technology developed by AI4BHĀRAT</a>, which has the potential to revolutionise communication in India. A country with a rich tapestry of languages and linguistic barriers that have historically hindered the free flow of information. This technology enables speakers of various Indian languages to access a broader range of content, from government services and global news to educational resources and healthcare information. It also facilitates better interpersonal communication across different language groups, fostering unity and understanding in a diverse nation. Moreover, it empowers local businesses to expand their reach and engage with customers in their native tongues, thus driving economic growth and innovation. In essence, AI4BHĀRAT’s translation and transliteration tools are not just technological advancements; they are keys to unlocking a more inclusive and connected India.</p><p>This widespread accessibility, however, is not without its drawbacks. The translation sector is a case in point:</p><p>A s<a href="https://www2.societyofauthors.org/2024/04/11/soa-survey-reveals-a-third-of-translators-and-quarter-of-illustrators-losing-work-to-ai/">urvey by the Society of Authors</a> has revealed that over one-third of translators have experienced a loss of work attributable to generative AI. Additionally, over 40% of translators report a reduction in their earnings due to generative AI, and over 75% anticipate that this technology will harm their earnings in the future.</p><p>Here lies the paradox: Generative AI both empowers and disrupts. It expands access while reshaping employment landscapes. As we celebrate information democratisation, we must grapple with the consequences for livelihoods. Balancing progress with social stability requires thoughtful policies and reimagining work in an AI-augmented world.</p><h3>How can I Start using Generative AI?</h3><p>The best way to understand how generative AI can augment your day-to-day work and personal endeavours is to integrate it into your daily routine. It is simpler than you think, especially with free tools like <a href="https://www.microsoft.com/en-gb/bing?ep=0&amp;form=MA13NY&amp;es=93">Bing Chat</a>. Here’s how to start:</p><p><a href="https://www.microsoft.com/en-gb/bing?ep=0&amp;form=MA13NY&amp;es=93"><strong>Try Bing Chat for Web Search</strong></a><strong>: </strong>Begin by using Bing Chat in your web searches. This feature integrates AI-powered responses alongside traditional search results, allowing you to interact with AI in a familiar setting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*WEMCrk5f73tkRvHuAw6YgA.gif" /></figure><p><strong>Interact and Experiment: </strong>Engage with Bing Chat by asking questions, from simple queries to complex requests. This practice will help you understand the depth and breadth of generative AI’s capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ukr02CC06bu6Uiyvn3QB-g.png" /><figcaption>Try some of the predefined prompts.</figcaption></figure><p><strong>Integrate AI into Daily Use:</strong> As you become more comfortable, incorporate Bing Chat more regularly into your internet use to see how generative AI can enhance your productivity and creativity.</p><h3><strong>Conclusion</strong></h3><p>Generative AI, with its remarkable ability to discern patterns, offers boundless possibilities. Yet, it’s crucial to recognise that this technology holds the power to alter our world in both positive and negative ways. The challenge lies in navigating the inherent paradoxes to mitigate adverse effects on individuals while capitalising on the vast opportunities available to the masses.</p><p>I welcome your insights on these subjects. Connect with me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn</a>, or share your thoughts in the comments below.</p><p>This guide was developed with the support of generative AI. Here are some AI-powered tools I’ve utilised, all offering free usage options:</p><ul><li><a href="https://www.bing.com/chat"><strong>BingChat </strong></a>was used to scour the web for examples and inspiration and verify content validity sources.</li><li><a href="https://neuromermaid.ai/pages/"><strong>Neuro Mermaid AI</strong></a> assisted in researching topics, verifying sources, and generating mind maps.</li><li><a href="http://grammarly.com/"><strong>Grammarly</strong> </a>was used to ensure the wording remained clear and understandable.</li></ul><p>These tools have enhanced the writing process of this article, helping me express my knowledge and insights. While I’ve curated, validated, and shaped the content, countless hours have been dedicated to research, conceptualisation, and editing. I believe this has elevated the quality of my content and provided a collaborative partner to fuel my drive to democratise generative AI and increase its accessibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fe404de07ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/databutton/a-non-tech-beginners-guide-to-generative-ai-3fe404de07ab">A Non-Tech Beginner’s Guide to Generative AI</a> was originally published in <a href="https://medium.com/databutton">Databutton</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Made an AI Team do my Work for me using Cohere and CrewAI]]></title>
            <link>https://medium.com/@elle.neal_71064/how-i-made-an-ai-team-do-my-work-for-me-using-cohere-and-crewai-c9044b7ff027?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9044b7ff027</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[efficiency]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-assistant]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sun, 18 Feb 2024 21:53:17 GMT</pubDate>
            <atom:updated>2024-02-18T21:53:17.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jtNA3kgeNVFBSdHV" /><figcaption>ChatGPT Vision</figcaption></figure><h3>Introduction</h3><p>As generative AI reshapes our interaction with technology, CrewAI emerges as a beacon of innovation. This narrative begins with my journey leveraging <a href="https://www.crewai.io/">crewAI — Multi AI Agents systems.</a> alongside <a href="https://cohere.com/">Cohere’s Chat model</a> to automate complex tasks, transcending traditional skill boundaries.</p><p>My exploration with <a href="https://www.databutton.io/">Databutton</a>, an intuitive platform for crafting AI-driven applications through conversation, unveils the untapped potential of generative AI Agents. Databutton democratizes AI development, erasing the daunting barriers of coding, and empowers creators to forge powerful, data-driven solutions. This journey is not just about automation; it’s about unlocking creativity and making impactful AI accessible to all.</p><blockquote>“Great ideas could and should come from everywhere. We’re making it possible for anyone to succeed in making real world impact with AI.” — Databutton</blockquote><p>Continue reading to discover how I leveraged AI to assist in my work and to see the final output, emphasizing that while AI plays a supportive role, the human element remains crucial. These AI agents accelerate our knowledge work, allowing us to concentrate on creating more value. My ambition is to showcase how this technology can empower charity organizations, driving innovation and efficiency, and enabling them to deliver greater value to their communities.</p><p>Let’s dive in!</p><h3><strong>The Evolution of Prompting</strong></h3><p>As we explore the advancements in AI’s capability to understand and interact with us, it’s helpful to trace the evolution of how we communicate with these intelligent systems. From the initial days of command-based prompts to the nuanced and adaptive approaches of today, each stage in the development of prompting technology has brought us closer to creating AI that can reason, understand context, and even take initiative. This journey highlights a significant shift towards AI models that not only follow instructions but also engage in meaningful, dynamic dialogues, mirroring human cognitive processes more closely than ever before.</p><ol><li><strong>Command-Based Prompts: </strong>Initial AI models required direct, explicit instructions for performing specific tasks, lacking flexibility and understanding.</li><li><strong>Natural Language Understanding (NLU):</strong> AI advanced to interpret complex, human-like prompts, allowing for more nuanced interactions.</li><li><strong>Contextual and Dynamic Prompting: </strong>Models gained the ability to adjust responses based on ongoing dialogues, enhancing conversation continuity.</li><li><strong>Chain-of-Thought (CoT) Prompting: </strong>AIs began simulating logical reasoning processes for more complex problem-solving, improving interpretability.</li><li><strong>ReAct Prompting: </strong>The latest evolution combines reasoning with the capability to fetch external information, significantly enhancing AI problem-solving and adaptability.</li></ol><p>These milestones illustrate the journey towards AI that more closely mimics human cognitive abilities, marking progress from simple instruction-following to complex, dynamic problem-solving and reasoning.</p><h3>What Exactly is ReACT Prompting?</h3><p>Diving into the cutting-edge of AI interaction, ReACT prompting stands as a significant leap forward. This innovative approach marries the processes of thinking and acting, enabling AI models to not only reason and “show their work” but also to proactively gather external information. This mirrors human problem-solving closely, enhancing AI’s accuracy, trustworthiness, and performance on complex tasks. ReACT prompting embodies a shift towards AI that can interact with and understand the world in a manner akin to human cognition.</p><h4>Combining Thought and Action</h4><p>ReAct prompting revolutionizes AI by enabling models to not only generate reasoning traces — essentially showing their work — but also to take actions, such as fetching information from external sources. This approach mirrors human problem-solving, where we think through a plan and then act on it, allowing the AI to dynamically adjust its strategy based on new information.</p><h4>Enhanced Accuracy and Trust</h4><p>By interfacing with the external world, ReAct-equipped AIs can supplement their internal knowledge with up-to-date information, leading to more accurate and reliable responses. This ability to “think out loud” and show the reasoning process behind their conclusions also makes these AI models more transparent and trustworthy to users.</p><h4>Superior Performance on Complex Tasks</h4><p>Through practical applications and research, ReAct has demonstrated its superiority over traditional methods in various complex tasks. Whether it’s answering multifaceted questions, verifying facts, or navigating decision-making scenarios, ReAct’s integration of reasoning and action enables AI to perform at a higher level, making significant strides toward AI that can understand and interact with the world more like humans do.</p><h3>Introducing CrewAI</h3><p>At the heart of today’s technological advancement, <a href="https://www.crewai.io/">CrewAI</a>. emerges as a multi-agent framework designed to revolutionize how engineers and developers leverage AI.</p><p>By prioritising collaborative intelligence, CrewAI enables multiple AI agents to work together, solving complex problems with enhanced creativity and decision-making. It’s built on the principle of simplicity through modularity, allowing for customizable agent roles, goals, and tools.</p><blockquote>Crew AI is not just about automating tasks but fostering an environment where AI agents act as cohesive teams, demonstrating the potential for AI to work alongside humans in innovative ways</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1J7ZvOpLeOiEZzN3.png" /><figcaption><a href="https://github.com/joaomdmoura/CrewAI?tab=readme-ov-file#key-features">CrewAI</a></figcaption></figure><h3>Let’s assemble our AI Crew!</h3><p>As we gear up to unveil the capabilities of CrewAI, my goal is crystal clear: to harness the power of AI to revolutionize the way we approach tasks, particularly in the realm of charity organizations. CrewAI, with its advanced AI agents, is not just about completing tasks; it’s about redefining efficiency and innovation.</p><p>By delegating research and content creation to these AI agents, I aim to uncover new generative AI use cases that can significantly enhance the value charities provide to their communities.</p><blockquote>This endeavour is not merely about task automation; it’s a mission to empower organizations to do more, with less, propelling them towards greater impact and service.</blockquote><p>There are four steps in this process, first we install and import libraries, we then need to assemble our AI Crew and finally we kick off the workflow.</p><h4>1. Install and Import Libraries and Setup our Tools</h4><p>We will start by install and import our libraries from Crewai and Langchain.</p><p>We then set our search tool, we will use a free search tool from duckduckgo.</p><p>Finally, we will set up our chat language model. I am using Cohere’s chat model availabe through langchain.</p><p><strong>Cohere </strong>is a leading AI company specializing in natural language understanding and generation. By offering a powerful chat model, Cohere enables developers to build applications that can understand and generate human-like text. This capability is particularly useful for creating chatbots, automating customer service, and enhancing data analysis.</p><p>I chose Cohere’s model for its advanced language understanding capabilities and ease of integration via LangChain. Their model’s ability to grasp context and generate coherent responses aligns with my goal of developing AI-driven solutions that augment human work, especially in streamlining and innovating processes within charity organizations.</p><p>Get your free developer API key here: <a href="https://cohere.com/">Cohere | The leading AI platform for enterprise</a></p><pre>pip install --quiet crewai duckduckgo-search cohere serpapi beautifulsoup4</pre><pre>import os<br>from crewai import Agent, Task, Crew, Process<br>from langchain_community.chat_models import ChatCohere<br>from langchain.tools import DuckDuckGoSearchRun<br>from langchain.agents import load_tools<br><br>search_tool = DuckDuckGoSearchRun() #enabling the agents to have access to the internet<br><br>os.environ[&quot;COHERE_API_KEY&quot;] = &quot;COHERE_API_KEY&quot;<br># Initiate our LLM chat model from Cohere<br>llm=ChatCohere(temperature=0.3)</pre><h4>2. Specifying AI Agent’s Role, Goals, Backstories, Tasks and Tools</h4><p>Here comes the fun part, we can now build our team, we can give them a role, a goal, a backstory and a task to complete. We can even give them access to tools to complete actions and maintain knowledge about the current state of the world.</p><p>Let’s meet the team!</p><h4>Agent 1: Our Senior Research Analyst</h4><p>This crew member’s main purpose and goal is to research our real-world use cases, by enabling this agent to focus solely on this task, we can add complexity and a specific skill to complete our research. Once they have achieved the goal, their work will be passed on to the next agent, who we will meet shortly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UkTc8r-kUCUQcvDb" /><figcaption>ChatGPT Vision</figcaption></figure><p><strong>Role: </strong>Senior Research Analyst’,</p><p><strong>Goal: </strong>Uncover real use cases of generative AI applied across charity organisations., search the internet to identifying real-life use cases’,</p><p><strong>Backstory: </strong>You are a Senior Research Analyst at a leading tech think tank.</p><p>Your expertise lies in identifying emerging trends and technologies in generative ai, identifying real-world use cases and providing the organisation name (you must know the actual company name), how they have applied it and the benefits they are experiencing.</p><p>You have a knack for dissecting complex data and presenting actionable insights.</p><p><strong>Task: </strong>Conduct a comprehensive analysis of the latest use cases of generative AI applied across charity organisations. Search the internet to identifying real-life use cases’</p><p>Identifying real-world use cases and providing the organisation name(you must know the actual company name), how they have applied it and the benefits they are experiencing. Compile your findings in a detailed report.</p><p>Your final answer MUST be a full analysis report containing the full details of the generative ai use cases.</p><p><strong>Tools: </strong>DuckDuckGoSearch (internet search)</p><pre># Define your agents with roles and goals<br>researcher = Agent(<br>  role=&#39;Senior Research Analyst&#39;,<br>  goal=&#39;Uncover real use cases of generative AI...&#39;,<br>  backstory=&quot;&quot;&quot;You are a Senior Research Analyst...&quot;&quot;&quot;<br>  verbose=True,<br>  allow_delegation=False,<br>  llm=llm,<br>  tools=[search_tool]<br>)<br><br>task1 = Task(<br>  description=&quot;&quot;&quot;Conduct a comprehensive analysis of..&quot;&quot;&quot;,<br>  agent=researcher<br>)</pre><h4>Agent 2</h4><p>This crew member’s main purpose and goal is to take the research from our analyst and focus on their main skill which is to write compelling content, enabling our research to come to life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uhIB6k0ONMzaU1Hr" /></figure><p><strong>Role: </strong>Tech Content Strategist</p><p><strong>Goal: </strong>Craft compelling content on tech advancements</p><p><strong>Backstory: </strong>You are a renowned Tech Content Strategist, known for your insightful and engaging articles on technology and innovation. With a deep understanding of the tech industry, you transform complex concepts into compelling narratives.</p><p><strong>Task: </strong>Using the insights from the researcher’s report, develop an engaging blog post that highlights the most significant AI advancements. , search the internet to validate the real-life use cases.</p><p>Report on real-world use cases and provide the organisation name, how they have applied it and the benefits they are experiencing. Your post should be informative yet accessible, catering to a tech-savvy audience.</p><p>Aim for a narrative that captures the essence of these breakthroughs and their implications for the future.<br><br> Your final answer MUST be the full blog post of at least 5 paragraphs.</p><p><strong>Tools: </strong>DuckDuckGoSearch (internet search)</p><pre>writer = Agent(<br>  role=&#39;Tech Content Strategist&#39;,<br>  goal=&#39;Craft compelling content on tech advancements&#39;,<br>  backstory=&quot;&quot;&quot;You are a renowned Tech Content Strategist...&quot;&quot;&quot;,<br>  verbose=True,<br>  allow_delegation=False,<br>  llm=llm,<br>  # Passing search and human tools to the agent<br>  tools=[search_tool]<br>)<br><br>task2 = Task(<br>  description=&quot;&quot;&quot;Using the insights from the researcher&#39;s report...&quot;&quot;&quot;,<br>  agent=writer<br>)</pre><h4>3. Instantiate the Team and Kickoff the Workflow</h4><p>Let’s get the team to work, we just need to instantiate the crew and kickoff!</p><pre># Instantiate your crew with a sequential process<br>crew = Crew(<br>  agents=[researcher, writer],<br>  tasks=[task1, task2],<br>  verbose=1<br>)<br><br># Get your crew to work!<br>result = crew.kickoff()<br><br>print(&quot;######################&quot;)<br>print(result)</pre><h3>Final Research and Content</h3><p>Our team completed their task in less than a minute! I was able to follow their thoughts, actions and observations through the verbose. Check this out below!</p><p><strong>Working Agent</strong>: Senior Research Analyst</p><p><strong>Thought</strong>: Do I need to use a tool?</p><p><strong>Yes Action</strong>: duckduckgo_search</p><p><strong>Action Input</strong>: “generative AI charity use cases”</p><p><strong>Final Answer<em>:</em> </strong>“The results indicate several promising applications of generative AI in charities. Here are some notable examples:</p><ol><li><strong>Red Cross: </strong>The British Red Cross has utilized generative AI to create personalized disaster preparedness guides. Using AI-powered algorithms, the organization can now tailor emergency plans based on location, climate, and specific vulnerabilities. This ensures better preparation and improves the organization’s response to crises.</li><li><strong>Charity: Water: </strong>This organization has partnered with AI creative studio Persado to leverage generative AI for its #ReimagineWater campaign. AI-powered tools were used to create attention-grabbing visuals and marketing materials, enhancing their ability to communicate important messages and raise funds for clean water projects.</li><li><strong>UNESCO: </strong>The United Nations Educational, Scientific and Cultural Organization has integrated generative AI into its ongoing initiatives. AI is used to translate and disseminate critical information and educational materials in multiple languages, making them accessible to a broader audience and facilitating cultural understanding.</li></ol><p>These examples illustrate how generative AI is being applied in the charity sector, promoting efficiency, customization, and enhanced communication and advocacy.”</p><p><strong>&gt; Finished chain.</strong></p><p><strong>Working Agent:</strong> Tech Content Strategist</p><p><strong>Thought: </strong>Do I need to use a tool?</p><p><strong>Yes Action: </strong>duckduckgo_search</p><p><strong>Action Input: </strong>AI advancements in charities</p><p><strong>Observation: </strong>A multitude of sources detailing charities adoption of AI technology to improve outreach, engagement, and fundraising.</p><p><strong>Thought:</strong> Do I need to use a tool? No</p><p><strong>Final Answer: </strong>Building on the draft written, here is an expanded version of the blog post highlighting the use of AI in charities</p><p>“In a world where technology constantly evolves and progresses, charities are embracing the latest advancements in AI to enhance their operations and maximize their impact on the world. From personalized disaster preparedness to AI-generated marketing materials and multilingual translation, these organizations demonstrate how AI promotes efficiency, customization, and enhanced communication in the charity sector.</p><p>The blog post will focus on three distinct charities: the Red Cross, Charity: Water, and UNESCO. These organizations harness the power of generative AI to pioneer innovative solutions and services to society’s most pressing problems, truly demonstrating the potential of AI for good.</p><p><strong>The Red Cross</strong> utilizes AI algorithms to create personalized disaster preparedness guides. These guides are tailored to individuals’ locations, climates, and vulnerabilities, allowing the organization to respond more effectively to crises. By leveraging AI’s predictive capabilities, the Red Cross can empower communities with vital information and increase their resilience in the face of potential disasters.</p><p><strong>Charity: Water</strong>, an organization on a mission to provide clean drinking water worldwide partnered with AI creative studio Persado. Together they created attention-grabbing visuals and marketing materials to raise awareness and funds for their cause. By harnessing the creative powers of generative AI, Charity: Water can effectively communicate their mission, engaging their supporters and fostering meaningful action.</p><p><strong>UNESCO</strong> integrates generative AI across several initiatives, notably its translation and dissemination of critical information. With AI, they can swiftly and accurately translate educational materials and press releases into multiple languages. This breakthrough technology breaks down language barriers and fosters cultural understanding worldwide.</p><p>These examples merely scratch the surface of how AI is transforming the charity industry. These organizations are pioneers, leveraging cutting-edge technology to streamline operations, amplify voices, and generate positive change on a global scale. The implications of these advancements are limitless, and as technology continues to evolve, we can only imagine what the future holds.</p><p>While this blog post has explored only a few examples, the charity sector is continually embracing AI’s potential. No doubt, there are other inspiring use cases and innovative applications. Stay tuned for further updates and sign up for notifications to be the first to know about the latest AI advancements in charities and the extraordinary impact they have on the world.”</p><p><strong>&gt; Finished chain.</strong></p><h4>Verifications:</h4><ul><li>Charity Water: <a href="https://www.persado.com/wp-content/uploads/charity-water-Persado-Case-Study-May-2019-1.pdf">charity-water-Persado-Case-Study-May-2019–1.pdf</a></li><li>Red Cross: <a href="https://www.itu.int/hub/2022/03/ai-disaster-management-early-warning/">How AI can help protect us from disasters — ITU Hub</a></li><li>UNESCO: <a href="https://www.unesco.org/en/articles/new-report-and-guidelines-indigenous-data-sovereignty-artificial-intelligence-developments">New report and guidelines for indigenous data sovereignty in artificial intelligence developments | UNESCO</a></li></ul><p>Our final output provides a great starting point for researching additional content and fine-tuning the output to be more like your writing style and message. I am now able to continue my research and share my findings with the charity community.</p><h3><strong>Conclusion</strong></h3><p>As we conclude this narrative, it’s evident that CrewAI and Cohere are not just tools but catalysts for a paradigm shift in technological empowerment.</p><p>The synergy between human creativity and AI’s capabilities has set the stage for unparalleled innovation. My experience stands as a testament to the transformative power of generative AI, offering a glimpse into a future where AI collaboration is not just a possibility but a staple of creative and analytical endeavors.</p><p>The journey with CrewAI is more than automation; it’s about envisioning and realizing the art of the possible in a world augmented by AI.</p><p>I would love to hear your thoughts on the use of CrewAI, comment below and let me know how they could automate your workflow.</p><p>Follow me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn</a> for more tutorials and Generative AI content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9044b7ff027" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Balancing Act: Navigating the Future of NHS with Generative AI]]></title>
            <link>https://medium.com/@elle.neal_71064/balancing-act-navigating-the-future-of-nhs-with-generative-ai-80be8ca94581?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/80be8ca94581</guid>
            <category><![CDATA[nhs]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Mon, 12 Feb 2024 22:10:39 GMT</pubDate>
            <atom:updated>2024-02-12T22:10:39.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vJfz3-_I4WX1iZjV" /><figcaption>ChatGPT</figcaption></figure><h3><strong>Introduction</strong></h3><p>The NHS stands at a crossroads, facing unprecedented pressures from soaring waiting lists, staffing shortages, and an insatiable demand for care. In this critical moment, the potential of Generative AI, exemplified by innovations like <a href="https://aws.amazon.com/healthscribe/">AWS HealthScribe</a>, emerges as a beacon of hope. Yet, as we embark on this digital transformation, it’s crucial to tread carefully, balancing the immense opportunities with the inherent risks. This article delves into the complexities of integrating Generative AI into the NHS, *aiming to inspire and inform<strong>,</strong> while also highlighting strategies to mitigate potential pitfalls.</p><p><em>*</em><strong><em>Note: </em></strong><em>This blog post is a conceptual exploration aimed at sparking discussion and innovation within the healthcare sector. The full disclaimer can be found at the end of this post.</em></p><h3><strong>The NHS in Distress</strong></h3><p>The NHS’s struggle is multifaceted. Long waiting lists have become a staple, <a href="https://www.bma.org.uk/advice-and-support/nhs-delivery-and-workforce/pressures/nhs-backlog-data-analysis?_gl=1*8gp34z*_gcl_au*MTY5NTc4NTk2OC4xNzA3MzExOTM1">with December 2023 witnessing 7.6 million cases on the treatment waiting list. Staffing and resource shortages further compound these issues, leaving medical professionals overburdened and patients waiting for care. Emergency departments are overstretched, and cancer treatment times are alarmingly below targets</a>. These challenges underscore the urgent need for innovative solutions to support healthcare delivery and staff welfare.</p><h3>More patients than ever are waiting for treatment</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_q7PAjhq5xDtQUuCTjjAYg.png" /><figcaption><a href="https://www.england.nhs.uk/statistics/statistical-work-areas/rtt-waiting-times/rtt-data-2022-23/">https://www.england.nhs.uk/statistics/statistical-work-areas/rtt-waiting-times/rtt-data-2022-23/</a></figcaption></figure><h3><strong>The Promise of Generative AI</strong></h3><p>AWS HealthScribe represents a transformative approach to clinical documentation, leveraging Generative AI to streamline healthcare processes. This tool is designed to alleviate the administrative burdens faced by healthcare professionals, allowing them to focus more on patient care. By automatically generating accurate and summarised clinical notes, AWS HealthScribe enhances the efficiency of patient consultations and overall care delivery.</p><p>The service emphasises building trust with clinicians through features that ensure easy validation of AI-generated insights, providing traceability and transparency in clinical documentation. AWS HealthScribe’s ability to classify dialogue into different categories based on the discussion’s nature further improves the clinical experience. Additionally, its HIPAA eligibility and robust privacy and security features protect patient data, reinforcing clinician trust.</p><p>AWS HealthScribe facilitates quick review of clinical notes, enabling clinicians to efficiently understand the content of their discussions. The feature that allows validation of specific insights from the AI-generated summary by referring back to the exact dialogue adds a layer of accuracy and transparency to clinical documentation. Overall, AWS HealthScribe’s capacity to improve the efficiency of clinical documentation significantly benefits the healthcare sector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*MfR8gXF1yHH495nTYud0RQ.gif" /><figcaption><a href="https://github.com/aws-samples/aws-healthscribe-demo">https://github.com/aws-samples/aws-healthscribe-demo</a></figcaption></figure><h3>Mitigating Risks with AWS HealthScribe</h3><p>The integration of Generative AI into healthcare, exemplified by tools like AWS HealthScribe, presents a paradigm shift in medical practice. To ensure this transition benefits all stakeholders — patients, healthcare professionals, and the healthcare system at large — a strategic approach that addresses potential risks while maximising opportunities is imperative.</p><h4>Ethical Considerations</h4><p><strong>Risk: </strong>Generative AI could inadvertently perpetuate biases present in training data, leading to unequal healthcare outcomes.</p><p><strong>Mitigation by AWS HealthScribe: </strong>While AWS HealthScribe’s specific measures to address biases in its algorithms are not detailed, the service’s commitment to responsible AI use, including HIPAA eligibility and data privacy, underscores an awareness of ethical concerns.</p><p><strong>Further Mitigation Strategies:</strong> Adoption of ethical AI frameworks and regular audits of AI algorithms can help identify and correct biases. Engaging diverse datasets in training AI systems and involving multidisciplinary teams in development processes can further ensure equitable healthcare outcomes.</p><h4>Regulatory Compliance</h4><p><strong>Risk: </strong>The rapid evolution of AI technologies poses challenges for existing regulatory frameworks, risking patient safety and data protection.</p><p><strong>Mitigation by AWS HealthScribe:</strong> AWS HealthScribe’s HIPAA eligibility indicates compliance with stringent data protection standards. By encrypting data in transit and at rest, and not using patient data to train its models, AWS HealthScribe addresses key regulatory compliance concerns.</p><p><strong>Further Mitigation Strategies: </strong>Continuous dialogue between AI developers, healthcare providers, and regulatory bodies is essential. Developing clear guidelines that evolve alongside AI technologies can help maintain compliance and safeguard patient interests.</p><h4>Interoperability</h4><p><strong>Risk: </strong>Integrating AI tools with existing healthcare IT systems is crucial for their effective use but can be hindered by technological barriers.</p><p><strong>Mitigation by AWS HealthScribe:</strong> AWS HealthScribe’s design for easy integration through a single API demonstrates an understanding of the need for interoperability. Its compatibility with healthcare-specific large language models (LLMs) facilitates seamless integration into existing systems.</p><p><strong>Further Mitigation Strategies:</strong> Investment in standardising healthcare data formats and protocols can enhance interoperability. Encouraging the adoption of open standards and APIs among healthcare software vendors can further ease integration challenges.</p><h4>Education and Training</h4><p><strong>Risk: </strong>Healthcare professionals may lack the knowledge or understanding to effectively utilise AI technologies, potentially undermining their benefits.</p><p><strong>Mitigation by AWS HealthScribe: </strong>Although AWS HealthScribe offers a user-friendly interface and detailed developer guides.</p><p><strong>Further Mitigation Strategies: </strong>Comprehensive training programs and continuous professional development courses on AI in healthcare can empower professionals to use these technologies confidently. Including AI literacy in medical education curricula can prepare future healthcare providers for an AI-integrated healthcare environment.</p><p>By addressing these risks with thoughtful strategies and leveraging tools like AWS HealthScribe, the healthcare sector can harness the potential of Generative AI to improve efficiency, enhance patient care, and navigate the future of healthcare innovation responsibly.</p><h3>Conclusion and Recommendations</h3><p>In conclusion, the potential of Generative AI, with services like AWS HealthScribe, stands as a pivotal innovation in modernising the NHS and addressing its current challenges. The balance between leveraging these technological advances and safeguarding ethical standards, regulatory compliance, and data security is delicate but manageable. AWS HealthScribe’s contribution is significant, yet the broader success of AI in healthcare depends on collective action.</p><p>To achieve a harmonious integration of Generative AI within the NHS, the following recommendations are proposed:</p><ol><li><strong>Establish Comprehensive Ethical Oversight: </strong>Form multidisciplinary committees that include ethicists, clinicians, and AI experts to oversee the deployment of Generative AI tools and ensure equitable healthcare outcomes.</li><li><strong>Enhance Regulatory Frameworks:</strong> Work closely with regulatory bodies to update and refine regulations that govern the use of AI in healthcare, ensuring they keep pace with technological advancements.</li><li><strong>Invest in Interoperable Systems: </strong>Commit to the development of interoperable healthcare IT systems that can integrate AI tools like AWS HealthScribe without friction, promoting seamless data exchange and workflow efficiency.</li><li><strong>Expand Educational Initiatives: </strong>Develop comprehensive educational programs for healthcare professionals focused on AI literacy, ensuring they are equipped to adopt and utilise AI technologies effectively.</li><li><strong>Engage in Continuous Evaluation:</strong> Implement ongoing evaluation mechanisms for AI tools to monitor their impact on healthcare delivery and patient outcomes, allowing for iterative improvements.</li></ol><p>By embracing these recommendations, the NHS can navigate the complexities of Generative AI, realising its potential to transform healthcare delivery while maintaining the highest standards of patient care and data stewardship.</p><p>Follow me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn </a>for insights into how Generative AI is transforming our world.</p><h3><strong>Disclaimer:</strong></h3><p><em>The content of this blog post is intended for informational and inspirational purposes only. It explores existing challenges within the NHS and discusses potential solutions, such as the integration of Generative AI technologies like AWS HealthScribe, to inspire and promote ideation among healthcare professionals.</em></p><p><em>The post is not intended as a definitive solution but rather as a catalyst for discussion and innovation in the healthcare industry. The views and ideas expressed are meant to encourage those in the profession to consider and possibly implement advanced systems to enhance healthcare delivery.</em></p><p><em>Readers are advised to consult with professional healthcare IT specialists and conduct thorough due diligence before considering the deployment of any such systems. This post is not an endorsement of specific products or services and should not replace professional advice or expert opinion in the planning, development, or execution of healthcare IT projects.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80be8ca94581" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intelligent Workflows: How AI Knowledge Assistants Amplified My Productivity]]></title>
            <link>https://medium.com/@elle.neal_71064/intelligent-workflows-how-ai-knowledge-assistants-amplified-my-productivity-9d10ef2f900f?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d10ef2f900f</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[adhd]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sat, 10 Feb 2024 20:41:42 GMT</pubDate>
            <atom:updated>2024-02-10T20:41:42.242Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hvj04ltte5YYL_5l" /><figcaption>ChatGPT</figcaption></figure><h3><strong>Introduction</strong></h3><p>In the digital age where every second counts, AI Knowledge Assistants have emerged not merely as tools but as catalysts for transformation, enhancing the capabilities of knowledge workers like myself. These assistants empower us to navigate complex challenges with unprecedented efficiency and creativity. <a href="https://www.forbes.com/sites/forbestechcouncil/2019/12/17/reality-check-still-spending-more-time-gathering-instead-of-analyzing/?sh=57b0d90428ff">Research from McKinsey reveals that knowledge workers spend nearly a fifth of their time seeking information</a> — a challenge I’ve personally overcome by integrating AI assistants into my workflow, which has significantly augmented my productivity and reduced cognitive overhead.</p><p><a href="https://cohere.com/">Cohere</a>, a leader in natural language understanding and AI-driven automation, aims to transform organisations by automating complex cognitive tasks, enabling humans to concentrate on more strategic activities. Echoing the transformative impact of the steam engine on physical labour, Cohere’s vision focuses on reducing the cognitive burden through AI, as articulated by Aidan Gomez, its Co-founder and CEO. And true to his words, my experience as a Data Scientist has been revolutionised by AI; it’s been like discovering a new gear in a machine that’s been running at the same pace for years.</p><blockquote>“Over the next five years, I think we’ll be able to automate any human task that we decide we don’t want to do. Just as the steam engine took the physical load off our backs, AI will do the same for the cognitive load.” — Aidan Gomez, Co-founder and CEO, Cohere</blockquote><p><a href="https://www.mckinsey.com/capabilities/quantumblack/how-we-help-clients/humans-behind-ai/aidan-gomez">Humans behind AI: Aidan Gomez | QuantumBlack | McKinsey &amp; Company</a></p><p>Through this article, my intention is to not just share knowledge but to ignite a spark of empowerment, encouraging you to explore how AI Knowledge Assistants can enhance your day-to-day tasks. My journey, marked by ADHD, has been transformed by these AI partners, enabling me to stay focused and in the flow — essential for someone who can easily get lost in a sea of distractions.</p><p>Join me as we dive into the realm of AI Knowledge Assistants, where we unravel the myriad ways they can serve as your ally in the workplace. Each query is a step towards unlocking a treasure trove of productivity and innovation, and every answer opens up a world of opportunities waiting to be seized.</p><h3>Understanding the Evolution from Traditional Chatbots to AI Knowledge Assistants</h3><p>Imagine beginning your exploration of AI Knowledge Assistants with a clear visual contrast, as depicted in the first image. This image showcases the distinction between traditional rule-based chatbots, which operate on a fixed set of scripted responses, and advanced AI language models that understand the nuances of human conversation. Rule-based systems ask a series of predetermined questions, often leading to a robotic and frustrating user experience. I recall, during my tenure at BPA Quality, the times we quality-monitored customer interactions with these chatbots. It was common to witness the limitations of these systems first-hand, as they struggled to comprehend anything outside their programmed scope.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*72h7GS09aPbMSc4VIxdrcg.png" /><figcaption>Image: Elle Neal</figcaption></figure><p>This is where the new age of AI Knowledge Assistants shines. They are not confined to predetermined paths but can grasp the semantic meaning behind words, harnessing retrieval-augmented intelligence to provide contextually relevant and nuanced responses. These systems represent a significant shift in how we envision work, equipping individuals to accomplish more in less time, with diminished frustration.</p><p>A second image illustrates this paradigm shift with compelling statistics from a GitHub study on their Copilot product. <a href="https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/?utm_source=ai4bi.beehiiv.com&amp;utm_medium=referral&amp;utm_campaign=the-4-supercategories-of-generative-ai">It shows that 88% of users feel more productive</a>, while significant percentages report less frustration, increased job fulfilment, and a heightened ability to focus on satisfying work. This resonates with my own experiences as a data scientist and AI application developer. Before tools like Copilot, my workflow involved a constant back-and-forth between my integrated development environment (IDE) and search engines, a repetitive and time-consuming process that often led to frustration.</p><blockquote><a href="https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/?utm_source=ai4bi.beehiiv.com&amp;utm_medium=referral&amp;utm_campaign=the-4-supercategories-of-generative-ai">It shows that 88% of users feel more productive</a>, while significant percentages report less frustration, increased job fulfilment, and a heightened ability to focus on satisfying work.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*v6YLVtu6TAXPwx-kPyD68Q.png" /><figcaption><a href="https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/?utm_source=ai4bi.beehiiv.com&amp;utm_medium=referral&amp;utm_campaign=the-4-supercategories-of-generative-ai">Research: quantifying GitHub Copilot’s impact on developer productivity and happiness — The GitHub Blog</a></figcaption></figure><p>Now, with the advent of AI assistants, the story has changed. In my role, these tools have been a game-changer, streamlining my coding practices, accelerating my learning curve, and broadening my creative horizons. They have transformed my workday, allowing me to generate more value and foster innovation without the inefficiencies of traditional methods. This shift towards AI-assisted workflows is not just about smart technology; it’s about empowering people to excel in their roles with greater satisfaction and less tedium.</p><h3>The Future of Work: AI Knowledge Assistants at the Forefront</h3><p>The modern workplace is in the midst of a transformation, with AI Knowledge Assistants leading the charge towards increased efficiency, productivity, and innovation. As we delve into this future, let’s explore how some of the most advanced AI chatbots are redefining the landscape for knowledge workers.</p><h4>ChatGPT</h4><p><a href="https://chat.openai.com/">ChatGPT</a>, developed by OpenAI, has quickly become synonymous with generative AI. Known for its ability to understand and generate human-like text, ChatGPT can assist knowledge workers by drafting emails, coding, summarising documents, and even generating creative content. Its versatility makes it an indispensable tool for a wide array of professional tasks, providing users with a collaborative companion that enhances their work.</p><p>As my thought partner, ChatGPT has been instrumental in guiding me through various topics and concepts. It’s been a game-changer for brainstorming ideas and learning new information in a style that suits me. Before its introduction, I’d find myself incessantly Googling phrases to grasp abstract concepts. Now, ChatGPT helps me stay in the flow, which is crucial for me as I can easily get side tracked.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FoLjZva6JvLI&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DoLjZva6JvLI&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FoLjZva6JvLI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a39d419d88639843e3613dc0029b6eb8/href">https://medium.com/media/a39d419d88639843e3613dc0029b6eb8/href</a></iframe><h4>BingChat/Copilot</h4><p><a href="https://www.bing.com/search?q=Bing+AI&amp;showconv=1">BingChat</a>, also known as Copilot, is Microsoft’s foray into AI-driven search and assistance. Integrated directly into the Bing search engine and Microsoft 365 suite, it acts as an informant that can contextualise information from the web and an organisation’s documents. It is particularly useful for tasks that require consolidation of data from various sources, offering a streamlined way to navigate and analyse information.</p><p>This has served as a vital informant, weaving through the web and my organisation’s documents to provide context-rich information. It’s streamlined my data analysis tasks, helping me synthesise information from disparate sources efficiently, which has been a boon for my productivity.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fjm3Y_UA2qUo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Djm3Y_UA2qUo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fjm3Y_UA2qUo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc6504d0cd15f6736a847daa8354b08b/href">https://medium.com/media/fc6504d0cd15f6736a847daa8354b08b/href</a></iframe><h4>Google Gemini Ultra</h4><p>Recently rebranded from Bard to <a href="https://deepmind.google/technologies/gemini/#introduction">Gemini Ultra</a>, Google’s AI chatbot leverages the power of Google’s language models. Gemini Ultra is designed to be a multifaceted maven in the workplace, handling complex tasks like content generation, data analysis, and providing insights based on the vast ocean of information available through Google’s ecosystem. Its integration with various Google services makes it a potent tool for knowledge workers who rely on Google’s suite of applications.</p><p>Gemini Ultra has been a versatile assistant, adept at content generation and data analysis. It’s been particularly beneficial in leveraging the breadth of Google’s information repository, enhancing my capability to extract insights and apply them in my work.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fb5Fh7TaTkEU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Db5Fh7TaTkEU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fb5Fh7TaTkEU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1977cd07584a7a7c99594ea84621efaa/href">https://medium.com/media/1977cd07584a7a7c99594ea84621efaa/href</a></iframe><h4>Miro Assist</h4><p><a href="https://miro.com/">Miro</a> Assist is the AI-powered sidekick for one of the most popular visual collaboration platforms, Miro. It is best known for helping users bring their ideas to life by assisting in creating and organising visual boards. For knowledge workers who rely on brainstorming and strategy sessions, Miro Assist can be a game-changer, offering suggestions and insights to enhance collaboration and ideation.</p><p>Miro Assist has been a visual ally, assisting me in ideating and organising presentations, especially when translating technical concepts for non-technical audiences. Its support has been invaluable in improving my visual communication and aiding my presentations.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGouDogKO-gg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGouDogKO-gg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGouDogKO-gg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5042be912d0ce95382b4b92d8d322651/href">https://medium.com/media/5042be912d0ce95382b4b92d8d322651/href</a></iframe><h4>Databutton</h4><p><a href="https://www.databutton.io/">Databutton</a> specialises in building full-stack applications through conversation. It’s a platform that streamlines the development process for knowledge workers who may not have extensive coding skills but need to create and deploy applications quickly. Databutton simplifies this by using conversational AI to interpret user requirements and assist in the application-building process.</p><p>With Databutton, I’ve been empowered to cut through the complexity of application development. It has assisted me in crafting react components, creating FastAPI calls, and unifying it all on the frontend all through conversation. This has allowed me to concentrate on creativity and problem-solving, delivering impactful applications and expanding my learning about the art of the possible.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_uBq68uvQ6g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_uBq68uvQ6g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_uBq68uvQ6g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b19aaf5b81c87ea806ad90df75a200a/href">https://medium.com/media/7b19aaf5b81c87ea806ad90df75a200a/href</a></iframe><h4>Coral by Cohere</h4><p><a href="https://cohere.com/coral">Coral, Cohere’s Chatbot</a>, empowers users to build their own AI Knowledge Assistants. It’s a tool for those who wish to craft a tailored AI experience, whether for customer service, content creation, or internal data analysis. Knowledge workers can use Coral to create AI assistants that align with their specific workflows and industry requirements, enabling a higher degree of personalisation and efficiency in their daily tasks.</p><p>Coral has enabled me to create bespoke knowledge assistants that cater to specific problems. Using it, I’ve developed applications like neuromermaid.ai, designed to aid ADHD learners in researching topics and visualising complex information through mind maps. This tool has been pivotal in enabling me to address challenges that seemed insurmountable just a year ago, given my own skill set and the technology available at the time.</p><p>Try <a href="https://dashboard.cohere.com/welcome/register?__hsfp=1350379049&amp;__hssc=14363112.1.1707596589835&amp;__hstc=14363112.6710125ad7cb5cd56efb997f3c674ae1.1707311935183.1707584976149.1707596589835.3&amp;_gl=1*jltxpk*_gcl_au*MTY5NTc4NTk2OC4xNzA3MzExOTM1">Cohere’s playground</a> to interact with Coral.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rcgaotjn8ZpTMEoMSZEe0A.png" /><figcaption><a href="https://cohere.com/chat">Chat | Cohere</a></figcaption></figure><h4>Navigating the New Normal with AI</h4><p>As we forge ahead into a workplace increasingly intertwined with AI, Knowledge Assistants like ChatGPT, BingChat, and Google Gemini Ultra have become more than mere tools; they are my collaborators, enhancing my ability to unravel complex ideas and solidify my thoughts. They have been crucial in allowing me to remain engaged and creatively productive without falling prey to the distractions that can come with ADHD. In my role at BPA Quality, where we monitor the quality of AI interactions, I have seen first-hand the evolution from frustrating, rule-based chatbots to these sophisticated AI models that understand and adapt to semantic meaning.</p><p>Incorporating visual tools like Miro Assist has revolutionised the way I share and develop technical concepts, making them accessible to all audiences through engaging visual formats. Meanwhile, Databutton and Cohere’s Coral have been integral in my journey as a Data Scientist and AI application builder. They have cut through the noise, simplifying the process of creating AI powered applications and allowing me to focus on the creativity and problem-solving aspects that truly drive impactful innovation.</p><p>The benefits I’ve experienced mirror those reported in GitHub’s study on their Copilot product — enhanced productivity, reduced frustration, and an overall more satisfying work experience. These advancements have liberated me from the tedious task-switching between coding environments and search engines. Now, with AI Knowledge Assistants, I can seamlessly integrate information retrieval into my workflow, propelling me towards more valuable, creative, and insightful outputs.</p><p>As this digital progression becomes the norm, adopting AI is not merely a choice but a strategic imperative to maintain a competitive edge. The future of work, characterised by AI Knowledge Assistants, promises not just a boost in productivity but a transformation in how we interact with information and each other, fostering a workplace where innovation is not just achieved — it’s a constant and exciting journey.</p><p>Follow me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn</a> for more insights into generative AI and real-world use cases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d10ef2f900f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[8 Real-World Examples of AI Powered Summarization]]></title>
            <link>https://medium.com/@elle.neal_71064/8-real-world-examples-of-ai-powered-summarization-4c76d823706a?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c76d823706a</guid>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[application]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sat, 06 Jan 2024 19:29:29 GMT</pubDate>
            <atom:updated>2024-05-04T19:32:27.975Z</atom:updated>
            <content:encoded><![CDATA[<h3>8 Real-World Examples of AI-Powered Summarization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4lQ_LtI9_UXvVWm_uWUi2w.png" /><figcaption>Image Generated by ChatGPT</figcaption></figure><h3>Introduction</h3><p><strong>Imagine a world where the crux of lengthy conversations, detailed reports, or expansive documents can be distilled into concise, digestible summaries at the click of a button. </strong>This is not the realm of science fiction but a reality brought to life by generative AI.</p><blockquote><a href="https://www.goldmansachs.com/intelligence/artificial-intelligence/index.html?chl=ps&amp;plt=bi&amp;cid=638280347&amp;agp=1313918687215633&amp;kid=artificial%20intelligence%20business&amp;mtype=p&amp;msclkid=0442fd43a3f3185cab9298dad552c9a9&amp;gclid=0442fd43a3f3185cab9298dad552c9a9&amp;gclsrc=3p.ds&amp;utm_source=bing&amp;utm_medium=cpc&amp;utm_campaign=CPB_CBA_IntelligenceSourceOfChoice_UNB_NA_EMEA_UK_SEM_BING_AWR_O-44S2Z_253_2023&amp;utm_term=artificial%20intelligence%20business&amp;utm_content=CPB_CBA_UNB_Intelligence_EMEA_UK_RSA_AI">Goldman Sachs Research </a>anticipates that breakthroughs in generative AI, particularly in natural language processing, could not only boost global GDP by an astonishing 7% but also mark a new era in productivity growth.</blockquote><p>Amidst this transformative wave, business leaders are keen to harness AI’s untapped potential but often grapple with where to start. This article delves into the realm of possibilities, unveiling real-world applications of AI-powered summarisation that reshape how we interact with information.</p><p>From Discord’s innovative approach to managing community conversations to Canvas creative content summarisation, each instance is a testament to the versatility and utility of AI in our daily professional and personal lives. Furthermore, Cohere’s Summarise endpoint exemplifies how easily these technologies can be integrated into existing applications, offering a gateway to a more efficient and informed future.</p><p>Join us on a journey through these eight pioneering applications of AI-generated summaries, where each story unfolds the remarkable capabilities of AI in simplifying complexities and unveiling insights hidden in plain sight.</p><h3>1. Discord’s In-Channel Conversation Summaries</h3><ul><li><strong>Discord: </strong>A vibrant hub for online communities.</li><li><strong>Problem: </strong>Users are overwhelmed by numerous messages and need helpcatching up with conversations.</li><li><strong>Solution: </strong>Introduced “<strong>In-Channel Conversation Summaries”</strong> to consolidate messages into topics, allowing users to understand ongoing discussions and engage more effectively quickly.</li><li><strong>User Story: </strong>Emily, an active member of a large gaming community on Discord, often finds it challenging to catch up on conversations after being away for a few hours. With In-Channel Conversation Summaries, they can quickly understand the key topics discussed in their absence and jump back into the most relevant conversations without feeling overwhelmed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vt0ozD5wukr6VRyr" /><figcaption><a href="https://support.discord.com/hc/en-us/articles/12926016807575-In-Channel-Conversation-Summaries">In-Channel Conversation Summaries — Discord</a></figcaption></figure><h3>2. Canvas Text Summarizer</h3><ul><li><strong>Canva: </strong>A graphic design platform used to create social media graphics, presentations, posters, documents, and other visual content.</li><li><strong>Problem: </strong>Need to provide users with a tool to summarise long-form content quickly.</li><li><strong>Solution: </strong>Implemented a free summary generator, to distill key points and create concise summaries for easier comprehension of long-form content.</li><li><strong>User Story: </strong>John, a content creator, regularly writes detailed blog posts for his website. To increase reader engagement, he uses Canvas Text Summarizer to create concise, compelling teasers for his posts, helping his audience grasp the essence of his content at a glance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tpXKZUEh_DCAop6c.jpg" /><figcaption><a href="https://www.canva.com/features/summarizer/">Text Summarizer: Summarize text online for free | Canva</a></figcaption></figure><h3>3. Salesforce’s Einstein Conversation Insights</h3><ul><li><strong>Salesforce: </strong>A leading provider of customer relationship management software.</li><li><strong>Problem:</strong> Seeking efficient ways to summarise voice and video customer calls.</li><li><strong>Solution: </strong>Utilized Einstein Conversation Insights for generative call summaries, enabling users to create editable summaries to enhance team collaboration and customer service.</li><li><strong>User Story: </strong>a sales manager, Sarah uses Einstein Conversation Insights to create summaries of her team’s customer calls efficiently. This helps her quickly identify critical customer feedback and next steps, improving her team’s collaboration and customer follow-up strategies.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WusnF05yYaEYCC_l.png" /><figcaption><a href="https://help.salesforce.com/s/articleView?id=release-notes.rn_sales_eci_call_summary.htm&amp;release=246&amp;type=5">Create Call Summaries Powered by Einstein (salesforce.com)</a></figcaption></figure><h3>4. EvaluAgent’s SmartSummary</h3><ul><li><strong>EvaluAgent: </strong>Provides software solutions for customer support and contact centres.</li><li><strong>Problem: </strong>Quick understanding of customer service conversations is needed.</li><li><strong>Solution: </strong>Developed “SmartSummary” to offer bullet point summaries of conversation content, improving efficiency in customer service.</li><li><strong>User Story: </strong>Alex, a customer support supervisor, relies on SmartSummary to get bullet-point summaries of customer interactions. This enables him to swiftly understand the context of each conversation, providing better coaching and feedback to his team.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*FBZTTBms_HlmJh3B-m0dgA.png" /><figcaption><a href="https://www.evaluagent.com/platform/product-tours/smartscore/">SmartScore tour — EvaluAgent</a></figcaption></figure><h3>5. Alteryx’s Workflow Summary Tool</h3><ul><li><strong>Alteryx: Ooffers a platform </strong>for data analysts to prepare, blend, and analyse data.</li><li><strong>Problem: </strong>Need helpunderstanding and documenting the functions of various analytic workflows.</li><li><strong>Solution:</strong> Introduced the “Workflow Summary Tool”, powered by generative AI, to automatically summarize and document workflows for easier comprehension and management.</li><li><strong>User Story: </strong>Mike, a data analyst, inherits several complex workflows from a previous team member. He uses the Workflow Summary Tool to understand each workflow’s purpose and functionality, saving time and improving his ability to manage and update these workflows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/0*6KeHjy9taEMGeAkU" /><figcaption><a href="https://community.alteryx.com/t5/Data-Science/Introducing-the-Workflow-Summary-Tool-Powered-by-Generative-AI/ba-p/1122275?_ga=2.93628637.1324841858.1704557427-1297943949.1704557427">Introducing the Workflow Summary Tool, Powered by … — Alteryx Community</a></figcaption></figure><h3>6. Viable</h3><ul><li><strong>Viable:</strong> Provides AI-powered tools to analyse customer feedback.</li><li><strong>Problem:</strong> Challenges in efficiently understanding and acting on customer feedback.</li><li><strong>Solution: </strong>Natural language processing is used to provide clear, urgent insights from customer feedback, aiding in decision-making and improving customer satisfaction.</li><li><strong>User Story: </strong>Lisa, a product manager, uses Viable to analyse customer feedback from various channels. The tool provides her with clear, concise summaries, enabling her to identify areas for product improvement and customer satisfaction enhancement quickly.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*WOiAs0XoKL1SScymePPxsg.png" /><figcaption><a href="https://www.askviable.com/customer-experience">Qualitative Analysis for Customer Experience | Viable (askviable.com)</a></figcaption></figure><h3>7. Process Street</h3><ul><li><strong>Process Street: </strong>Known for workflow automation and management software.</li><li><strong>Problem: </strong>We needto simplify the process of summarising extensive research notes and briefs.</li><li><strong>Solution:</strong> Integrated an AI Text Summarizer, using ChatGPT, to summarize content within workflows automatically.</li><li><strong>User Story:</strong> Emma, a project coordinator, faces the challenge of managing extensive research notes for her team. She utilises Process Street’s AI Text Summarizer to distil these notes into digestible summaries, aiding her team in staying focused and efficient.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eAY1TlwjmJt0dz0e.png" /><figcaption><a href="https://www.process.st/help/docs/ai-text-summarizer/#:~:text=Adding%20an%20AI%20task%20Next%2C%20navigate%20to%20the,add%20variables%20from%20your%20workflow%20run%2C%20shown%20above.">AI Text Summarizer (process.st)</a></figcaption></figure><h3>8. NeuroMermaid.ai</h3><ul><li><strong>NeuroMermaid.ai: </strong>Developed by myself to support neurodiverse learners</li><li><strong>Problem:</strong> Challenges in processing large amounts of information for neurodiverse individuals.</li><li><strong>Solution:</strong> Developed an application that uses AI to distil information into visual formats like mind maps and flowcharts, enhancing learning efficiency and effectiveness for neurodiverse users.</li><li><strong>User Story: </strong>David, an adult learner with ADHD, struggles with processing large amounts of textual information. He discovers NeuroMermaid.ai, which helps him convert complex data into visual formats like mind maps, greatly enhancing his learning and retention capabilities.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYMjNDVU4ReeQxRvFM1IKQ.png" /><figcaption><a href="https://neuromermaid.ai/pages/">Home · Streamlit (neuromermaid.ai)</a></figcaption></figure><h3>Cohere Summarize: Unleashing the Power of AI in Summarization</h3><p>Feeling inspired by these real-world examples? If you’re brimming with ideas and eager to infuse AI-powered summarization into your own products, Cohere Summarize is your gateway to innovation. As a trailblazing tool designed for creators, developers, and visionaries worldwide, it stands poised to redefine how we interact with and process vast swathes of text.</p><h4>Get Started with Cohere Summarize API</h4><p>Embarking on your journey with Cohere Summarize is a breeze. Whether you’re a developer or a curious explorer, the API is user-friendly and easily accessible:</p><ul><li><strong>Experiment in the Summarize Playground: </strong>Test the waters by entering your text into Cohere’s interactive playground. Witness first-hand how their language model generates succinct, coherent summaries in real-time.</li><li><strong>Seamless Integration for Developers:</strong> For those looking to weave Cohere Summarize into their applications, their comprehensive documentation offers clear guidelines and sample codes for a smooth integration process.</li><li><strong>Versatile Customisation: </strong>Cohere Summarize isn’t just about summarizing; it’s about summarizing your way. With options to input up to 100,000 characters and preferences for summary length, format, and style, you can tailor the output to meet your specific needs. Whether you prefer short, snappy TLDRs or detailed bullet points, Cohere Summarize adapts to your requirements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Ib7Or1AKppyne8rk4YzHw.gif" /><figcaption><a href="https://txt.cohere.com/summarize-beta/">Introducing Cohere Summarize Beta: A New Endpoint for Text Summarization</a></figcaption></figure><p><strong>Conclusion: Sharing the Power of AI Summarization</strong></p><p>In this journey through AI-powered summarization, we’ve seen its transformative impact across diverse fields. As we embrace these innovations, I encourage you to share your experiences with these tools. Your insights could inspire and guide others in exploring the vast potential of AI in information processing. Let’s continue to learn, share, and innovate together, shaping a future where technology and human insight blend seamlessly for greater understanding and efficiency.</p><p><a href="https://www.linkedin.com/in/elle-neal-78994617/">Elle Neal | LinkedIn</a></p><blockquote>This article was crafted with the support of AI tools to enhance clarity and conciseness. The fusion of human creativity and AI efficiency reflects my commitment to delivering content that is both informative and engaging. Together, we stride towards a future where technology and human ingenuity coalesce seamlessly.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c76d823706a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transforming Data Science: Building a Topic Modelling App with Cohere and Databutton]]></title>
            <link>https://medium.com/databutton/transforming-data-science-building-a-topic-modeling-app-with-cohere-and-databutton-aab5d37e94fa?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/aab5d37e94fa</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[topic-modeling]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sun, 11 Jun 2023 17:43:02 GMT</pubDate>
            <atom:updated>2023-10-19T08:31:16.226Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learn how to build and deploy a Cohere AI Generated Topic Modelling Application using Databutton, the all-in-one workspace designed to streamline the process of creating, deploying, and managing data apps.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Z3W2AdXm7uTEXqVQC-qsQw.png" /></figure><h3>Introduction</h3><p>This tutorial builds upon the Topic Modelling App tutorial <a href="https://docs.cohere.com/page/topic-modeling">Topic Modeler (cohere.com)</a> with the addition of Databutton’s data storage functionality will enable you to iterate through the clusters and use Cohere’s generate model to label and store the dataset.</p><p>Databutton comes with features like Pages, Jobs, Libraries, and Data Storage. Pages allow you to create multipage UIs for your users, Jobs enable scheduling of Python code, Libraries provide a place to write reusable code across your app, and Data Storage offers a simple put/get data store for various types of data.</p><p>Databutton also includes an AI assistant called Databutler, which is built on top of OpenAI and can help with code generation and problem-solving.</p><p>Deploying with Databutton enables you to use Streamlit functionality with additional backend and AI-assisted features, making it a more robust solution for larger or more complex projects.</p><p>Read this article for a more in-depth explanation of Databutton features: <a href="https://medium.com/@elle.neal_71064/beyond-streamlit-databuttons-revolution-in-ai-app-development-5a625a1343e8">Beyond Streamlit: Databutton’s Revolution in AI App Development | by Elle Neal | Jun, 2023 | Medium</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*JzenEF_6002EGKyjKPoLiA.png" /></figure><p>Let’s jump in!</p><h3>Building a Topic Modelling Application using Cohere and Databutton</h3><p>We are going to be building and deploying an AI powered Topic modelling application, <a href="https://databutton.com/v/glyt85m2"><strong><em>here is a demo of the app for you to explore</em></strong></a><strong><em>.</em></strong></p><p>There are two options for following this guide, either create a new app in Databutton or ‘Fork this app’ directly to your Databutton account <a href="https://databutton.com/new?templateId=pt-BAiNy6hKbcXESYnF"><strong><em>using this link.</em></strong></a></p><p>Step 1: Load and Pre-process Data</p><p>Step 2: Cluster Data to Identify Groups</p><p>Step 3: AI Generated Labels</p><p>Step 4: Deploy and Share Application</p><h4>Application Setup</h4><ul><li>Create a free account with <a href="http://databutton.com/login?utm_source=medium&amp;utm_medium=elle&amp;utm_article=coheremodelling">Databutton</a></li><li>Create a free account with <a href="https://cohere.com/">Cohere</a> and get your <a href="https://dashboard.cohere.ai/api-keys">API Key</a></li><li>Create a new app: once you have signed up for your free Databutton account, you can create a new app in seconds by clicking on ‘New app’</li><li>Add secrets: easily add and manage your API secrets use them anywhere within your app by calling ‘COHERE_API_KEY = db.secrets.get(name=”COHERE_API_KEY”’)</li><li>Install packages: Databutton enables you to easily install and manage packages for your application</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*wK05TGA0kKsweQusDMQRUQ.png" /></figure><pre>cohere<br>scikit-learn<br>hdbscan<br>umap-learn<br>setuptools<br>plotly<br>matplotlib<br>datasets</pre><ul><li>Create multipage UI: adding Streamlit pages has never been easier. Databutton’s multipage UI enables users to simply click ‘+ New Page’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/212/1*VwlVZMhWB9dZ-0x47HW4pA.png" /></figure><h3>Step 1: Load and Pre-process Data</h3><p><em>Load Dataset, Generate &amp; Reduce Embeddings, Save to Data Storage</em></p><p>During this stage, we separate this task for the user so they only need to generate the embeddings once. This process provides 2 outputs that are saved to Databutton’s Data Storage:</p><ul><li>The embeddings as a json file</li><li>The reduced embeddings are appended to the dataframe</li></ul><p>As the file is now saved to storage, the user can access the data throughout the application without having to perform this task again. There is no need to worry about caching the dataset for the user, with one line of code, you can return the data to the user anywhere within the application.</p><h4>User Interface</h4><p>The user can now either work with the preloaded file or upload their own, the pre-processing steps will run and the app will direct the user to the next steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*rRLYvac7SAyRE5nCwmqZiw.png" /></figure><h4>Helper Functions</h4><pre># Function to generate Cohere embeddings (time added for trial key)<br>def embed_text(texts):<br>    embeddings = []<br>    for i in range(0, len(texts), 90):<br>        batch = texts[i:i+90]<br>        output = co.embed(<br>            model=&quot;embed-english-v2.0&quot;,<br>            texts=batch)<br>        embeddings.extend(output.embeddings)<br>        time.sleep(60)<br>    return embeddings</pre><pre># Function to reduce dimensionality of embeddings using umap<br>def reduce_dimensionality(embeddings):<br>    reducer = umap.UMAP()<br>    umap_embeddings = reducer.fit_transform(embeddings)<br>    return umap_embeddings[:, 0], umap_embeddings[:, 1]</pre><pre># Function to save embeddings into a json file in Databutton data storage<br>def save_embeddings_to_json(df):<br>    # Create a dictionary where each key is the index of the DataFrame and each value is the corresponding embedding<br>    embeddings_dict = df[&#39;embedding&#39;].to_dict()</pre><h4>Streamlit Code within Databutton IDE</h4><p>The code below completes the following tasks:</p><ul><li>Upload CSV file if not file is uploaded, use the sample dataset (MASSIVE dataset, which contains a list of commands that people give to their AI-based personal assistant (e.g., Alexa).</li><li>Generate text embeddings using Cohere, the embeddings will be reduced to 2 dimensions using UMAP (Uniform Manifold Approximation and Projection).</li></ul><p>Learn about embeddings here: <a href="https://docs.cohere.com/docs/embed-endpoint">The Embed Endpoint (cohere.com)</a></p><ul><li>The embeddings will be saved to Databutton storage as a json file</li><li>The reduced csv will be saved to Databutton’s Data Storage as a new file</li></ul><pre><br>from datasets import load_dataset<br>import umap.umap_ as umap<br>import databutton as db<br>import streamlit as st<br>import pandas as pd<br>import numpy as np<br>import cohere<br>import json<br>import time<br><br># helper functions...<br><br># 1. Upload CSV file if not file is uploaded, use the sample dataset<br>st.write(&quot;&quot;&quot;<br>### 1. Upload CSV file if not file is uploaded, use the sample dataset<br>Load a dataset or use the pre-loaded MASSIVE dataset, which contains a list of commands <br>that people give to their AI-based personal assistant (e.g., Alexa). This type of clustering <br>exploration is similar to how a company would analyze incoming customer messages when designing a <br>chatbot.&quot;&quot;&quot;)<br><br># Get (a small sample) the dataset<br>dataset = load_dataset(&quot;AmazonScience/massive&quot;, &quot;en-US&quot;, split=&quot;train&quot; )<br><br># Convert dataset to pandas DataFrame<br>df = pd.DataFrame(dataset).sample(300)<br>df.reset_index(drop=True, inplace=True)<br>db.storage.dataframes.put(key=&quot;uploaded_file.csv&quot;, df=df)<br><br># Or upload a file<br>uploaded_file = st.file_uploader(&quot;Choose a csv file&quot;, type=&quot;csv&quot;)<br>if uploaded_file is not None:<br>    df = pd.read_csv(uploaded_file)<br>    db.storage.dataframes.put(key=&quot;uploaded_file.csv&quot;, df=df)<br>    <br>st.dataframe(df)  <br>st.write(&quot;&quot;&quot;<br>### 2. Generate and Reduce Embeddings then Save File<br>Generate text embeddings using Cohere, the embeddings will be reduced to 2 dimensions using umap<br>and a reduced csv will be saved to Databutton&#39;s Data Storage&quot;&quot;&quot;)<br>if st.button (&quot;Generate and Reduce Embeddings then Save File&quot;, type=&quot;primary&quot;):<br>    <br>    # 2. Get Cohere embeddings<br>    df[&quot;embedding&quot;] = embed_text(df[&quot;utt&quot;].tolist())<br>    st.write(&quot;Embeddings Complete&quot;)<br>    <br>    # 3. Reduce dimensionality of embeddings using umap<br>    st.write(&quot;Reducing Dimensionality&quot;)<br>    umap_x, umap_y = reduce_dimensionality(df[&#39;embedding&#39;].tolist())<br>    df[&#39;umap_x&#39;] = umap_x<br>    df[&#39;umap_y&#39;] = umap_y<br>    <br>    # 4. Save embeddings into a json file in Databutton data storage<br>    save_embeddings_to_json(df)<br>    <br>    # 5. Drop embeddings and save a new reduced file to Databutton&#39;s Data Storage<br>    df.drop(&#39;embedding&#39;, axis=1, inplace=True)<br>    db.storage.dataframes.put(key=&quot;reduced.csv&quot;, df=df)<br>    st.write(&quot;Reduced Dataset Saved to Data Storage&quot;)</pre><p>Let’s take a look at our datasets…</p><p><strong>Reduced embeddings</strong></p><p>The reduced embeddings is now saved as a new file with the addition of umap_x and umap_y. We can copy the code snippet to import and use the dataframe anywhere in our application, here is an example of how you call the data: <em>‘df = db.storage.dataframes.get(key=”reduced.csv”)’</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqyHrT9PpWkyDdWGRaQOgQ.png" /></figure><p>With Databutton, you can very quickly create a page for your user to explore, edit and add to the dataframe within their UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L9fY9QLp6EiTtM1-GertNg.png" /></figure><h4>json Embeddings</h4><p>We can now call the embeddings anywhere in our app with a line of code: <em>data = db.storage.json.get(key=”embeddings.json”)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*dwyfaL1_ZpJTZKXXLduHfQ.png" /></figure><h3>Step 2: Cluster Data to Identify Groups</h3><p>This next stage in the workflow uses data science and machine learning for identify common patterns in the data, we seek to find clusters or groups in our data that share similar properties. This kind of analysis can help reveal patterns and structures in the data that might not be apparent otherwise.</p><h4>User Interface</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*7FvsBp0pMxL_H_ZxxbtJRg.png" /></figure><p>The user interface provides interactivity at crucial points to allow users to make decisions based on the results of initial analyses. Here are the step-by-step instructions:</p><ol><li><strong>Load the DataFrame:</strong> The script will load the DataFrame previously saved in Databutton’s storage.</li><li><strong>Extract UMAP Coordinates: </strong>The script will extract the 2D UMAP coordinates that were previously computed. These coordinates are reduced representations of your data.</li></ol><p>Learn about visualising your embeddings here: <a href="https://docs.cohere.com/docs/embeddings-visualizing-data">Visualizing Data (cohere.com)</a></p><ol><li><strong>Determine Optimal Number of Clusters:</strong> The script will compute the sum of squared errors (SSE) for a range of potential numbers of clusters. This is part of the process to use the KMeans algorithm, which requires specifying the number of clusters beforehand. The script will plot an elbow plot, which can be used to select the optimal number of clusters: look for the “elbow” in the curve where adding more clusters doesn’t significantly decrease SSE.</li><li><strong>Create the Elbow Plot:</strong> The script will then visualize the SSE for different numbers of clusters as an elbow plot. This visualization will help you in choosing the optimal number of clusters.</li><li><strong>User Selection of Clusters:</strong> You will select the number of clusters based on the elbow plot. The selection is done using a slider in the Streamlit app.</li><li><strong>Run KMeans with User-selected Number of Clusters:</strong> With the chosen number of clusters, the script will run the KMeans algorithm, which classifies each point in your data into one of the clusters.</li></ol><p>Learn about clustering embeddings here: <a href="https://docs.cohere.com/docs/clustering-using-embeddings">Clustering Using Embeddings (cohere.com)</a></p><ol><li><strong>Plot the Clusters:</strong> The script will create a scatter plot of your data points, colored by their assigned cluster. This visualization gives you a spatial representation of how the algorithm has classified your data.</li><li><strong>Calculate Cluster Centers and Distances from Centroids:</strong> The script calculates the centroid (or geometric center) of each cluster. It then computes how far each point in your data is from its cluster’s centroid. We will need this in the next step of the process where we label our clusters.</li><li><strong>Display and Save the Results: </strong>The script will display the DataFrame that now includes cluster labels and distances from centroids. If you’re satisfied with the results, you can save this labelled data back into Databutton’s storage for later use.</li></ol><pre>import databutton as db<br>import streamlit as st<br>from sklearn.cluster import KMeans<br>from sklearn.metrics import silhouette_score<br>import matplotlib.pyplot as plt<br>import numpy as np<br>import plotly.express as px<br>from scipy.spatial import distance<br><br><br># 1: Load dataframe<br>df = db.storage.dataframes.get(key=&quot;reduced.csv&quot;)<br><br># 2: Extract UMAP coordinates<br>umapx = df[&#39;umap_x&#39;]<br>umapy = df[&#39;umap_y&#39;]<br>umap_coords = np.column_stack((umapx, umapy))<br><br># 3: Define a range of potential clusters and compute SSE<br><br>clusters = range(2, 10)  # You may want to modify this range<br>sse = []<br>for k in clusters:<br>    kmeans = KMeans(n_clusters=k, random_state=0)<br>    kmeans.fit(umap_coords)<br>    sse.append(kmeans.inertia_)<br><br># 4: Plot the elbow plot<br><br>fig, ax = plt.subplots(figsize=(10, 5))<br>plt.plot(clusters, sse, &#39;bx-&#39;)<br>plt.xlabel(&#39;k (number of clusters)&#39;)<br>plt.ylabel(&#39;Sum of Squared Errors (SSE)&#39;)<br>plt.title(&#39;Elbow Plot For Optimal Number of Clusters&#39;)<br>st.pyplot(fig)<br><br># 5: User selects number of clusters based on elbow plot<br><br>n_clusters = st.slider(&#39;Number of Clusters&#39;, min_value=2, max_value=10, value=2)<br><br># 6: Run KMeans with optimal number of clusters<br>kmeans_model = KMeans(n_clusters=n_clusters, random_state=0)<br>df[&#39;cluster_labels&#39;] = kmeans_model.fit_predict(umap_coords)<br><br># 7: Plotting the clusters<br><br>fig = px.scatter(df, x=&#39;umap_x&#39;, y=&#39;umap_y&#39;, color=&#39;cluster_labels&#39;, hover_data=[&#39;utt&#39;])<br>st.plotly_chart(fig)<br><br># 8: Calculate cluster centers and distances from centroids<br><br>centroids = df.groupby(&#39;cluster_labels&#39;)[[&#39;umap_x&#39;, &#39;umap_y&#39;]].mean().reset_index()<br>def calc_distance(row):<br>    centroid = centroids[centroids[&#39;cluster_labels&#39;] == row[&#39;cluster_labels&#39;]]<br>    centroid_coords = (centroid[&#39;umap_x&#39;].values[0], centroid[&#39;umap_y&#39;].values[0])<br>    row_coords = (row[&#39;umap_x&#39;], row[&#39;umap_y&#39;])<br>    return distance.euclidean(row_coords, centroid_coords)<br>df[&#39;distance_from_centroid&#39;] = df.apply(calc_distance, axis=1)<br><br># 9: Display and save the results<br><br>selected_cluster = st.selectbox(&#39;Select a cluster label&#39;, df[&#39;cluster_labels&#39;].unique())<br>temp_df = df[[&#39;utt&#39;, &#39;cluster_labels&#39;, &#39;distance_from_centroid&#39;]]<br>st.write(temp_df[temp_df[&#39;cluster_labels&#39;] == selected_cluster])<br><br><br>if st.button(&quot;Save Labelled Data&quot;):<br>    db.storage.dataframes.put(key=&quot;cluster.csv&quot;, df=df)</pre><h3>Step 3: AI Generated Labels</h3><p>This code provides a user-friendly UI for your AI generated labels. The user can then save the labelled data for later use. The use of AI for generating initial labels and the option to revise these labels gives users a mix of automated and manual control over the labelling process.</p><h4>User Interface</h4><ul><li>When the user clicks Generate AI Labels, the application will run the AI Generated labels function and display each cluster’s keywords, AI generated label and the list of utterances. The user can either keep the AI generated labels or through inspection amend the name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*WHq5lkO2BR3EXPI-Oq1eNQ.png" /></figure><ul><li>The user is then presented with a scatterplot containing the generated labels and the ability to hover over the datapoints.</li><li>When the user is satisfied, they can then save the new dataset containing the labels to Databutton’s Data Storage.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*Z3W2AdXm7uTEXqVQC-qsQw.png" /></figure><h4>Prompt Engineering</h4><p>The utterance_prompt in this code is a predefined structured text that is used as an input for the AI model to generate descriptive labels for the data clusters. It&#39;s designed to instruct the AI model about the context of the data and what the AI is supposed to do.</p><p>In this specific application, the prompt is defined to mimic a situation where clusters of user commands (utterances) given to an AI-based personal assistant are being summarized. It instructs the AI that each cluster should be summarized by a list of keywords and a name that captures the common theme of the utterances in that cluster. The prompt also includes example clusters with sample utterances, keywords, and cluster names.</p><p>In a nutshell, the utterance_prompt is designed to help guide the AI model in its task, in this case, generating a concise and descriptive label for a cluster of user utterances based on a set of keywords. The AI model uses the structure and content of the prompt to understand the task and to generate appropriate labels for new data clusters.</p><p>Learn about prompt engineering here: <a href="https://docs.cohere.com/docs/model-prompting">Prompt Engineering (cohere.com)</a></p><pre>utterance_prompt = &quot;&quot;&quot;<br>These are clusters of commands given to an AI-based personal assistant. Each cluster represents a specific type of task or query that users often ask their personal assistant to perform. A list of keywords summarizing the collection is included, along with the name of the cluster. The name of each cluster should be a brief, precise description of the common theme within the utterances.<br>---<br>Cluster #0<br>Sample utterances from this cluster:<br>- status for the pizza delivery from pizza hut<br>- find and order rasgulla of janta sweet home pvt ltd<br>- i will be at pizza hut in ten minutes and will stay there for next forty minutes arrange an uber for me that can drop me home<br><br>Keywords for utterances in this cluster: pizza, delivery, uber, order<br>Cluster name: Food Delivery <br><br>---<br>Cluster #1<br>Sample utterances from this cluster:<br>- show me where i can find a train<br>- can you show me the directions to go museum of flight in seattle<br>- please book train ticket to new york<br><br>Keywords for utterances in this cluster: train, directions, museum, book, ticket<br>Cluster name: Travel and Directions <br><br>---<br>Cluster #2<br>Sample utterances from this cluster:<br>- get route for los angles from here<br>- nearest restaurants available at this time<br>- i want you to book a train ticket for me<br><br>Keywords for utterances in this cluster: route, los angeles, restaurants, time, book, train, ticket<br>Cluster name: Route Navigation and Reservations <br><br>---<br>Cluster #3<br>Sample utterances from this cluster:<br>&quot;&quot;&quot;</pre><h4>Helper Functions</h4><p>We create several helper functions for processing the dataframe, generating keywords, creating labels, and displaying information to the user. The extract_top_n_words function generates the most relevant keywords for each cluster. The generate_label function uses an AI model to generate a descriptive label for each cluster. The generate_keywords_and_label function wraps up these processes for each cluster and updates the dataframe accordingly. The present_cluster_data function is used to present the information about each cluster to the user.</p><pre># Function to generate AI labels for each cluster<br>def generate_label(utterance_prompt, text_series, retries=3):<br>    # Initialize Cohere model<br>    COHERE_API_KEY = db.secrets.get(name=&quot;COHERE_API_KEY&quot;)<br>    co = cohere.Client(COHERE_API_KEY)<br>    text_list = text_series.tolist()<br>    formatted_text_list = &quot;&quot;<br>    for text in text_list:<br>        formatted_text_list += &quot;- &quot; + text + &quot;\n&quot;<br>    try:<br>        response = co.generate(<br>            model=&quot;command-nightly&quot;,<br>            prompt=utterance_prompt + formatted_text_list,<br>            max_tokens=800,<br>            temperature=0.2,<br>            k=0,<br>            stop_sequences=[],<br>            return_likelihoods=&quot;NONE&quot;,<br>            truncate=&quot;END&quot;,<br>        )<br>        prompt = utterance_prompt + formatted_text_list<br>        return response.generations[0].text, prompt<br>    except Exception as e:<br>        time.sleep(30)<br>        if retries &gt; 0:<br>            return generate_label(utterance_prompt, text_series, retries=retries - 1)<br>        st.error(e)</pre><pre># Function to generate keywords for each cluster<br>def extract_top_n_words(vectorizer, tfidf_matrix, n=10):<br>    &quot;&quot;&quot;<br>    Given a TfidfVectorizer and a TF-IDF matrix, return the `n` words with the highest TF-IDF scores.<br>    &quot;&quot;&quot;<br><br>    # Sum tfidf frequency of each term through documents<br>    summed_tfidf = np.sum(tfidf_matrix, axis=0)<br><br>    # Connecting term to its sums frequency<br>    words_freq = [(word, summed_tfidf[0, idx]) for word, idx in vectorizer.vocabulary_.items()]<br>    words_freq = sorted(words_freq, key = lambda x: x[1], reverse=True)<br><br>    # Return the n words with highest tfidf<br>    return [word[0] for word in words_freq[:n]]</pre><pre># Function to run the workflow for extracting keywords and AI generated labels<br>@st.cache_resource()<br>def generate_keywords_and_label(_df, cluster, utterance_prompt):<br>    df = _df<br>    # Filter the dataframe for each cluster<br>    df_cluster = df[df[&quot;cluster_labels&quot;] == cluster].sort_values(<br>        by=&quot;distance_from_centroid&quot;, ascending=True<br>    )<br><br>    # Generate the TF-IDF matrix<br>    vectorizer = TfidfVectorizer(stop_words=&quot;english&quot;)<br>    tfidf_matrix = vectorizer.fit_transform(df_cluster[&quot;utt&quot;])<br><br>    # Extract the top N keywords from each cluster<br>    keywords = extract_top_n_words(vectorizer, tfidf_matrix, n=10)<br><br>    # Generate a summary label using the AI model<br>    prompt = (<br>        utterance_prompt<br>        + &quot;\nKeywords for messages in this cluster: &quot;<br>        + &quot;, &quot;.join(keywords)<br>        + &quot;\n&quot;<br>    )<br>    summary, prompt = generate_label(prompt, df_cluster[&quot;utt&quot;].head(n=5))<br><br>    # Extract cluster name from AI generated label<br>    start = summary.find(&quot;Cluster name:&quot;) + len(&quot;Cluster name:&quot;)<br>    end = summary.find(&quot;\n&quot;, start)<br>    cluster_name = summary[start:end].strip()<br><br>    # Update original dataframe with generated label and keywords<br>    df.loc[df[&quot;cluster_labels&quot;] == cluster, &quot;label&quot;] = cluster_name<br>    df.loc[df[&quot;cluster_labels&quot;] == cluster, &quot;keywords&quot;] = &quot;, &quot;.join(keywords)<br><br>    return df, keywords, cluster_name</pre><pre># function to display each cluster to the user<br>def present_cluster_data(df, cluster, keywords, label):<br>    df_cluster = df[df[&quot;cluster_labels&quot;] == cluster].sort_values(<br>        by=&quot;distance_from_centroid&quot;, ascending=True<br>    )<br><br>    st.markdown(f&quot;**Cluster {cluster}**&quot;)<br>    st.markdown(f&quot;**Generated Keywords:** {&#39;, &#39;.join(keywords)}&quot;)<br>    st.markdown(f&quot;**AI Proposed Label:** {label}&quot;)<br>    st.dataframe(df_cluster[[&quot;utt&quot;, &quot;distance_from_centroid&quot;]])</pre><ol><li>Data Loading: The dataframe is loaded from a Databutton storage with a key of &quot;cluster.csv&quot;.</li><li>Cluster Processing: For each unique cluster in the dataframe, the generate_keywords_and_label function is called to generate relevant keywords and an AI generated label. These are added to the dataframe. Then, the present_cluster_data function is used to display this information to the user.</li></ol><p>Learn about Topic Modelling here: <a href="https://docs.cohere.com/docs/clustering-hacker-news-posts">Topic Modeling (cohere.com)</a></p><ol><li>User Interactions: The user is given the option to rename the AI generated label for each cluster. If the user enters a new label, the dataframe is updated with this new label.</li><li>Saving Changes: Finally, the user can click a button to save their changes to the dataframe. When the “Save changes” button is clicked, the updated dataframe is saved back to the Databutton storage with a new key of &quot;labeled_cluster.csv&quot;.</li></ol><pre>from sklearn.feature_extraction.text import TfidfVectorizer<br>import databutton as db<br>import streamlit as st<br>import pandas as pd<br>import cohere<br>import numpy as np<br>import time<br><br># helper functions...<br><br># Load Data<br>df = db.storage.dataframes.get(key=&quot;cluster.csv&quot;)<br><br># Initialize an empty dictionary to hold cluster labels<br>cluster_labels = {}<br><br># Define the TF-IDF vectorizer<br>vectorizer = TfidfVectorizer(stop_words=&quot;english&quot;)<br><br>clusters = df[&quot;cluster_labels&quot;].unique()<br>if (<br>    st.button(&quot;Generate AI Labels&quot;, key=&quot;labelling&quot;, type=&quot;primary&quot;)<br>    or st.session_state.load_state<br>):<br>    st.session_state.load_state = True<br>    for cluster in clusters:<br>        df, keywords, label = generate_keywords_and_label(df, cluster, utterance_prompt)<br>        present_cluster_data(df, cluster, keywords, label)<br>        # Add user interaction to rename the label<br>        state_key = f&quot;user_label_{cluster}&quot;<br>        new_label = st.text_input(<br>            f&quot;Enter a new label for cluster {cluster} (leave empty to keep the AI proposed label)&quot;,<br>            value=st.session_state.get(state_key, label),<br>            key=state_key,<br>        )<br>        if new_label != label:<br>            df.loc[df[&quot;cluster_labels&quot;] == cluster, &quot;label&quot;] = new_label<br><br>    # For each cluster, find the utterance that is closest to the centroid<br>    for cluster in df[&quot;cluster_labels&quot;].unique():<br>        min_distance_idx = df[df[&quot;cluster_labels&quot;] == cluster][<br>            &quot;distance_from_centroid&quot;<br>        ].idxmin()<br>        df.loc[min_distance_idx, &quot;closest_centroid_utt&quot;] = df.loc[<br>            min_distance_idx, &quot;utt&quot;<br>        ]<br><br>    # Create the scatter plot<br>    fig = px.scatter(<br>        df, x=&quot;umap_x&quot;, y=&quot;umap_y&quot;, color=&quot;cluster_labels&quot;, hover_data=[&quot;utt&quot;, &quot;label&quot;]<br>    )<br><br>    # Add labels to the points that are closest to the centroid in each cluster<br>    for i in range(len(df)):<br>        if df.iloc[i][&quot;utt&quot;] == df.iloc[i][&quot;closest_centroid_utt&quot;]:<br>            fig.add_annotation(<br>                x=df.iloc[i][&quot;umap_x&quot;], y=df.iloc[i][&quot;umap_y&quot;], text=df.iloc[i][&quot;label&quot;]<br>            )<br><br>    # Display the plot<br>    st.plotly_chart(fig)<br><br><br>save = st.button(&quot;Save changes&quot;, type=&quot;primary&quot;)<br>if save:<br>    # Reset the input session states after save. Also reset the button state<br>    st.session_state.load_state = False<br>    for key in st.session_state.keys():<br>        if key.startswith(&#39;user_label_&#39;):<br>            del st.session_state[key]<br>    db.storage.dataframes.put(key=&quot;labeled_cluster.csv&quot;, df=df)<br>    st.write(&quot;Labelled Data Saved&quot;)</pre><h4>Step 4: Deploy and Share Application</h4><p>Now your app is ready to deploy and share with a couple of clicks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*j5K1kbwhkQyUc-w8PJSL6w.png" /></figure><h4>Next Steps</h4><p>The application can form part of a workflow where the user can then build and deploy a classification model using the AI generated labels.</p><p>Learn about classification models here: <a href="https://docs.cohere.com/docs/classification-models">Classification Models (cohere.com)</a></p><h3>Conclusion</h3><p>This tutorial presented a comprehensive guide to building and deploying an AI-powered Topic Modelling application using Cohere and Databutton. We explored a few of the key features of Databutton, including Pages, and Data Storage, and showed how these can be leveraged to create a seamless and interactive user experience.</p><p>We built a topic modeling application that uses Cohere’s generate model to label and store data sets, a functionality further enhanced by Databutton’s data storage capabilities. Throughout the process, we highlighted the importance of user interactions and Databutton’s ability to facilitate these, allowing for optimal customization of data and results.</p><p>The walkthrough showcased how to conduct various data science processes, including loading and preprocessing data, clustering data to identify groups, and using AI to generate labels. It also highlighted the benefits of Databutton’s IDE in facilitating code implementation and its AI assistant, Databutler, in aiding code generation and problem-solving.</p><p>In the final stage, the tutorial demonstrated how to deploy and share the application, ready to be utilized as part of a broader workflow or standalone for topic modeling.</p><p>In conclusion, this guide proves the power and convenience of using Cohere and Databutton together for AI applications. The streamlined process, interactive UI, and the ease of managing data apps make this approach a robust solution for both beginner and seasoned data scientists and developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aab5d37e94fa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/databutton/transforming-data-science-building-a-topic-modeling-app-with-cohere-and-databutton-aab5d37e94fa">Transforming Data Science: Building a Topic Modelling App with Cohere and Databutton</a> was originally published in <a href="https://medium.com/databutton">Databutton</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Streamlit: Databutton’s Revolution in AI App Development]]></title>
            <link>https://medium.com/databutton/beyond-streamlit-databuttons-revolution-in-ai-app-development-5a625a1343e8?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a625a1343e8</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[streamlit]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Mon, 05 Jun 2023 09:14:57 GMT</pubDate>
            <atom:updated>2023-10-19T08:50:16.430Z</atom:updated>
            <content:encoded><![CDATA[<p>🚀<em>Discover how Databutton is transforming the landscape of AI app development, providing an </em><strong><em>all-in-one online workspace.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhVnrOKFcUlFUJ6_79IN7w.png" /><figcaption><a href="https://docs.databutton.com/"><strong>Databutton | all-in-one online workspace</strong></a></figcaption></figure><h3>Introduction</h3><p>In the dynamic world of AI and Data Science, efficient tools and platforms can make or break the game. One of these game-changers that has recently entered the spotlight is Databutton. The <strong>all-in-one online workspace</strong> simplifies your app creation, deployment, and management process while leveraging the capabilities of its AI assistant, Databutler.</p><p>For Streamlit / Gradio / Plotly Dash / Solara (recently released package ) python frameworks : we need to open our Code-editor , test , develop locally and finally push to the cloud. On the contrary, with Databutton we can easily skip those steps. Everything powered and supported within a browser</p><p>But what is Databutton? How does it differ from Streamlit? And more importantly, how can Databutton streamline your application development workflow? Let’s delve into these questions, illuminating the path towards the future of data apps development.</p><blockquote>Personally, I see Databutton as the next generation of app development where I can focus my energy on delivering high quality solutions with ease and step more into the creative side of AI and Data Science.</blockquote><h4><strong>What is Databutton?</strong></h4><p><a href="http://databutton.com/login?utm_source=medium&amp;utm_medium=elle&amp;utm_article=beyondstreamlit">Databutton</a> is an <strong>all-in-one online workspace</strong> designed to streamline the process of creating, deploying, and managing data apps. It comes with features like Pages, Jobs, Libraries, and Data Storage. Pages allow you to create multipage UIs for your users, Jobs enable scheduling of Python code, Libraries provide a place to write reusable code across your app, and Data Storage offers a simple put/get data store for various types of data. Databutton also includes an AI assistant called Databutler, which is built on top of OpenAI and can help with code generation and problem-solving.</p><p>Watch the video below to see Databutton in action!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F820129458%3Fh%3D1af347ec58%26app_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F820129458&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1659604366-c6a0695fd2f4011bea9c6119f659ee3366dc7e2b4e2719d68386c400e4de03db-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/9b4bbbfd54f314224b8905caed96c249/href">https://medium.com/media/9b4bbbfd54f314224b8905caed96c249/href</a></iframe><h4>What is Streamlit?</h4><p>Streamlit (just like Gradio / Plotly Dash / Solara) is an open-source Python library that allows developers to create interactive web applications for machine learning and data science projects. It simplifies the process of building and deploying data apps by providing a simple framework and UI components. With Streamlit, you write Python code and it gets translated into an interactive web application. It’s designed to help developers turn data scripts into shareable web apps in a matter of minutes, without the need for front-end development expertise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9dcix7vgWTCj0CTw.png" /><figcaption><a href="https://medium.com/@avra42/how-to-build-a-chatbot-with-chatgpt-api-and-a-conversational-memory-in-python-8d856cda4542">How to build a Chatbot with ChatGPT API and a Conversational Memory in Python | by Avra | Medium</a></figcaption></figure><h4>What is the difference between Streamlit and Databutton?</h4><p>The primary difference between the two lies in their scope and functionality. Streamlit is a tool for creating individual data apps with interactive features, whereas Databutton provides a more comprehensive platform for managing multiple aspects of data app development, deployment, and maintenance. Streamlit focuses on the front-end creation of the app, whereas Databutton offers Streamlit functionality with additional backend and AI-assisted features, making it a more robust solution for larger or more complex projects.</p><blockquote>Databutton offers Streamlit functionality with additional backend and AI-assisted features, making it a more robust solution for larger or more complex projects.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Bz0JC9OQSRnn1wfVroHSw.png" /><figcaption>Databutton and Streamlit Feature Comparison</figcaption></figure><h4>How does Databutton simplify my application development workflow?</h4><p>Databutton provides a suite of tools designed to streamline application development workflows. For backend development, it provides built-in data management, scheduled jobs, and reusable libraries, significantly reducing the complexity typically associated with these tasks. The creation of user interfaces is simplified through a built-in multipage UI system, pre-built page templates, and AI-assisted coding and development. This functionality reduces the need for extensive front-end development and streamlines the setup process.</p><p>Testing and debugging is facilitated by Databutton’s AI assistant, Databutler, which helps reduce the need for multiple iterations of code refinement. Deployment is also simplified, with Databutton managing versions and server setup behind the scenes, enabling you to share your application with a single click. Finally, Databutton handles server monitoring, update management, and application scaling, allowing developers to focus more on development and less on maintenance.</p><p>For a more detailed and visual understanding of how Databutton simplifies your application development workflow, please refer to the flowchart and table provided in this article. These resources offer a comprehensive comparison between traditional methods and the streamlined processes offered by Databutton.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vJXU7Bq8W6udn_MG4sKotg.png" /><figcaption>High-Level Application Development Process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Skw_jvY9-CwPx00HcTkkbw.png" /><figcaption>App Development Process with Databutton</figcaption></figure><h4>Databutton Team and Community Support</h4><p>One thing that makes Databutton my favourite place to build my applications is the Databutton team and thriving community of app developers and enthusiasts.</p><p>With a growing number of templates for you to pick up and create, you will always be inspired and never run out of ideas. It is a great place for new developers, analysts and data scientists to build amazing applications to impress any potential employer.</p><p>Personally, I see Databutton as the next generation of app development where I can focus my energy on delivering high quality solutions with ease and step more into the creative side of AI and Data Science.</p><blockquote>Get inspired by what others have built with Databutton. Explore apps, see their underlying code and follow tutorials to get started. <a href="https://www.databutton.io/community-apps">Get Inspired (databutton.io)</a></blockquote><h3>5 Awesome Features of Databutton?</h3><p><em>(my personal favourites)</em></p><p>As shared in my previous article, here are some of my personal favourite features: <a href="https://medium.com/databutton/build-and-deploy-ai-apps-in-5-steps-with-cohere-and-databutton-979fd78c1788">🚀Build and Deploy AI Apps in 5 steps -with Cohere and Databutton | by Elle Neal | Databutton | May, 2023 | Medium</a></p><p>Firstly, let’s explore some of the main features of Databutton that can help you as an LLM developer to quickly design, create and deploy your own AI powered application.</p><ol><li>Familiar Streamlit Framework: Databutton Pages is built on the <a href="https://streamlit.io/">Streamlit framework</a> for writing graphical interfaces in Python.</li></ol><p>2. Free Community Tier: It is perfect for applying your newly learnt LLM skills, they offer a very generous free tier for the community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/0*MrseL31upRF3bC_s.png" /></figure><p>3. Collaborate, Deploy and Share: perfect for joint projects, you can quickly add collaborators, deploy tour application and share in seconds. Perfect for hackathon events and no more Github!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*q3LjU19_MrUGtQLG.png" /><figcaption>Share | Collaborate | Deploy</figcaption></figure><p>4. 🪄Databutler: In-app personal assistant driven by AI, you can discuss your code, ask to solve problems and have conversations about pretty much anything!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/0*VA70oFMSdS9KwYXL" /></figure><p>5. Databutlers &amp; Community: Incredible support from the databutlers and community. They are clearly very passionate about helping people to build incredible applications and are always very open and responsive to honest feedback.</p><p>There are so many more great features such as data storage, scheduled jobs, secrets management, packages, etc. <a href="https://docs.databutton.com/">check them out here</a>!</p><blockquote><strong>Version Control </strong>— we completely skip pushing our code to the github repository with Databutton. With recent massive release of Databutton, one can easily maintain and return to the previous versions intuitively. Git workflow to my knowledge has always been a difficult learning curve for lot of early stage “programmers” ( including me ) , with databutton that’s super easy (more of google-docs — like writing code experience ! ): <a href="https://medium.com/@avra42"><strong>Avra — Medium</strong></a></blockquote><h3>Conclusion</h3><p>In the ever-evolving world of AI and data science, it’s crucial to keep up with tools that can streamline our workflows and let our creativity shine. Databutton has emerged as a next-generation platform, combining the simplicity of Streamlit with enhanced features, thus offering a robust and comprehensive solution for developing, deploying, and managing data apps.</p><p>By making the development process more accessible and efficient, it empowers developers, analysts, and data scientists to focus more on the creative aspects of their projects and less on the intricacies of app management.</p><p>With the support of a growing community and the amazing Databutton team, the platform is poised to revolutionize the field. Let’s embrace this change and dive into the creative world of AI and Data Science, unlocking our potential and contributing to this transformative journey. After all, the future of app development is just a Databutton click away.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a625a1343e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/databutton/beyond-streamlit-databuttons-revolution-in-ai-app-development-5a625a1343e8">Beyond Streamlit: Databutton’s Revolution in AI App Development</a> was originally published in <a href="https://medium.com/databutton">Databutton</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build and Deploy AI Apps in 5 steps -with Cohere and Databutton]]></title>
            <link>https://medium.com/databutton/build-and-deploy-ai-apps-in-5-steps-with-cohere-and-databutton-979fd78c1788?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/979fd78c1788</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Mon, 29 May 2023 17:13:21 GMT</pubDate>
            <atom:updated>2023-10-19T09:38:30.142Z</atom:updated>
            <content:encoded><![CDATA[<p>Effortlessly construct and launch an AI Startup Idea Generator leveraging Cohere AI and Databutton. Create, deploy, and disseminate your unique application in 5 steps!</p><h3>Introduction</h3><p>Welcome to a comprehensive guide that brings you a step closer to the dynamic world of AI development, introducing you to the immersive learning ecosystem of Cohere’s LLM University and the practical, user-friendly platform of Databutton. This guide aims to empower you to construct your premier AI-powered application swiftly, effortlessly, and at no cost, irrespective of your experience in Large Language Models (LLMs) or coding.</p><p>As an enthusiast who revels in the creation of AI applications, I have found Cohere and Databutton to be invaluable allies, providing the essential tools and resources for building influential, AI-driven apps.</p><p>In this article, we’ll embark on an exciting journey to create an AI-driven Startup Idea Generator. By simply inputting an industry, the system will unveil a series of intriguing names and description ideas. The final product of this hands-on tutorial is not merely a fun tool but a testament to the power and simplicity of modern AI technologies. Ready to bring your AI-driven ideas to life?</p><p><a href="https://databutton.com/v/ortgrp77"><strong>Try the demo here</strong></a><strong> </strong>and get a glimpse of the marvel you’re about to create!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*zBAoHgbH_p9xPoW6ToxftA.png" /></figure><h3>Introducing Cohere and Databutton</h3><h4>Cohere LLM University</h4><p><strong>Cohere: </strong>A revolutionary provider of natural language processing models that is reshaping the landscape of human-machine interactions. Cohere’s powerful AI tools enable large-scale content generation, summarization, and search and can be deployed across public, private, or hybrid clouds to ensure data security and exceptional support. With applications ranging from semantic text search, text summarization, generative writing, text classification, to language embedding, Cohere’s models have been pre-trained on billions of words, making them easy to use and customize, and embeddings ready to support over 100 languages. Cohere provides a free developer tier that supports developers and AI enthusiasts to build and test their ideas.</p><p><strong>LLM University:</strong> In an exciting initiative by Cohere, LLM University (LLMU) offers a comprehensive curriculum designed to equip learners with a solid foundation in Language AI, and the skills needed to develop their own AI applications​​. From the basics to the most advanced topics in natural language processing (NLP), including generative AI, LLMU has it all.</p><p>The courses are explained clearly with practical examples rather than formulas, providing learners with hands-on exercises and opportunities to work on their own models​. With LLMU, you can embark on an exciting learning journey, immersing yourself in the vast world of NLP and Large Language Models (LLMs).</p><p>This is not just about learning — it’s about joining a vibrant community of fellow learners and NLP enthusiasts where you can share ideas and receive support​​.</p><p>Read this article for more details: <a href="https://txt.cohere.com/llm-university/">Introducing LLM University — Your Go-To Learning Resource for NLP🎓 (cohere.com)</a></p><h4>Databutton</h4><p><strong>Databutton: </strong>An AI-powered workspace, Databutton enables you to build and share data applications right in your browser. Leveraging the entire Python ecosystem, Databutton helps data professionals quickly build, iterate on, and derive impact from data applications. Join the community of people passionate about maximizing the value out of their abilities with data​.</p><p>In an era where AI and data are king, these platforms are making it easier than ever to unlock the transformative power of technology. Whether you’re a beginner looking to get started in the field, or an advanced learner aiming to perfect your skills, there’s never been a better time to dive into the world of AI and data. The future of AI-powered applications is here, and it’s exciting!</p><h4><strong>5 Awesome Features of Databutton?</strong></h4><p><strong><em>(my personal favourites)</em></strong></p><p>Firstly, let’s explore some of the main features of Databutton that can help you as an LLM developer to quickly design, create and deploy your own AI powered application.</p><ol><li><strong>Familiar Streamlit Framework:</strong> Databutton Pages is built on the <a href="https://streamlit.io/">Streamlit framework</a> for writing graphical interfaces in Python.</li></ol><p><strong>2. Free Community Tier: </strong>It is perfect for applying your newly learnt LLM skills, they offer a very generous free tier for the community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*pANDL-sfXzXSsxOFm74BAQ.png" /></figure><p><strong>3. Collaborate, Deploy and Share: </strong>perfect for joint projects, you can quickly add collaborators, deploy tour application and share in seconds. Perfect for hackathon events and no more Github!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hPBONJqmyWpfWZX4pEBIQ.png" /><figcaption>Share | Collaborate | Deploy</figcaption></figure><p>4. 🪄Databutler: In-app personal assistant driven by AI, you can discuss your code, ask to solve problems and have conversations about pretty much anything!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/0*JPAgnFLevO9l_LX2" /></figure><p>5. <strong>Databutlers &amp; Community:</strong> Incredible support from the databutlers and community. They are clearly very passionate about helping people to build incredible applications and are always very open and responsive to honest feedback.</p><p>There are so many more great features such as data storage, scheduled jobs, secrets management, packages, etc. <a href="https://docs.databutton.com/">check them out here</a>!</p><h3>Building your App</h3><ol><li>Create a free account with <a href="http://databutton.com/login?utm_source=medium&amp;utm_medium=elle&amp;utm_article=fivestepaiapp">Databutton</a></li><li>Create a free account with <a href="https://cohere.com/">Cohere</a> and get your <a href="https://dashboard.cohere.ai/api-keys">API Key</a></li></ol><p>The Cohere LLM University is packed full of examples and tutorials that will help you not only understand the core concepts but how to build your own AI driven application.</p><p>We are going to follow the Startup Idea Generator tutorial where we will create an application that assist the user in brainstorming new startup ideas using Cohere’s AI.</p><p>Range of applications to build: <a href="https://docs.cohere.com/page/application-examples">Application Examples (cohere.com)</a></p><p><strong><em>Please note:</em></strong><em> I have taken this code tutorial from </em><a href="https://docs.cohere.com/page/startup-idea-generator"><em>Startup Idea Generator (cohere.com)</em></a><em> and will be showing you how to create this application in Databutton.</em></p><h4>Build your Databutton Application</h4><ol><li>Create a new app</li></ol><ul><li>Once you have signed up for your free Databutton account, you can create a new app in seconds by clicking on ‘New app’</li></ul><ol><li>Add secrets and packages</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*8TVAM64omefKYQZM9uNi0w.png" /></figure><ul><li>To use the API Key in your app, copy the code snippet from the secret, this will look something like this: ‘COHERE_API_KEY = db.secrets.get(name=”COHERE_API_KEY”)’</li><li>Add cohere as a package and click install</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*39fb3EVwlmKoao6Elxtbqg.png" /></figure><p>3. Add entire code from the tutorial to the home page. <a href="https://docs.cohere.com/page/startup-idea-generator"><em>Startup Idea Generator (cohere.com)</em></a></p><ul><li>Insert this code to the top of the home page to enable Databutton, streamlit and cohere as well as calling in your cohere API Key to the Cohere client.</li></ul><pre>import databutton as db<br>import streamlit as st<br>import cohere<br>co = cohere.Client(db.secrets.get(name=&quot;COHERE_API_KEY&quot;))</pre><p>4. Test and run app</p><ul><li>Testing the app is as simple as clicking the ‘Run Code’ button and using the interface.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0_VzjfngQ9S_qZF2uBb_A.png" /></figure><p>5. Deploy and share!</p><ul><li>Now your app is ready to deploy and share with a couple of clicks.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*whON1wRlivqiC9GhxRlM9w.png" /></figure><p>The code is also available in the ‘Show Code’ page, <a href="https://databutton.com/v/ortgrp77">within the demo app.</a> Simply copy and paste this into your own application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FOhQtYmDKam4zs4ILStSQw.png" /></figure><h3>Conclusion</h3><p>Stepping into the world of AI application development may seem daunting, but with the right resources, even novices can build exciting AI apps from scratch. Cohere LLM University and Databutton provide the essential tools and learning resources you need to get started in your AI journey. From the vast knowledge base provided by LLMU, to the seamless application development environment of Databutton, these platforms are not only incredibly accessible, but also conducive to innovative thought and practical learning.</p><p>Building the Startup Idea Generator app as demonstrated in this article is just the beginning. With the skills and tools you’ve learned, you’re now equipped to build and deploy your own AI-driven apps. Whether you choose to refine this app further, or you’re inspired to design something entirely new, remember that the journey is about learning, experimenting, and improving.</p><p>Finally, don’t forget to engage with the community. The collective wisdom, feedback, and support you’ll find in both Cohere’s and Databutton’s user base can be invaluable as you navigate the exciting, challenging, and rewarding world of AI app development. Dive in, start creating, and see where your AI journey takes you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=979fd78c1788" width="1" height="1" alt=""><hr><p><a href="https://medium.com/databutton/build-and-deploy-ai-apps-in-5-steps-with-cohere-and-databutton-979fd78c1788">🚀Build and Deploy AI Apps in 5 steps -with Cohere and Databutton</a> was originally published in <a href="https://medium.com/databutton">Databutton</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mind Mapping with AI: An Accessible Approach for Neurodiverse Learners]]></title>
            <link>https://medium.com/@elle.neal_71064/mind-mapping-with-ai-an-accessible-approach-for-neurodiverse-learners-1a74767359ff?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a74767359ff</guid>
            <category><![CDATA[adhd]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[neurodiversity]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Mon, 22 May 2023 21:35:05 GMT</pubDate>
            <atom:updated>2024-10-18T09:40:33.897Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn how to build your own AI generated mind map to support neurodiverse readers and learners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtRDhbO6ObGI6u-SXzufvQ.png" /><figcaption>Generated using VisualLearner Mermaid AI: <a href="https://www.nimh.nih.gov/health/publications/adhd-what-you-need-to-know">NIMH » Attention-Deficit/Hyperactivity Disorder in Adults: What You Need to Know (nih.gov)</a></figcaption></figure><p>In this article, I will introduce <a href="https://elleneal.databutton.app/neuromermaid-ai">NeuroMermaid AI</a>, a visual aid application built and deployed using Databutton using Cohere and OpenAI technology. I’ll <strong>provide you with the code snippets and explanations</strong> to help you follow along and build your own Mermaid AI application.</p><p><a href="https://elleneal.databutton.app/neuromermaid-ai">Try the app here</a>!</p><h4><strong>NeuroMermaidAI: User Journey</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drjt-xWaP5gDXqQ7clYazw.png" /><figcaption>Generated using AI and Mermaid.js</figcaption></figure><h3>Introduction</h3><p>Hello, readers! This blog post is a journey of discovery and innovation that began during my AI and Data Science apprenticeship. This was when I found out that I had <a href="https://www.adhdcentre.co.uk/adult-adhd-what-is-it-exactly/">ADHD (Attention-Deficit/Hyperactivity Disorder)</a>, a revelation that brought both understanding and relief. It wasn’t a setback but an opportunity for me to understand my unique learning needs and use them as a stepping stone towards finding effective solutions.</p><p>One such solution I found was visualization, particularly through mind maps and flowcharts. This visual approach to learning was a game-changer for me and countless others, as research shows that around 65% of people are visual learners​<a href="https://www.edapp.com/blog/visual-learning-statistics/">1</a>​​<a href="https://www.edapp.com/blog/visual-learning-statistics/">2</a>​​<a href="https://www.edapp.com/blog/visual-learning-statistics/">3</a>​. Armed with this knowledge, I set out to build a tool that combines these visual aids with AI to enhance the learning process.</p><blockquote>This visual approach to learning was a game-changer for me and countless others, as research shows that around 65% of people are visual learners.</blockquote><h4>The Journey</h4><p>During my apprenticeship, I faced challenges such as maintaining focus on video calls, journaling activities, and reading research papers. I felt overwhelmed and began questioning my abilities. However, after learning that these struggles were symptoms of ADHD, a condition that affects over six million children and a significant number of adults in the U.S​<a href="https://www.statista.com/topics/5079/attention-deficit-hyperactivity-disorder-adhd-in-the-us/">4</a>​​<a href="https://www.statista.com/topics/5079/attention-deficit-hyperactivity-disorder-adhd-in-the-us/">5</a>​, I realized my brain simply processed information differently. It wasn’t that I couldn’t learn; I just needed to approach learning differently.</p><h4>The Solution</h4><p>I started utilizing a large whiteboard in my workspace, where I could create mind maps and flowcharts to break down complex information into visually digestible chunks. This was particularly beneficial as ADHD has been linked to alterations in visual perception​<a href="https://pubmed.ncbi.nlm.nih.gov/31479020/">6</a>​​<a href="https://pubmed.ncbi.nlm.nih.gov/31479020/">7</a>​​<a href="https://pubmed.ncbi.nlm.nih.gov/31479020/">8</a>​. Through these visual aids, I was able to understand and retain information more effectively, share my work with others, and create a reference for my learning journey.</p><h4>The Idea</h4><p>Inspired by my own experience, I realized that AI language models could understand complex information and generate code. I wondered: could I use AI to generate mind maps and flowcharts automatically? I was eager to find out.</p><h4>The Plan</h4><p>In this blog post, I’m excited to introduce you to an application I’ve built that leverages the power of AI to distil large amounts of information into visual formats. Through demos and code snippets, I’ll walk you through how this app can support neurodiverse learners and enhance learning efficiency and effectiveness. This application is not just a product of my training in AI and Data Science, but also of my personal journey with ADHD. My hope is that this tool can help others who, like me, have unique learning needs and strengths.</p><p>Stay tuned to discover a different way of learning, one that celebrates neurodiversity and harnesses it to create something truly empowering.</p><p>Lets dive in!</p><h4>How to Build your Application</h4><p>This app was built and deployed using <a href="https://www.databutton.io/">Databutton</a>. Databutton is an AI-powered workspace designed to facilitate the creation and sharing of data apps. It allows users to build and distribute AI and data applications by leveraging the entire Python ecosystem directly from their browser. Its user-friendly design makes it easy to turn ideas into functional applications, making it an efficient tool for both beginners and professionals​​.</p><p>Databutton has been a helpful tool in managing my ADHD during application development:</p><ol><li><strong>Structured Workflow:</strong> Its organized user interface reduces distractions, enhancing focus.</li><li><strong>Speedy Prototyping:</strong> Rapid deployment keeps momentum, reducing interest loss.</li><li><strong>Visual Interface:</strong> Aids visual learners, common in ADHD, to grasp complex concepts.</li><li><strong>Accessible Learning</strong>: Intuitive design and clear documentation simplify skill acquisition.</li><li><strong>Interactive Experience:</strong> Engaging, hands-on approach enhances interest and motivation.</li><li><strong>Easy Collaboration:</strong> Facilitates teamwork and feedback, alleviating feelings of isolation.</li></ol><p>In essence, Databutton’s features address ADHD challenges, making app development more engaging and productive.</p><p>Within a few clicks, I was able to deploy my application to the world!</p><h4>Adding the Code</h4><h4>1. Import necessary modules:</h4><p>The application starts by importing the necessary Python modules: requests, BeautifulSoup, databutton, openai, cohere, and streamlit.</p><pre>import databutton as db<br>import requests<br>from bs4 import BeautifulSoup<br>import openai<br>import cohere<br>import streamlit as st</pre><h4>2. Scrape text from a webpage:</h4><p>The scrape_text function sends a GET request to a provided URL and retrieves the text content of the webpage using <a href="https://pypi.org/project/beautifulsoup4/">BeautifulSoup</a>. It returns the text if the GET request is successful, or a failure message otherwise.</p><pre>def scrape_text(url):<br>    # Send a GET request to the URL<br>    response = requests.get(url)<br><br>    # If the GET request is successful, the status code will be 200<br>    if response.status_code == 200:<br>        # Get the content of the response<br>        page_content = response.content<br><br>        # Create a BeautifulSoup object and specify the parser<br>        soup = BeautifulSoup(page_content, &quot;html.parser&quot;)<br><br>        # Get the text of the soup object<br>        text = soup.get_text()<br><br>        # Return the text<br>        return text<br>    else:<br>        return &quot;Failed to scrape the website&quot;</pre><h4>3. Create Mermaid.js chart:</h4><p>The mermaid_chart function generates the HTML for the <a href="https://mermaid.js.org/intro/">Mermaid.js</a> diagram. This function takes the Mermaid.js code (representing the mindmap) as an input and returns the HTML code that can be used to display the mindmap.</p><pre>def mermaid_chart(mindmap_code):<br>    html_code = f&quot;&quot;&quot;<br>    &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css&quot;&gt;<br>    &lt;div class=&quot;mermaid&quot;&gt;{mindmap_code}&lt;/div&gt;<br>    &lt;script src=&quot;https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js&quot;&gt;&lt;/script&gt;<br>    &lt;script&gt;mermaid.initialize({{startOnLoad:true}});&lt;/script&gt;<br>    &quot;&quot;&quot;<br>    return html_code</pre><p><em>Example Mermaid.js code</em></p><blockquote>Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. The main purpose of Mermaid is to help documentation catch up with development.</blockquote><pre>mindmap<br>  root(Cofinder)  <br>    (Introduction)  <br>      ::icon(fa fa-info-circle)  <br>      (Designed to help the Cohere Community find relevant content)  <br>      (Users can ask natural language questions)  <br>      (Semantic search tool that brings together information from multiple sources)  <br>    (Repository Contents)  <br>      ::icon(fa fa-folder-open)  <br>      (cohere_text_preprocessing.csv)  <br>      (preprocessing.ipynb)  <br>      (main.py)  <br>      (cohere_text_final.csv)  <br>      (search_index.ann)  <br>    (Five Steps to Building the Application)  <br>      ::icon(fa fa-list-ol)  <br>      (Data Sources)  <br>        (Pre-processing the article text into chunks)  <br>      (Embeddings &amp; Search Index)  <br>        (Use co.embed to obtain a vector representation of data)  <br>        (Store embeddings in a vector database)  <br>      (Front End)  <br>        (Streamlit for user interaction)  <br>      (Search)  <br>        (Use co.embed to get vector representation of user query)  <br>        (Use nearest neighbours to return relevant content)  <br>      (Answer)  <br>        (Use co.generate to answer the query given the context from the search results and the question)  <br>    (Streamlit Application)  <br>      ::icon(fa fa-desktop)  <br>      (Load libraries, data and search index)  <br>      (Add functions to generate embeddings to search the Annoy index for the user’s query)  <br>      (Generate an answer from the context)  <br>      (Add Streamlit search input and button to run functions)</pre><h4>4. Set up OpenAI API:</h4><p>The application then sets up the OpenAI API by specifying the API type, base URL, version, and key.</p><pre>def run_models(input_text):<br>    # Note: content is hidden due to length of text, you can add user and assistant roles<br>    response = openai.ChatCompletion.create(<br>        engine=&quot;GPT35turbo&quot;,<br>        messages=[<br>            {<br>                &quot;role&quot;: &quot;system&quot;,<br>                &quot;content&quot;: &quot;You are generating a mindmap for someone who has ADHD...&quot;,<br>            },<br>            {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: input_text},<br>        ],<br>        temperature=0.2,<br>        max_tokens=400,<br>        top_p=0.95,<br>        frequency_penalty=0,<br>        presence_penalty=0,<br>        stop=None,<br>    )<br><br>    return response</pre><h4>5. Run GPT-3 model:</h4><p>The run_models function creates a completion using OpenAI&#39;s GPT-3 model. It takes the scraped text as input and generates a mindmap in the form of Mermaid.js code.</p><h4>6. Summarize text:</h4><p>The summarise function uses the <a href="https://docs.cohere.com/reference/summarize-2">Cohere summarise API </a>to generate a summary of the input text. Here&#39;s the code for this function:</p><pre>def summarise(input_text):<br>    co = cohere.Client(<br>        db.secrets.get(&quot;COHERE_API_KEY&quot;)<br>    )<br>    response = co.summarize(<br>        text=input_text,<br>        length=&quot;long&quot;,<br>        format=&quot;paragraph&quot;,<br>        model=&quot;summarize-xlarge&quot;,<br>        additional_command=&quot;What are th</pre><h4>7. Build UI with Databutton:</h4><p>The application uses Databutton to create the user interface (UI) where the user can input a URL. The application then scrapes the text from the webpage at that URL, generates a summary, generates Mermaid.js code for a mindmap, and displays the mindmap.</p><pre>import databutton as db<br>import streamlit as st<br>from streamlit.components.v1 import html<br>from utils import scrape_text, mermaid_chart, run_models, summarise<br><br># UI<br>st.title(&quot;AI Generated Mermaid.js Mindmap&quot;)<br><br># Creating a form for both caching and clean input box on run<br>form = st.form(&quot;Form to run&quot;, clear_on_submit=True)<br><br>url = form.text_input(&quot;Enter your URL below:&quot;, placeholder=&quot;Paste any URL of your choice&quot;)<br><br>if form.form_submit_button(&quot;Generate Mermaid Mindmap Visual&quot;):<br>    text = scrape_text(url)<br>    input_text = &quot;Generate a Mermaid.js mindmap only using the text below:\n&quot; + text<br>    with st.expander(&quot;See full article&quot;):<br>        st.write(text)<br>    with st.spinner(&quot;Generating Cohere AI Summary &quot;):<br>        summary = summarise(text)<br>        st.write(&quot;### Cohere AI Generated Summary&quot;)<br>        st.write(summary)<br><br>    with st.spinner(&quot;Generating Mermaid Code&quot;):<br>        out = run_models(input_text)<br><br>    mindmap_code = out[&quot;choices&quot;][0][&quot;message&quot;][&quot;content&quot;][10:-3]<br>    with st.expander(&quot;See OpenAI Generated Mermaid Code&quot;):<br>        st.code(mindmap_code)<br><br>    # Use the html function to display the Mermaid.js diagram<br>    html(mermaid_chart(mindmap_code), width=1500, height=1500)</pre><h4>8. User Input:</h4><p>The user enters a URL in the form provided in the Streamlit UI. Once the URL is submitted, the application scrapes the text from the webpage, generates a summary using Cohere API, and generates a Mermaid.js mindmap using OpenAI’s GPT-3 model. The summary and the mindmap are then displayed in the UI.</p><h3>Conclusion</h3><p>In conclusion, leveraging AI-generated mind maps and visual aids through NeuroMermaid AI and Databutton offers an accessible approach to support neurodiverse readers and learners.</p><p>By scraping text from websites, generating summaries, and creating mind maps, individuals with ADHD and other neurodiverse conditions can enhance their learning experience. This combination of AI and visual tools helps overcome feelings of overwhelm and promotes better understanding.</p><p>The goal is to celebrate neurodiversity, raise awareness of ADHD, and provide inclusive learning solutions. Expanding the application to incorporate various text sources and visualizations will further enrich the learning process for neurodiverse individuals, making learning more engaging and effective.</p><p>Embracing technology and empathy enables the creation of an inclusive learning environment for individuals with diverse learning needs.</p><p>Please let me know if you found this useful or would like to talk more about the development of the application to support either yourself or others and connect with me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn</a>.</p><blockquote>Please note that the structure, language, and presentation of this blog post have been carefully crafted with the needs of neurodiverse readers in mind, based on guidelines and best practices for creating accessible content​<a href="https://cursorcurated.substack.com/p/creating-accessible-content-for-neurodiverse">9</a>​​<a href="https://cursorcurated.substack.com/p/creating-accessible-content-for-neurodiverse">10</a>​​<a href="https://cursorcurated.substack.com/p/creating-accessible-content-for-neurodiverse">11</a>​. I hope you find this approach helpful, and I’m open to feedback and suggestions for improvement!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a74767359ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Steps to Build an AI Powered Semantic Search Application using Cohere’s API]]></title>
            <link>https://medium.com/@elle.neal_71064/5-steps-to-build-an-ai-powered-semantic-search-application-using-coheres-api-f5a60cb797be?source=rss-5cec55fd2fdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5a60cb797be</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Elle Neal]]></dc:creator>
            <pubDate>Sun, 19 Mar 2023 19:44:52 GMT</pubDate>
            <atom:updated>2023-03-19T20:14:42.960Z</atom:updated>
            <content:encoded><![CDATA[<h4>Revolutionise the way you search your own documentation. Build a Streamlit AI search application using Cohere’s large language models.</h4><h4>Introduction</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YZXK2uXkfhz3MQVH_W3r1w.jpeg" /></figure><p>In this article, I will introduce <a href="https://ellenealds-coheresemanticsearchtool-main-8phb6k.streamlit.app/">Cofinder</a>, a semantic search application built using Cohere’s technology. I’ll <a href="https://github.com/ellenealds/streamlit_template_cohere_semantic_search"><strong>provide you with a repository</strong></a><strong> </strong>and explanations of the code snippets to help you follow along and build your own semantic search application.</p><p>We will go through the 5 stages of building your application:</p><ol><li><strong>Pre-processing your data sources</strong></li><li><strong>Creating a search index</strong></li><li><strong>Building your Streamlit front end</strong></li><li><strong>Adding an AI search function</strong></li><li><strong>Adding AI generated answer functions.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6wNUN-m2IQy2STFCYiLvg.png" /></figure><p>In recent years, natural language processing (NLP) has rapidly advanced, thanks to the latest generation of large language models. However, not all developers are able to use these models due to the high compute barriers and the lack of technical expertise required to do so. This is where Cohere comes in.</p><p>Cohere provide access for all developers, without the need for ML expertise, all that’s needed to access llm via cohere is a simple API call to large language models that can be used to generate or analyse text to do things like write copy, moderate content, classify data and extract information, all at a massive scale. Cohere offer a generous free developer tier, meaning you can build and test your ideas quickly and with no cost.</p><blockquote>Join Cohere Discord channel <a href="https://discord.gg/co-mmunity">here</a> to hang with the supportive and innovative NLP dev community and get up to speed with latest Cohere API updates</blockquote><h4>What is Cofinder?</h4><p><a href="https://lablab.ai/event/semantic-search-hackathon/cofinder/cofinder">This was a demo project</a> I built for my first hackathon with<a href="https://lablab.ai/event"> Lablab.ai</a>, I would recommend hackathons to anyone that wants to learn and push themselves in the space of AI.</p><blockquote>Cofinder is designed to help the Cohere Community find relevant content in one place based on their personal goals. With Cofinder, users can ask natural language questions, and the tool will provide the most relevant content, aim to answer their questions, and provide context.</blockquote><p>Its inspiration comes from Cohere’s mission to give technology language and to put large language models into more hands.</p><p>Cofinder is the result of my desire to make it easier for the Cohere community to access the wealth of knowledge and resources available on the platform. <a href="https://lablab.ai/tech/cohere">While Cohere provides an incredible variety of resources, such as product explanations, tutorials, open repositories, and a Discord channel</a>, I recognised that finding specific information can still be time-consuming and inefficient. The dataset behind Cofinder is text extracted from these sources. By creating a semantic search tool that brings together information from multiple sources, Cofinder aims to streamline the process and save users valuable time. The goal is to enhance the Cohere community experience by making it easy for developers, entrepreneurs, corporations, and data scientists to find what they need in one place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*6ZhcwY_-z-XNVlbjwTqOfQ.png" /></figure><p>Let’s build our own semantic search application to enhance search!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.loom.com%2Fembed%2F86b7ddc42abe4eed9de8a2d015992dac&amp;display_name=Loom&amp;url=https%3A%2F%2Fwww.loom.com%2Fshare%2F86b7ddc42abe4eed9de8a2d015992dac&amp;image=https%3A%2F%2Fcdn.loom.com%2Fsessions%2Fthumbnails%2F86b7ddc42abe4eed9de8a2d015992dac-1678567669252.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=loom" width="1280" height="960" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf71b5ef27aa297ba26cbf0fb99f0201/href">https://medium.com/media/bf71b5ef27aa297ba26cbf0fb99f0201/href</a></iframe><p>But before we dive into the technical details, let’s take a closer look at the Cohere products we used in building Cofinder. We will use Cofinder to learn more about each product.</p><h4>Cohere’s Embedding and Generate Endpoints: The Key to Cofinder’s Semantic Search</h4><p>Cofinder uses two of Cohere’s products, <a href="https://docs.cohere.ai/reference/embed">co.embed</a> and <a href="https://docs.cohere.ai/reference/generate">co.generate</a>, to power its semantic search functionality. co.embed is a co.embed is an API endpoint that gives easy access to a robust embeddings model that generates numeric representations of text, <a href="https://cohere.ai/embed">which can be used for various natural language processing (NLP) tasks </a>such as clustering and classification. In Cofinder, co.embed is used to generate vector embeddings for the articles that users can search.</p><p>co.generate is an API endpoint that uses text representation model that generates text based on the given prompt. In Cofinder, co.generate is used to formulate an <a href="https://cohere.ai/generate">answer to the user’s question using the context from the search and the question itself.</a> By leveraging these powerful NLP models, Cofinder is able to provide accurate and relevant search results to users, making it easier and more efficient to find information on Cohere</p><p>Let’s check out <a href="https://ellenealds-coheresemanticsearchtool-main-8phb6k.streamlit.app/">Cofinder</a> to help find relevant Cohere resources.</p><p><strong>Question: </strong>What are embeddings?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*H2mHffEELdxUDHHS4mv-8Q.png" /><figcaption>Cofinder | What are embeddings?</figcaption></figure><p><strong>Results:</strong> As Cofinder quickly provides the user with content from across multiple platforms. Each relevant document contains:</p><ul><li>The category (video, blog, user and product documentation)</li><li>The content title</li><li>A answer generated using the search query and content as context</li><li>Link to the content</li></ul><p>We now have a variety of content to watch and read to help understand what embeddings are and formulate a good solid understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*A1clZz2DTujWhwCgjOUbgQ.png" /><figcaption>Cofinder | Search response</figcaption></figure><p>Once you have a better understanding of what embeddings are, you may now want to explore what you can do with embeddings, let’s ask Cofinder again.</p><p><strong>Question:</strong> What can embeddings be used for?</p><p>This time, our content is more focused on possible use cases, each one gives us the opportunity to explore multiple areas in more depth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*HqRpO4zedN-xHUJJYxzPMQ.png" /><figcaption>Cofinder | Search results</figcaption></figure><h4>Let’s Start Building!</h4><h3><strong>5 Steps to Build your own Semantic Search Application</strong></h3><p>We can breakdown the process into 5 steps of development:</p><ol><li><strong>Data Sources: </strong>pre-processing the article text into chunks.</li><li><strong>Embeddings &amp; Search Index: </strong>use co.embed to obtain a vector representation of our data. Store your embeddings in a vector database which we will later use to search for relevant content.</li><li><strong>Front End: </strong>Streamlit for our user to interact with our search engine.</li><li><strong>Search: </strong>we use co.embed to get the vector representation of the user query, using nearest neighbours to return relevant content.</li><li><strong>Answer: </strong>use co.generate to answer the query given the context from the search results and the question.</li></ol><h4>Github Repository</h4><p>Here is a GitHub repository template to fork and build your own application: <a href="https://github.com/ellenealds/streamlit_template_cohere_semantic_search">ellenealds/streamlit_template_cohere_semantic_search (github.com)</a></p><p><strong>Repository Contents</strong></p><ul><li><strong>cohere_text_preprocessing.csv: </strong>contains text prior to pre-processing</li><li><strong>preprocessing.ipynb: </strong>this contains our code for generating embeddings and preparing our search index using the cohere_text_preprocessing.csv file</li><li><strong>main.py: </strong>this contains our code for the Streamlit app</li></ul><p>These files will be produced when you run <strong>preprocessing.ipynb</strong></p><ul><li><strong>cohere_text_final.csv: </strong>text after pre-processing</li><li><strong>search_index.ann: </strong>a search index containing our embeddings</li></ul><p>You will need your Cohere API key to continue with the development.</p><blockquote><strong>New to Cohere?</strong></blockquote><blockquote><a href="https://dashboard.cohere.ai/welcome/register">Get Started</a> now and get unprecedented access to world-class Generation and<br>Representation models with billions of parameters.</blockquote><blockquote><strong>Important</strong></blockquote><blockquote>Create your secrect.toml in the repository and enter your cohere API Key as API_KEY = ‘…’</blockquote><h4>Creating our Search Index</h4><p>Our first three stages are to <strong>pre-process the text</strong> by splitting it into small chunks, we will then <strong>generate embeddings</strong> using co.embed and finally <strong>create a search index </strong>using Annoy.</p><p><em>This section of code can be found in preprocessing.ipynb</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*LmQVJOhNwWOIcvxLFw7RRA.png" /><figcaption><a href="https://docs.cohere.ai/docs/semantic-search">Semantic Search (cohere.ai)</a></figcaption></figure><h4>1. Data Sources — Pre-processing Text</h4><p>The repository contains a csv file called cohere_text_preprocessing.csv with a row for each url, the title and the text taken from the webpage. Each item contains a category and type which is returned in the search results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*st7DViVAFI62NB7un91Q_Q.png" /><figcaption>CSV File | cohere_text_preprocessing</figcaption></figure><p><em>Note: Some of the information may be outdated as this text was extracted in October 2022 and is for demonstration purposes only.</em></p><p>After importing the csv file, we need to pre-process the text into chunks, the chunks will be used in a later stage as context where we want to generate an answer. As we will use co.generate for this task, we need to make sure our text chunks are no larger than 1500 words.</p><p>To maintain context, we will split the text chunks into 1500 and overlap the chunks using 500 tokens from the previous chunk relevant to the article.</p><pre><br>import textwrap<br><br>def chunk_text(df, width=1500, overlap=500):<br>    # create an empty dataframe to store the chunked text<br>    new_df = pd.DataFrame(columns=[&#39;id&#39;, &#39;text_chunk&#39;])<br><br>    # iterate over each row in the original dataframe<br>    for index, row in df.iterrows():<br>        # split text into chunks of size &#39;width&#39;, with overlap of &#39;overlap&#39;<br>        chunks = []<br>        for i in range(0, len(row[&#39;text&#39;]), width - overlap):<br>            chunk = row[&#39;text&#39;][i:i+width]<br>            chunks.append(chunk)<br><br>        # iterate over each chunk and add it to the new dataframe<br>        for i, chunk in enumerate(chunks):<br>            # calculate the start index based on the chunk index and overlap<br>            start_index = i * (width - overlap)<br>            <br>            # create a new row with the chunked text and the original row&#39;s ID<br>            new_row = {<br>              &#39;id&#39;: row[&#39;id&#39;], <br>              &#39;text_chunk&#39;: chunk, <br>              &#39;start_index&#39;: start_index}<br><br>            new_df = new_df.append(new_row, ignore_index=True)<br><br>    return new_df<br><br># run the function on the dataframe<br>new_df = chunk_text(df)</pre><h4>2a. Get embeddings</h4><p>We use the co.embed to obtain a vector representation of our data.</p><pre>import cohere<br>import numpy as np<br><br>co = cohere.Client(&#39;&lt;API_KEY&gt;&#39;)<br># Get the embeddings<br>embeds = co.embed(texts=list(df[&#39;text_chunk&#39;]),<br>                  model=&quot;large&quot;,<br>                  truncate=&quot;RIGHT&quot;).embeddings<br># Check the dimensions of the embeddings<br>embeds = np.array(embeds)<br>embeds.shape</pre><p>Great! We now have our pre-processed text and embeddings ready for the next stage where we create a search index to store the data.</p><h4>2b. Search Index</h4><p>We now create a search index using Annoy to store the embeddings.</p><pre>from annoy import AnnoyIndex<br><br># Create the search index, pass the size of embedding<br>search_index = AnnoyIndex(embeds.shape[1], &#39;angular&#39;)<br><br># Add all the vectors to the search index<br>for i in range(len(embeds)):<br>    search_index.add_item(i, embeds[i])<br><br>search_index.build(10) # 10 trees<br>search_index.save(&#39;search_index.ann&#39;)</pre><p>The final three stages are to <strong>create our Streamlit application, </strong>we load the relevant libraries,<strong> </strong>data and search index from the previous stages. We then add functions to<strong> generate embeddings to search</strong> the Annoy index for the user’s query, and <strong>generate an answer </strong>from the context<strong>.</strong> This is all tied together in the Streamlit app with widgets for user input and markdown to display the results.</p><p><em>This section of code can be found in main.py</em></p><h4>3. Front End — Streamlit</h4><p><em>In the main.py file,</em> we build our code for the Streamlit application.</p><p>Here we import the libraries we need, the API key, initiate our cohere client and load the search index and csv file</p><pre>import streamlit as st<br>import cohere  <br>import numpy as np<br>import pandas as pd<br>from annoy import AnnoyIndex<br>from concurrent.futures import ThreadPoolExecutor<br>import toml<br><br># Load the secret.toml file<br>with open(&#39;secret.toml&#39;) as f:<br>    secrets = toml.load(f)<br><br># Access the API key value<br>api_key = secrets[&#39;API_KEY&#39;]<br>co = cohere.Client(&#39;api_key&#39;)<br><br># Load the search index<br>search_index = AnnoyIndex(f=4096, metric=&#39;angular&#39;)<br>search_index.load(&#39;search_index.ann&#39;)<br><br># load the csv file called cohere_final.csv<br>df = pd.read_csv(&#39;cohere_text_final.csv&#39;)<br><br># title<br>st.title(&quot;Cofinder&quot;)<br>st.subheader(&quot;A semantic search tool built for the Cohere community&quot;)</pre><h4>4. Search Function</h4><p>The search function takes in a query, the number of search results to return n_results, a dataframe df, an index search_index, and an embedding model co.embed(). Here&#39;s a step-by-step breakdown of what the function does:</p><ol><li>The function uses the co.embed function to get the embedding of the query using the specified model (&quot;large&quot;).</li><li>The function uses the search_index.get_nns_by_vector function to get the n_results nearest neighbors to the query embedding in the specified index search_index. The function returns the indices of the nearest neighbors as well as the similarity scores.</li><li>The function filters the original dataframe (df) to include only the rows that correspond to the nearest neighbors returned in step 2.</li><li>The function adds two new columns to the filtered dataframe: similarity, which contains the similarity scores between the query embedding and the document embeddings; and nearest_neighbors, which contains the indices of the nearest neighbors.</li><li>Finally, the function sorts the filtered dataframe by similarity in descending order and returns it.</li></ol><p>The results of the search will be used as context to answer the user’s question.</p><pre>def search(query, n_results, df, search_index, co):<br>    # Get the query&#39;s embedding<br>    query_embed = co.embed(texts=[query],<br>                    model=&quot;large&quot;,<br>                    truncate=&quot;LEFT&quot;).embeddings<br>    <br>    # Get the nearest neighbors and similarity score for the query <br>    # and the embeddings, append it to the dataframe<br>    nearest_neighbors = search_index.get_nns_by_vector(<br>        query_embed[0], <br>        n_results, <br>        include_distances=True)<br>    # filter the dataframe to include the nearest neighbors using the index<br>    df = df[df.index.isin(nearest_neighbors[0])]<br>    df[&#39;similarity&#39;] = nearest_neighbors[1]<br>    df[&#39;nearest_neighbors&#39;] = nearest_neighbors[0]<br>    df = df.sort_values(by=&#39;similarity&#39;, ascending=False)<br>    return df</pre><p>When we run this function, we get a JSON output containing the article title and the context relevant to the query</p><p><strong>Question: </strong>How do I use Cohere to build a chatbot?</p><pre>[<br>0:[<br>0:&quot; Use Cohere&#39;s Classify endpoint for intent recognition and text classification.&quot;<br>1:&quot;Paragraph:Use Cohere’s Classify for intent recognition and text classification. Starting from the same Transformer architecture as Google’s Search and Translate, Cohere’s Classify endpoint can read, understand, and label the intent behind unstructured customer queries with exceptional speed and accuracy. Developers can further finetune Cohere’s large language models with their own dataset per their business or industry. Set the road rules, define your core customer intent categories, and train Cohere’s Classify model by providing it with example customer queries for each category. Start the engine, Classify then combines this custom understanding of your intent categories with a deep understanding of language and context provided by our large language models to create a finetuned model, ready to handle your customer data. Get driving, every time a user enters a prompt into your chatbot, Cohere will classify the request by intent, allowing your bot to provide the most relevant answer back. Answer the question using this paragraph. Question: How do I use Cohere to build a chatbot? Answer:&quot;<br>]<br>1:[<br>0:&quot; Cohere uses billions of examples to train their models, which allows them to understand and recognize the intent behind a specific phrase. This intent recognition is used to power sophisticated chatbots that move beyond basic keyword recognition.&quot;<br>1:&quot;Paragraph:Billions of examples, Cohere’s models are trained on billions of sentences, allowing them to understand and recognize the intent behind a specific phrase. Our models excel at intent recognition tasks and can power sophisticated chatbots that move beyond basic keyword recognition. Answer the question using this paragraph. Question: How do I use Cohere to build a chatbot? Answer:&quot;<br>]<br>2:[<br>0:&quot; Cohere is a chatbot platform that is powered by basic keyword recognition. This means that the bot&#39;s ability to &#39;understand&#39; queries is dependent upon customers using very specific phrases.&quot;<br>1:&quot;Paragraph:Keywords aren’t enough. Many chatbot platforms are powered by basic keyword recognition. This means that the bot’s ability to “understand” queries is dependent upon customers using very specific phrases. Developers could augment this by painstakingly predicting the myriad ways that a customer could phrase a specific query, including slang, misspellings, and differences in context. However, that task would be time consuming, if not downright impossible Answer the question using this paragraph. Question: How do I use Cohere to build a chatbot? Answer:&quot;<br>]<br>3:[<br>0:&quot; &quot;Cohere&#39;s API is created to help you build natural language understanding and generation into your production with a few lines of code. Our Quickstart Tutorials will show you how to implement our API from zero-to-one in under 5 minutes.&quot;&quot;<br>1:&quot;Paragraph:[&quot;Cohere&#39;s API is created to help you build natural language understanding and generation into your production with a few lines of code. Our Quickstart Tutorials will show you how to implement our API from zero-to-one in under 5 minutes. &quot;, &#39;Chatbots are designed to understand and respond to human language. They need to be able to understand the text they hear and understand the context of the conversation. They also need to be able to respond to people’s questions and comments in a meaningful way. To accomplish this, chatbots must be able to recognize specific intents that people express in conversation.Here is an example of classifying the intent of customer inquiries on an eCommerce website into three categories: Shipping and handling policy, Start return or exchange, or Track order.&#39;, &#39;Updated about 1 month ago &#39;] Answer the question using this paragraph. Question: How do I use Cohere to build a chatbot? Answer:&quot;<br>]<br>4:[<br>0:&quot; Our product is a Web based Application which improves the efficiency of chat based support systems by automating repetitive parts of the workflow. This is done by utilising Cohere&#39;s API in order to provide smart shortcuts for the Chat Support Agents.&quot;<br>1:&quot;Paragraph:Our product is a Web based Application which improves the efficiency of chat based support systems by automating repetitive parts of the workflow. This is done by utilising Cohere’s API in order to provide smart shortcuts for the Chat Support Agents. We aim to maximise Customer and Customer Support Agent satisfaction by making the lookup of product and service related answers instantaneous, thereby allowing the Customer Support Agent to put more effort into the interaction with the customer rather than the mundane task of researching answers. Answer the question using this paragraph. Question: How do I use Cohere to build a chatbot? Answer:&quot;<br>]<br>]</pre><h4>5. Answer Function</h4><p>We now want to take the user question and generate an answer to the question given the search results from the previous function.</p><p>Overall, the display function below is broken down into two tasks,</p><ol><li>The gen_answer and gen_better_answer functions are used to generate answers for the query and each of the search results. The gen_answer function generates an initial answer based on a prompt that includes the paragraph and the question, while gen_better_answer generates a better answer by incorporating the initial answers and the question.</li><li>The results are displayed in a user-friendly format using the st module from the Streamlit library. The search query is displayed as a subheader, followed by the better answer generated by gen_better_answer. The relevant documents are then displayed, one by one. Each document is displayed with its type, category, title, and link, followed by the initial answer generated by gen_answer. The text of the document is then collapsed and can be expanded by clicking on &quot;Read more&quot;.</li></ol><pre>def display(query, results):<br>    # 1. Run co.generate functions to generate answers<br><br>    # for each row in the dataframe, generate an answer concurrently<br>    with ThreadPoolExecutor(max_workers=1) as executor:<br>        results[&#39;answer&#39;] = list(executor.map(gen_answer, <br>                                              [query]*len(results), <br>                                              results[&#39;text&#39;]))<br>    answers = results[&#39;answer&#39;].tolist()<br>    # run the function to generate a better answer<br>    answ = gen_better_answer(query, answers)<br>    <br>    # 2. Display the resuls in a user-friendly format<br>    <br>    st.subheader(query)<br>    st.write(answ)<br>    # add a spacer<br>    st.write(&#39;&#39;)<br>    st.write(&#39;&#39;)<br>    st.subheader(&quot;Relevant documents&quot;)<br>    # display the results<br>    for i, row in results.iterrows():<br>        # display the &#39;Category&#39; outlined<br>        st.markdown(f&#39;**{row[&quot;Type&quot;]}**&#39;)<br>        st.markdown(f&#39;**{row[&quot;Category&quot;]}**&#39;)<br>        st.markdown(f&#39;{row[&quot;title&quot;]}&#39;)<br>        # display the url as a hyperlink<br>        # add a button to open the url in a new tab<br>        st.markdown(f&#39;[{row[&quot;link&quot;]}]({row[&quot;link&quot;]})&#39;)<br>        st.write(row[&#39;answer&#39;])<br>        # collapse the text<br>        with st.expander(&#39;Read more&#39;):<br>            st.write(row[&#39;text&#39;])<br>        st.write(&#39;&#39;)</pre><p>Let’s explore the the gen_answer and gen_better_answer functions to see what is happening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3sUd3W4bgacWUd2AiLwIJA.png" /><figcaption>Cofinder | search context and generate best answer</figcaption></figure><p>Here we create two co.generate() prompts, these functions use Cohere’s pre-trained models to generate text that answers a given question from the context provided from the search results.</p><ul><li>gen_answer(q, para): This function returns an answer to the question given the context returned from our search function. In the display function above, we ran this function by iterating over each of the search results from the JSON output to gather context from multiple sources.</li><li>gen_better_answer(ques, ans): This function takes the question and all of the responses from thegen_answer function, it uses the combined answers to formulate a more rounded answer taking into account all the available resources.</li></ul><p>The max_tokens and temperature parameters can be tuned to control the length and randomness of the generated text.</p><pre># define a function to generate an answer<br>def gen_answer(q, para): <br>    response = co.generate( <br>        model=&#39;command-xlarge-20221108&#39;, <br>        prompt=f&#39;&#39;&#39;Paragraph:{para}\n\n<br>                Answer the question using this paragraph.\n\n<br>                Question: {q}\nAnswer:&#39;&#39;&#39;, <br>        max_tokens=100, <br>        temperature=0.4)<br>    return response.generations[0].text<br><br>def gen_better_answer(ques, ans): <br>    response = co.generate( <br>        model=&#39;command-xlarge-20221108&#39;, <br>        prompt=f&#39;&#39;&#39;Answers:{ans}\n\n<br>                Question: {ques}\n\n<br>                Generate a new answer that uses the best answers <br>                and makes reference to the question.&#39;&#39;&#39;, <br>        max_tokens=100, <br>        temperature=0.4)<br>    return response.generations[0].text</pre><p>Finally, we add a streamlit search input along with some question examples for the user, and button that runs our functions.</p><pre># add the if statements to run the search function when the user clicks the buttons<br><br>query = st.text_input(&#39;Ask a question about Cohere&#39;)<br># write some examples to help the user<br><br>st.markdown(&#39;&#39;&#39;Try some of these examples: <br>- What is the Cohere API?<br>- What are embeddings?<br>- What is the Cohere playground?<br>- How can I build a chatbot?&#39;&#39;&#39;)<br><br>if st.button(&#39;Search&#39;):<br>    results = search(query, 3, df, search_index, co)<br>    display(query, results)</pre><p>Well done! You are now ready to<a href="https://streamlit.io/cloud"> publish your Streamlit application to the cloud!</a></p><h4>Calling all developers</h4><p>The vision for Cofinder was “Built for the community, by the community”, can you help make Cofinder a better search tool for our community? Please contact me on <a href="https://www.linkedin.com/in/elle-neal-78994617/">LinkedIn </a>or Discord Elle Neal#0726 to discuss how we can make this happen.</p><p>As a starting point, here are some potential features I captured at the end of the hackathon, I am excited to see how we can take this application to the next level!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*H4SODILfgEpduqBHAvzADw.png" /><figcaption>Cofinder | Feature Pipeline</figcaption></figure><h4>Next Steps</h4><p>So there you have it, a step-by-step guide to building an AI-powered semantic search application using Cohere’s API. But this is just the beginning! Cofinder was built for the community, by the community, and we are always looking for ways to make it better. As a community member, your input is crucial in shaping the future of Cofinder. Please reach out to me on LinkedIn or Discord to discuss potential features and how we can work together to take this application to the next level.</p><p>Let’s continue to innovate and make the Cohere community experience even better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5a60cb797be" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>