<?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[digital tech articles - Medium]]></title>
        <description><![CDATA[This publication is about the latest articles on technology changes - Medium]]></description>
        <link>https://medium.com/digital-tech-articles?source=rss----d40ca535dda5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>digital tech articles - Medium</title>
            <link>https://medium.com/digital-tech-articles?source=rss----d40ca535dda5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 08:25:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/digital-tech-articles" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding Large Language Models (LLMs): A Business Perspective]]></title>
            <link>https://medium.com/digital-tech-articles/understanding-large-language-models-llms-a-business-perspective-8148026b12c7?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/8148026b12c7</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 07:06:42 GMT</pubDate>
            <atom:updated>2024-11-11T08:41:39.690Z</atom:updated>
            <content:encoded><![CDATA[<p>Understanding Large Language Models (LLMs): A Business Perspective</p><p><strong>Introduction: The Rise of AI in Business</strong></p><p>Artificial Intelligence (AI) has been revolutionizing industries, and one of the most transformative AI technologies is the Large Language Model (LLM). From customer service automation to business insights, LLMs are becoming a critical tool for companies looking to stay competitive in today’s rapidly evolving digital landscape. But what exactly are LLMs, and how can businesses benefit from them?</p><p>This article will break down LLMs in a way that business professionals can easily grasp — explaining what they are, how they work, their use cases, and the potential benefits they offer to various industries.</p><p><strong>What Are Large Language Models (LLMs)?</strong></p><p>Large Language Models (LLMs) are a type of artificial intelligence system designed to understand, generate, and manipulate human language at a high level of proficiency. They are built on neural networks that are trained on vast datasets comprising texts from books, websites, research papers, and other written materials. The more data the model is exposed to, the better it becomes at predicting and generating text based on the context.</p><p>The most prominent LLMs include GPT-4 by OpenAI, BERT by Google, and T5 (Text-To-Text Transfer Transformer). These models can be used for a range of tasks like:</p><p>- Text Generation: Writing articles, reports, or even marketing copy.<br> — Translation: Converting text from one language to another with high accuracy.<br> — Sentiment Analysis: Determining the emotional tone behind a piece of text.<br> — Summarization: Reducing large volumes of text into concise summaries.</p><p>What sets LLMs apart is their ability to mimic human-like understanding and generate meaningful, coherent responses in conversations or written text. This capability makes them indispensable for businesses that handle large amounts of textual data.</p><p>— -</p><p><strong>How LLMs Work: A Simplified Breakdown</strong></p><p>LLMs operate using deep learning, a subset of machine learning where algorithms are structured to mimic the human brain. The model is exposed to large datasets and “learns” patterns, grammar rules, and even subtle meanings in language.</p><p>At the heart of an LLM is the Transformer architecture, which allows the model to handle long-term dependencies in text, such as understanding context from earlier sentences to inform responses later in the text.</p><p><strong>Here’s a simplified step-by-step process of how an LLM works:</strong></p><p>1. Pre-Training: The model is trained on a large corpus of text. This allows the model to learn basic language structure, grammar, and general world knowledge.<br> <br> 2. Fine-Tuning: For specific business applications, LLMs can be fine-tuned on smaller datasets that are industry-specific or task-specific, allowing businesses to get more relevant and accurate outputs.</p><p>3. Inference: Once the model is trained and fine-tuned, it can generate responses, translate text, or perform other tasks based on the inputs it receives from users.</p><p>— -</p><p><strong>Use Cases of LLMs Across Business Sectors</strong></p><p>Businesses across industries are already harnessing the power of LLMs for a range of tasks. Let’s look at some specific examples:</p><p>1. Customer Support and Service:<br> — LLMs power chatbots and virtual assistants that provide real-time responses to customer inquiries. For instance, companies like Zendesk and Salesforce integrate LLMs to automate customer support, reducing the need for human intervention in common queries.<br> — These bots can handle everything from FAQs to more complex troubleshooting, significantly reducing operational costs and improving customer satisfaction.</p><p>2. Marketing and Content Generation:<br> — LLMs can generate marketing copy, social media posts, or even entire blog articles with minimal human oversight. Jasper AI and Copy.ai are examples of tools that use LLMs to help marketers create content more efficiently.<br> — Businesses can also use LLMs to create personalized marketing messages by analyzing customer preferences and behaviors, leading to more effective outreach.</p><p>3. Data Analysis and Business Insights:<br> — LLMs are now used to process large datasets and generate meaningful business insights from unstructured data, such as customer reviews, social media posts, or internal communications.<br> — For example, sentiment analysis can help brands understand public perception and adjust their strategies accordingly.</p><p>4. Legal and Compliance:<br> — In industries like finance and healthcare, where regulatory compliance is critical, LLMs can be used to review documents, contracts, and policies.<br> — They can identify clauses, flag potential compliance risks, and even help draft legal documents, speeding up what would otherwise be time-consuming processes.</p><p>5. Human Resources:<br> — LLMs are increasingly being used in resume screening, helping HR departments quickly identify qualified candidates by automatically filtering applications based on job requirements.<br> — They can also be used for employee engagement surveys, summarizing feedback and providing actionable insights to HR teams.</p><p>6. Healthcare:<br> — In healthcare, LLMs assist in processing patient data and medical literature to support diagnostic decision-making. Tools like IBM Watson Health use LLMs to extract useful information from vast amounts of clinical data.</p><p>— -</p><p><strong>Implementing LLMs in Business: Challenges and Considerations</strong></p><p>While LLMs offer a wide range of applications, implementing them requires careful planning and understanding of certain challenges:</p><p>1. Data Privacy and Security:<br> — When deploying LLMs, especially in industries like finance or healthcare, data privacy concerns need to be addressed. Businesses need to ensure that sensitive information is protected and that AI models comply with privacy regulations such as GDPR or HIPAA.</p><p>2. Infrastructure Needs:<br> — LLMs require significant computing power, particularly during training. Cloud platforms like Amazon Web Services (AWS) or Microsoft Azure offer scalable solutions, but businesses need to factor in the costs associated with cloud infrastructure.</p><p>3. Bias and Fairness:<br> — Because LLMs are trained on data sourced from the internet, they can sometimes reflect societal biases. Businesses need to regularly audit their AI systems to ensure fairness and mitigate any potential biases that could harm their reputation or result in regulatory issues.</p><p>4. Cost of Fine-Tuning and Maintenance:<br> — While pre-trained LLMs can be useful, fine-tuning them to suit specific business needs may require expertise and incur additional costs. Businesses must evaluate the trade-off between adopting a generalized LLM versus investing in a specialized one.</p><p>— -</p><p>Benefits of LLMs for Businesses</p><p>Now that we’ve explored what LLMs are and how they can be applied, let’s look at the tangible benefits they bring to businesses:</p><p>1. Cost Savings:<br> — Automating customer service, marketing, and HR processes with LLMs reduces the need for manual labor, leading to significant operational cost savings.</p><p>2. Scalability:<br> — LLMs can handle large volumes of data and interactions simultaneously, making them ideal for businesses looking to scale without hiring a proportional number of employees.</p><p>3. Improved Customer Experience:<br> — With LLM-powered chatbots and virtual assistants, businesses can provide real-time support and personalized recommendations, improving overall customer satisfaction and retention.</p><p>4. Faster Decision-Making:<br> — LLMs can analyze unstructured data quickly, providing insights and recommendations that help business leaders make informed decisions faster.</p><p>5. Innovation and Agility:<br> — By adopting LLMs, companies can stay ahead of the curve in terms of innovation. AI-driven tools can help businesses adapt to market changes faster and remain competitive.</p><p>— -</p><p><strong>Conclusion: Riding the AI Wave with LLMs</strong></p><p>Large Language Models are not just another tech buzzword; they represent a fundamental shift in how businesses can leverage AI to streamline operations, enhance customer experience, and generate insights. For business leaders, understanding and implementing LLMs can provide a significant competitive advantage, driving innovation and operational efficiency.</p><p>By adopting LLMs, businesses stand to not only optimize their current processes but also unlock new avenues for growth and customer engagement. The potential is vast, and those who tap into it early will undoubtedly shape the future of their industries.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8148026b12c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/understanding-large-language-models-llms-a-business-perspective-8148026b12c7">Understanding Large Language Models (LLMs): A Business Perspective</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding AI Agents and Their Applications with LLM APIs]]></title>
            <link>https://medium.com/digital-tech-articles/understanding-ai-agents-and-their-applications-with-llm-apis-87bf57d62319?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/87bf57d62319</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 07:06:25 GMT</pubDate>
            <atom:updated>2024-12-30T18:38:07.711Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What Are AI Agents?</strong></p><p><a href="https://digiwired.tech/2024/12/17/how-ai-agents-empower-businesses-in-the-us/">AI agents</a> are autonomous software entities designed to perform tasks and make decisions on behalf of users or systems. They leverage machine learning, <a href="https://digiwired.tech/2024/09/27/fine-tuning-techniques-for-large-language-models-llms-a-comprehensive-guide-for-gen-ai-architects/">LLMs</a>, and other AI techniques to interact with their environment, process data, and achieve specific objectives. These agents often operate in dynamic environments, using contextual understanding and decision-making capabilities to adapt and optimize their actions.</p><p><strong>Key Characteristics of AI Agents</strong></p><ol><li>Autonomy: Operate without continuous human intervention.</li><li>Adaptability: Learn and evolve based on new data and scenarios.</li><li>Proactivity: Anticipate user needs or future states and act accordingly.</li><li>Interactivity: Communicate effectively with users, other systems, or agents.</li><li>Goal-Oriented: Focus on achieving predefined objectives or solving specific problems.</li></ol><p><strong>Applications of AI Agents</strong></p><p>AI agents are versatile and can be applied across numerous domains. Here are some key areas where they provide value, particularly in scenarios involving LLM APIs:</p><p>1. Customer Support and Virtual Assistants</p><ul><li>Use Case: Automate responses to customer queries, provide step-by-step guidance, or manage customer service tickets.</li><li>LLM Integration: Fine-tuned models like OpenAI’s GPT can generate contextually relevant responses, enhancing customer satisfaction.</li><li>Example: Chatbots for e-commerce platforms, technical support desks, or healthcare FAQs.</li></ul><p>2. Content Creation and Moderation</p><ul><li>Use Case: Generate blogs, marketing copy, or product descriptions. Additionally, filter inappropriate content or spam.</li><li>LLM Integration: Use generative models to produce engaging and grammatically correct content, while leveraging classifiers to identify harmful content.</li><li>Example: Social media tools that create posts based on trending topics or applications that moderate online forums.</li></ul><p>3. Personalized Learning</p><ul><li>Use Case: Provide tailored educational experiences for students, adapting content based on their progress.</li><li>LLM Integration: Design quizzes, explain complex topics, or provide personalized study plans.</li><li>Example: AI tutors for STEM subjects, language learning applications, or corporate training programs.</li></ul><p>4. Recommendation Systems</p><ul><li>Use Case: Suggest products, services, or content based on user preferences and behavior.</li><li>LLM Integration: Enhance recommendation logic by analyzing unstructured data, such as reviews or user feedback.</li><li>Example: E-commerce platforms recommending products or streaming services suggesting movies.</li></ul><p>5. Healthcare Assistance</p><ul><li>Use Case: Support medical professionals by analyzing symptoms, suggesting diagnoses, or providing medication information.</li><li>LLM Integration: Interpret patient data, summarize medical research, or generate prescription explanations.</li><li>Example: Virtual health assistants for chronic disease management or post-appointment follow-ups.</li></ul><p>6. Business Process Automation</p><ul><li>Use Case: Streamline repetitive tasks like document processing, report generation, or data extraction.</li><li>LLM Integration: Automate drafting and editing reports, summarizing lengthy documents, or extracting insights from data.</li><li>Example: AI agents that manage employee onboarding or process financial audits.</li></ul><p>7. Coding and Development Assistance</p><ul><li>Use Case: Help developers write, debug, and optimize code.</li><li>LLM Integration: Generate code snippets, explain algorithms, or provide suggestions for optimizing existing code.</li><li>Example: Integrated development tools like GitHub Copilot or ChatGPT-based code assistants.</li></ul><p>8. Dynamic Workflows and Task Management</p><ul><li>Use Case: Assign tasks, prioritize actions, or manage workflows dynamically.</li><li>LLM Integration: Understand user inputs, suggest task priorities, and provide actionable summaries.</li><li>Example: Project management tools with built-in AI agents.</li></ul><p>9. Market Research and Data Analysis</p><ul><li>Use Case: Analyze market trends, customer reviews, or competitor strategies.</li><li>LLM Integration: Summarize datasets, generate insights, or perform sentiment analysis.</li><li>Example: Applications for competitive intelligence or consumer behavior analysis.</li></ul><p>Technical Considerations for Using AI Agents with LLM APIs</p><p>When building applications involving AI agents and LLM APIs, consider the following:</p><p>1. API Integration</p><ul><li>Choose an API that aligns with your use case, such as OpenAI, Anthropic, or Google’s PaLM.</li><li>Use APIs for specific tasks, such as text completion, summarization, or translation.</li></ul><p>2. Fine-Tuning and Customization</p><ul><li>Fine-tune pre-trained LLMs on domain-specific datasets to improve accuracy.</li><li>Leverage embeddings for semantic search and contextual understanding.</li></ul><p>3. Context Management</p><ul><li>Implement strategies to handle conversational history effectively.</li><li>Use techniques like token window optimization to manage long inputs and outputs.</li></ul><p>4. Performance Optimization</p><ul><li>Monitor latency and response times of API calls.</li><li>Use batching or caching mechanisms for high-demand applications.</li></ul><p>5. Ethical and Responsible AI</p><ul><li>Ensure compliance with data privacy regulations (e.g., GDPR, HIPAA).</li><li>Implement measures to avoid generating harmful or biased content.</li></ul><p>6. Scalability</p><ul><li>Plan for scalability to accommodate growing user bases.</li><li>Use cloud-based solutions like AWS or Azure to manage infrastructure demands.</li></ul><p>Challenges and Solutions</p><p>1. High Costs</p><ul><li>Challenge: LLM API usage can be expensive for large-scale applications.</li><li>Solution: Optimize prompts, limit token usage, and use local models where feasible.</li></ul><p>2. Contextual Errors</p><ul><li>Challenge: LLMs may generate incorrect or irrelevant outputs.</li><li>Solution: Implement feedback loops and validation layers.</li></ul><p>3. Ethical Concerns</p><ul><li>Challenge: Risk of misuse or biased outputs.</li><li>Solution: Use safety mechanisms like content filtering and human oversight.</li></ul><p>Conclusion</p><p>AI agents, powered by LLM APIs, offer transformative capabilities across industries. By understanding their potential applications and addressing technical considerations, businesses can build innovative, user-centric solutions. As these technologies evolve, the key to success lies in ethical deployment, robust design, and continuous improvement.</p><p>Please reach out to our email digitalneeds.tech@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87bf57d62319" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/understanding-ai-agents-and-their-applications-with-llm-apis-87bf57d62319">Understanding AI Agents and Their Applications with LLM APIs</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How ChatGPT Works Internally: A Deep Dive into Next-Word Prediction]]></title>
            <link>https://medium.com/digital-tech-articles/how-chatgpt-works-internally-a-deep-dive-into-next-word-prediction-9f606fbe3c84?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/9f606fbe3c84</guid>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[transformers]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 07:06:06 GMT</pubDate>
            <atom:updated>2025-01-06T11:52:47.769Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of <a href="https://digiwired.tech/2024/12/25/unlocking-innovation-with-llms-how-generative-ai-is-reshaping-business-solutions/">AI </a>and natural language processing (NLP), <a href="https://digiwired.tech/">ChatGPT </a>has become a groundbreaking tool, revolutionizing the way machines understand and generate human-like text. But how does it actually work under the hood? In this article, we’ll break down the core workings of ChatGPT, starting from the fundamental building blocks and moving towards how it predicts the next word in a sentence. We’ll also illustrate this with a real-life example to make the concept crystal clear.</p><h3>1. Foundation of ChatGPT: The Transformer Architecture</h3><p>At the heart of ChatGPT lies the <strong>Transformer model</strong>, introduced by Google in the 2017 paper <em>“Attention Is All You Need.”</em> Transformers have two key components:</p><ul><li><strong>Encoder</strong>: Processes the input text.</li><li><strong>Decoder</strong>: Generates output text.</li></ul><p>However, ChatGPT uses only the <strong>Decoder</strong> part, optimized for language generation.</p><h3>Key Concepts of the Transformer Decoder:</h3><ul><li><strong>Tokenization:</strong> The input text is broken into smaller units called <em>tokens</em> (words, subwords, or characters).</li><li><strong>Embedding:</strong> Each token is converted into a numerical representation (vector) using <em>embedding layers</em>.</li><li><strong>Attention Mechanism:</strong> The model uses <em>self-attention</em> to weigh the importance of each token in relation to others.</li><li><strong>Feed-Forward Neural Network:</strong> Processes attention outputs and generates predictions.</li></ul><h3>Number of Layers and Parameters in ChatGPT</h3><p>Modern versions of ChatGPT, such as GPT-4, consist of <strong>up to 96 decoder layers</strong>. Each layer contains the following key sub-layers:</p><ol><li><strong>Multi-Head Self-Attention Mechanism</strong></li><li><strong>Feed-Forward Neural Network</strong></li><li><strong>Layer Normalization</strong></li></ol><p>Each layer refines the representations of tokens, and the output from one layer serves as input to the next.</p><p>Additionally, GPT-4 has an estimated <strong>1.7 trillion parameters</strong>, making it one of the largest language models ever built.</p><h3>2. Tokenization and Embedding: The First Step</h3><p>When you provide a prompt (e.g., <em>“Write a blog about AI”</em>), the text is broken down into tokens:</p><pre>[&#39;Write&#39;, &#39;a&#39;, &#39;blog&#39;, &#39;about&#39;, &#39;AI&#39;]</pre><p>Each token is then mapped to a high-dimensional space via embedding.</p><p>Token Embedding Vector (Simplified Example) Write [0.21, 0.45, 0.78, …] a [0.11, 0.35, 0.22, …] blog [0.56, 0.89, 0.31, …]</p><p>These embeddings are the starting points for prediction.</p><h3>3. Self-Attention Mechanism: Understanding Context</h3><p>The self-attention mechanism allows the model to focus on relevant tokens while predicting the next word.</p><p>For example, if the input is:</p><pre>&quot;Write a blog about AI and machine learning.&quot;</pre><p>While predicting the next token after ‘AI’, the model will assign higher weights to ‘blog’ and ‘AI’ because they are more contextually relevant.</p><h3>Multi-Head Attention</h3><p>Instead of using a single attention mechanism, Transformers use <strong>multi-head attention</strong>, where multiple attention heads work in parallel to capture different aspects of token relationships.</p><p>Attention Head Focus Token Head 1 ‘blog’ Head 2 ‘AI’ Head 3 ‘learning’</p><p>The results from each head are combined and passed forward.</p><h3>4. Feed-Forward Network: Processing Attention Outputs</h3><p>The outputs from the self-attention layer are passed through a <strong>position-wise feed-forward neural network (FFN)</strong>. Each token embedding is transformed independently through this network, which typically has two linear layers with a ReLU activation function in between.</p><h3>5. Next-Word Prediction: Real-Life Example</h3><p>Imagine you’re writing a blog titled <em>“The Future of AI.”</em> You start with the prompt:</p><pre>&quot;Artificial Intelligence is changing the way...&quot;</pre><h3>Step-by-Step Prediction:</h3><ol><li>The input text is tokenized and embedded.</li><li>Multi-head self-attention identifies that ‘changing’ and ‘way’ are important tokens.</li><li>The feed-forward network processes these embeddings.</li><li>The final layer generates probabilities for the next word.</li></ol><p>Example of token probabilities:</p><p>Token Probability we 0.35 humans 0.25 organizations 0.15 understand 0.10</p><p>The token with the highest probability (<em>‘we’</em>) is selected, and the sentence continues:</p><pre>&quot;Artificial Intelligence is changing the way we...&quot;</pre><p>This process repeats until the model generates a complete output.</p><h3>6. Temperature and Top-k Sampling: Adding Diversity</h3><ul><li><strong>Temperature:</strong> Controls randomness in predictions (low values = deterministic, high values = creative).</li><li><strong>Top-k Sampling:</strong> Limits predictions to the top <em>k</em> probable words.</li></ul><h3>7. Conclusion</h3><p>At its core, ChatGPT generates text token by token, using embeddings, multi-head self-attention, and neural networks to predict the most probable next word based on context. With <strong>dozens of layers</strong> and <strong>trillions of parameters</strong>, it can generate highly coherent and contextually appropriate text.</p><p>Understanding these building blocks not only demystifies ChatGPT but also provides a strong foundation for exploring advanced topics in NLP and AI.</p><p>With this knowledge, you’re now better equipped to dive deeper into language models or build projects leveraging ChatGPT’s capabilities!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f606fbe3c84" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/how-chatgpt-works-internally-a-deep-dive-into-next-word-prediction-9f606fbe3c84">How ChatGPT Works Internally: A Deep Dive into Next-Word Prediction</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Different Types of AI Agents and Their Real-Life Applications]]></title>
            <link>https://medium.com/digital-tech-articles/understanding-different-types-of-ai-agents-and-their-real-life-applications-1c1de20606d0?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/1c1de20606d0</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Tue, 14 Jan 2025 11:43:41 GMT</pubDate>
            <atom:updated>2025-01-14T11:39:58.347Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nl63E1Gmlpqqcc5lQniIEQ.jpeg" /></figure><p>In the rapidly evolving world of artificial intelligence (<a href="https://digiwired.tech/2024/12/17/how-ai-agents-empower-businesses-in-the-us/">AI</a>), understanding the different types of AI agents can provide valuable insights for businesses and technical professionals. AI agents, including those powered by large language models (<a href="https://digiwired.tech/2024/12/25/unlocking-innovation-with-llms-how-generative-ai-is-reshaping-business-solutions/">LLMs</a>), are entities capable of perceiving their environment and taking actions to achieve specific goals. These agents are classified based on their capabilities and functionalities. This article explores the various types of AI agents, their unique characteristics, and real-world applications in business and technology.</p><h3>1. Reactive Agents</h3><p>Reactive agents operate based on the current state of their environment. They do not have memory or the ability to learn from past experiences. Their decision-making is based on predefined rules or heuristics.</p><h4>Characteristics:</h4><ul><li>No memory or internal state.</li><li>Immediate response to stimuli.</li><li>Simplistic but fast decision-making process.</li></ul><h4>Use Cases:</h4><ul><li><strong>Spam Filters:</strong> Identify spam emails based on preset rules.</li><li><strong>Autonomous Robots:</strong> Basic robots that follow fixed paths or avoid obstacles.</li><li><strong>Real-Time Systems:</strong> Temperature control systems that react to immediate changes.</li></ul><h3>2. Model-Based Agents</h3><p>Model-based agents build an internal representation of their environment to make decisions. They consider both the current state and predictions of future states to act effectively.</p><h4>Characteristics:</h4><ul><li>Maintains an internal model of the environment.</li><li>Can predict the consequences of actions.</li><li>More complex than reactive agents.</li></ul><h4>Use Cases:</h4><ul><li><strong>Self-Driving Cars:</strong> Navigate traffic by predicting the behavior of other vehicles.</li><li><strong>Smart Home Systems:</strong> Adjust heating, lighting, or security settings based on patterns.</li><li><strong>Inventory Management:</strong> Optimize stock levels by forecasting demand, aiding business efficiency.</li></ul><h3>3. Goal-Based Agents</h3><p>Goal-based agents take actions to achieve specific goals. They evaluate various possibilities and choose actions that best achieve their objectives.</p><h4>Characteristics:</h4><ul><li>Goal-oriented decision-making.</li><li>Requires planning and reasoning.</li><li>Flexible in dynamic environments.</li></ul><h4>Use Cases:</h4><ul><li><strong>Route Optimization:</strong> Navigation systems that find the shortest path to a destination.</li><li><strong>AI Assistants:</strong> Provide tailored recommendations to meet user goals, often leveraging LLMs.</li><li><strong>Logistics Management:</strong> Optimize delivery schedules and routes, benefiting businesses.</li></ul><h3>4. Utility-Based Agents</h3><p>Utility-based agents go beyond achieving goals; they aim to maximize utility, which represents a measure of success or satisfaction.</p><h4>Characteristics:</h4><ul><li>Considers trade-offs between different actions.</li><li>Balances multiple goals for optimal outcomes.</li><li>Evaluates the desirability of outcomes.</li></ul><h4>Use Cases:</h4><ul><li><strong>Financial Trading Systems:</strong> Maximize profits while minimizing risks.</li><li><strong>E-commerce Personalization:</strong> Suggest products based on user preferences and satisfaction metrics.</li><li><strong>Energy Management:</strong> Optimize energy usage for cost savings and environmental impact in businesses.</li></ul><h3>5. Learning Agents</h3><p>Learning agents have the ability to improve their performance over time by learning from experiences. They consist of four main components: performance element, learning element, critic, and problem generator.</p><h4>Characteristics:</h4><ul><li>Can adapt to changing environments.</li><li>Uses data to enhance decision-making.</li><li>Incorporates feedback mechanisms.</li></ul><h4>Use Cases:</h4><ul><li><strong>Chatbots:</strong> Improve conversational accuracy over time, often powered by LLMs.</li><li><strong>Predictive Analytics:</strong> Forecast trends using historical data for business growth.</li><li><strong>Fraud Detection:</strong> Learn new fraudulent patterns to enhance security measures.</li></ul><h3>6. Multi-Agent Systems (MAS)</h3><p>Multi-agent systems involve multiple AI agents interacting and collaborating to achieve common or individual goals. These agents can either work cooperatively or competitively.</p><h4>Characteristics:</h4><ul><li>Composed of multiple agents with distinct roles.</li><li>Can communicate and share information.</li><li>Capable of handling complex tasks.</li></ul><h4>Use Cases:</h4><ul><li><strong>Supply Chain Management:</strong> Coordinate activities among manufacturers, suppliers, and distributors.</li><li><strong>Traffic Control Systems:</strong> Manage urban traffic flow using multiple agents for different intersections.</li><li><strong>Gaming:</strong> Simulate realistic scenarios with multiple entities.</li></ul><h3>Conclusion</h3><p>Understanding the types of AI agents helps businesses and technical teams make informed decisions about integrating AI into their operations. From reactive agents to advanced learning systems powered by LLMs, each type offers unique strengths suited for specific tasks. Leveraging the right AI agent can drive innovation, improve efficiency, and unlock new opportunities in the business landscape as AI technology continues to evolve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c1de20606d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/understanding-different-types-of-ai-agents-and-their-real-life-applications-1c1de20606d0">Understanding Different Types of AI Agents and Their Real-Life Applications</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Node-based SAM App on AWS]]></title>
            <link>https://medium.com/digital-tech-articles/deploy-node-based-sam-app-on-aws-f69ea71ff64?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/f69ea71ff64</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-sqs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[aws-sam]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Mon, 28 Nov 2022 13:18:08 GMT</pubDate>
            <atom:updated>2022-11-28T12:45:44.662Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I will demonstrate creating a basic AWS SQS queue and AWS lambda as its subscriber via an automation process from AWS SAM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wNl12udTc1A6PYO7" /><figcaption>Photo by <a href="https://unsplash.com/@mrpeker?utm_source=medium&amp;utm_medium=referral">Mehmet Ali Peker</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Table of contents</p><ol><li>Prerequisites</li><li>Setting up SAM and project</li><li>Creating AWS Codecommit repo &amp; S3 Bucket for storing Artifacts</li><li>Push the first commit in the master branch</li><li>Setting up SAM pipeline configuration — dev, prod</li><li>Push initial commit to verify the deployment</li></ol><p>Prerequisites</p><p>Before diving deep into the article, I will request everyone to please go through a basic understanding of the following key points.</p><ol><li>IAM Role, Policy</li><li>What is serverless framework and SAM</li><li>Setup AWS SAM CLI</li></ol><p>Setting up SAM and project</p><ol><li>First, we need to download &amp; install SAM CLI via link — <a href="https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html">https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html</a></li><li>After installing SAM CLI from step1, start setting up projects by following the commands mentioned in the screenshot</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*L_qdS-JkbE9yEAZtqNo5Sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSDH4DRbznfIWc_tn9QBCw.png" /></figure><p>In the above screenshot, you can see the following commands that will help you in setting up <strong>sam </strong>based <strong>nodejs </strong>project in your local system.</p><ol><li><em>sam init — </em>This command will initialize your project</li><li><em>cd sam-app-test &amp;&amp; sam pipeline init — bootstrap-</em>This command will setup the required cloud formation stack for your code pipeline like user roles and make it more automotive to update the deployment pipeline</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*3JJlCrWRyjAcJ0x_A8F8HA.png" /></figure><p>After setting up the project as mentioned in previous screenshots, this is how your folder structure will look like. There is a file in the above screenshot which is buildspec.yaml. Which is nothing but the one shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d14bd3902b2ed860a346b9455306b693/href">https://medium.com/media/d14bd3902b2ed860a346b9455306b693/href</a></iframe><p>Key Points on build phases from the above file</p><ol><li><em>install — </em>This command will set up a basic framework or runtime tool like java, nodejs, or python. For more clarity, please refer to the link — <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/runtime-versions.html">https://docs.aws.amazon.com/codebuild/latest/userguide/runtime-versions.html</a></li><li><em>pre_build- </em>This command will execute your basic unit tests</li><li><em>build- </em>This command will build your artifacts based on the language you are using</li><li><em>post_build- </em>This command will basically zip your entire artifact as a zip or an image based on your requirement and push those on the S3 bucket which will be provided as a runtime variable.</li></ol><p>CCreating AWS Codecommit repo &amp; S3 Bucket for storing Artifacts</p><p>After this, navigate to the AWS console and create one code repository in AWS Codecommit (<strong><em>Only if you are using AWS Code commit as your VCS</em></strong><em>)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k-5KsLfkIPwCy3PqO9CMmg.png" /></figure><p>After this create an S3 bucket which will be used to store artifacts created as part of <strong><em>sam package </em></strong>command.</p><p>Push the first commit in the master branch</p><p>After creating the repo in the previous step and execute the following commands on your project created in step 2 above.</p><ol><li>git init</li><li>git remote add origin <a href="https://your-repo-url.com/">https://your-repo-url.com</a></li><li>git add .</li><li>git commit -m” Add Initial commit”</li><li>git push -u origin master</li></ol><p>Setting up SAM pipeline configuration — dev, prod</p><p>This step is one of the most important steps to configure. Please refer to the steps below very carefully. There are two pipelines can be created for one or two stages based on your configuration in step 3 above.</p><ol><li>Navigate to the AWS Code pipeline service</li><li>Give pipeline a name</li><li>Create code build project with configuration mentioned in next steps.</li><li>Choose the image as ubuntu or Amazon Linux 2 based on the runtime you want to choose- Please refer to the link- <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/runtime-versions.html">https://docs.aws.amazon.com/codebuild/latest/userguide/runtime-versions.html</a></li><li>Add an environment variable in the building project as S3_BUCKET, which is nothing but the name of the S3 bucket created in one of the steps above.</li><li>Add the Deployment step by configuring the provider as AWS Cloudformation as in the below screenshot.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*W3tUJMlHJ4qBZZU8EOJTxA.png" /></figure><p>Push initial commit to verify the deployment</p><p>After that, One can push the code to the code commit repo and once you push the code in this repo, you may see this entire pipeline running from the build to the deployment stage.</p><p>One may see that pipeline getting succeeded and you may see the required lambda and AWS SQS getting created. you can verify the same and test SQS and lambda connectivity as well.</p><p><strong>Conclusion</strong></p><p>This article will help all the architects/developers who may be having challenge in setting up SAM based pipelines where you can deploy AWS lambda or any other resources.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f69ea71ff64" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/deploy-node-based-sam-app-on-aws-f69ea71ff64">Deploy Node-based SAM App on AWS</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless -BAAS or FAAS or Both]]></title>
            <link>https://medium.com/digital-tech-articles/serverless-baas-or-faas-or-both-3d455a6a648f?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/3d455a6a648f</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[azure-functions]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[google-cloud-functions]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 09:10:29 GMT</pubDate>
            <atom:updated>2022-10-18T09:10:29.346Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of us who work in the software and cloud development industry for a fair amount of time is aware of Serverless. There are two more terms that are used interchangeably and related to the serverless platform.</p><p><strong><em>BAAS</em></strong></p><p><strong><em>FAAS</em></strong></p><p>In the rest of the article, Let&#39;s see what are these two terms and how we can relate them to Serverless platforms.</p><ol><li>Serverless Definition</li><li>BAAS</li><li>FAAS</li><li>Conclusion</li></ol><p>Serverless</p><p>Serverless, in layman’s terms, is without a server. That means anything which is not on the server. But that&#39;s not true if you ask a cloud or software engineer. Anything, where an application runs that are used by people globally, needs to be managed via a server. The server can be any machine, either it can be on any cloud platform or on any private machine-based server.</p><p>When we talk of serverless, we internally mean that the <strong><em>Server is there too but the application development team may not be responsible to manage the infrastructure components as mentioned below.</em></strong></p><ol><li>Auto Scaling</li><li>Load balancing</li><li>Network security (Shared Model)</li><li>Backups</li></ol><p>All the points listed above are certain configurations, which should be managed by the infra team if we are working on product development. And if we get all these out of the box from a cloud provider without any additional manpower and time, we may opt for it. That&#39;s where Serverless comes forward. And cloud provider gives you their platform and you deploy your application and manage the business logic.</p><p><em>In nutshell, This is what Serverless is</em></p><p>BAAS</p><p>Backend as a service.</p><p>When we are working on a distributed development. We have our component of application working on one server and another one working on some other server and they both interact via different API connectivity methods.</p><p>Now, there are some general functionalities that every product needs.</p><ol><li>Authentication</li><li>Analytics</li><li>Notification</li></ol><p>These are some of the common functionalities that most products need. So what cloud providers are doing is, there are exposing these functionalities ready-made via some additional configuration so that the application team can follow the real-world development and can have a quick release to market.</p><p><em>Examples- Google Firebase, AWS Amplify, Parse, Sentry</em></p><p><em>Benefits</em></p><ol><li>Reduces time to market</li><li>Reduces development effort</li><li>Can be integrated into a serverless or non-serverless module.</li></ol><p>FAAS</p><p>Function As A Service</p><p>We normally relate Serverless to cloud functions that are normally cloud native. There are different types of services being provided by different cloud providers to deploy normal functions on cloud service. I have listed a few of the popular cloud providers for Function</p><p><em>Examples — AWS Lambda, Azure Functions, Google cloud functions</em></p><p><em>Benefits</em></p><ol><li>Quick to release as an MVP</li><li>Reduces App size</li><li>Less overhead in managing the server</li></ol><p><em>Cons</em></p><ol><li>Have some execution limit of 10–15 minutes depending on cloud providers.</li><li>Have certain challenges on cold start</li><li>Vendor lock in- Depends if you have a written function in such language/framework that&#39;s not supported by any other cloud provider.</li><li>Serverless functions are better until a certain limit because there is a concurrency challenge also that doesn&#39;t permit one to run a lot of lambda functions in parallel.</li><li>Increased latency because of cold start and increasing running time and cost of lambda as well.</li></ol><p>Conclusion</p><p>So, to sum up, Both terms i.e BAAS and FAAS can be marked under the Serverless umbrella as more or less they relate to common benefits and use cases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d455a6a648f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/serverless-baas-or-faas-or-both-3d455a6a648f">Serverless -BAAS or FAAS or Both</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Backend Servers In Dart]]></title>
            <link>https://medium.com/digital-tech-articles/creating-backend-servers-in-dart-f405aa064830?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/f405aa064830</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-community]]></category>
            <category><![CDATA[web]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Mon, 13 Jun 2022 08:41:46 GMT</pubDate>
            <atom:updated>2022-06-13T08:41:45.948Z</atom:updated>
            <content:encoded><![CDATA[<p>I usually create different web and mobile products in Flutter as the UI layer. I thought of experimenting with Dart as a backend server for my apps written in flutter and I found it great because of the following points.</p><ol><li>Creating Dart as a backend reduced my time to market as there was no need to learn extra technology to create different stuff for my app.</li><li>And its community is growing and it offers a wide range of features and performance is also enhanced.</li></ol><p>Please refer to my latest article on how to create a Dart-based backend server at the below link.</p><p><a href="https://digitalneeds.medium.com/create-a-backend-server-with-apis-in-dart-1fc6e897ba33">https://digitalneeds.medium.com/create-a-backend-server-with-apis-in-dart-1fc6e897ba33</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f405aa064830" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/creating-backend-servers-in-dart-f405aa064830">Creating Backend Servers In Dart</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Grpc vs Rest Protocol]]></title>
            <link>https://medium.com/digital-tech-articles/grpc-vs-rest-protocol-dac2c66bd6d2?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/dac2c66bd6d2</guid>
            <category><![CDATA[protobuf]]></category>
            <category><![CDATA[http-server]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[rest]]></category>
            <category><![CDATA[grpc]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Tue, 14 Jul 2020 17:45:21 GMT</pubDate>
            <atom:updated>2020-07-14T17:45:09.870Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UV6lmYquXIyAYfszxXuS4A.jpeg" /></figure><p>Grpc vs Rest is a kind of choice we have to make whenever we are exposing two distributed web components in such a way that they both can talk to each other to fetch data.</p><p>Hi Readers, REST has been around for more than a while now or I should say for about more than 2 decades which says that REST is now a kind of the most trusted architecture style with which two web components can expose their data to each other via application layer i.e. HTTP layer. With REST, one of our services can call other services via an HTTP client and get data from other clients. The following are some of the salient features which are the most favorable and deciding factors for REST to implement.</p><ol><li>Rest is an architectural style where there are specific methods defined for fetching, editing, and creating or updating a resource. This resource can be an entity so REST mostly deals with updating data for a certain entity in our application.</li><li>REST works on different methods like GET for fetching an entity, POST for creating a new entity, and PUT for updating entity and PATCH for updating certain attributes for a resource and DELETE for deleting a resource.</li><li>REST mostly deals with a noun or an entity so whenever we are sending a request over REST-style we tend to deal with a specific resource.</li></ol><p>Now I will talk about what is GRPC and then I will compare them with a use case which might help you understand in a better way.</p><ol><li>GRPC works by calling a specific method on server side from client layer with a schema layer defined by protobuf file( which is a model layer for request and response and create stubs for sending and receiving service)</li><li>In GRPC, client calls GRPC client which internally calls service method via a stub which is created over a channel.</li><li>In GRPC, data is exposed over HTTP protocol only but the only difference being it uses HTTP2 protocol which communication between client and service not only synchronous but gives additional options like Client or server streaming and bi-directional streaming along with request cancellation and request timeout handling.</li><li>In GRPC, we basically deal with a verb for a specific entity. For example If one has to add a new order, we will send a request as /api/order?orderId=1 along with POST object but in case of GRPC, we just need to call method createOrder along with POST request.</li><li>In GRPC, One does not want to expose the functionality to any other service outside our cluster or don&#39;t want to invoke the functionality by any web client.</li></ol><p>If we talk about how the data send and receive formats for two protocols so there is not much of a difference. The main difference lies in the architectural style along with additional capabilities that one provides over the other so that basically tells you which one should be used.</p><p>Below are a few scenarios where you will use REST.</p><ol><li>If you want to expose a service data over the network data for multiple services or clients then we should definitely use REST as it exposes a specific URL with a domain model layer.</li><li><strong>If we are more concerned about fetching, editing, creating, delete a specific resource then we should use REST.</strong></li><li>If we want our caching strategy to be in place along with the architectural method then we should use REST as it has caching mechanism inbuilt in a few methods according to the need.</li></ol><p>Below are a few scenarios where one should use GRPC over REST.</p><ol><li>If we want to expose a document service internal to our cluster services like microservices then we should definitely prefer GRPC.</li><li><strong>If we want our response to be fast, streaming, and client and server streaming then we should prefer GRPC.</strong></li><li>If we are not much concerned about entity retrieval but only concerned about functionality under the hood.</li></ol><p>So these are the few basic differences between REST and GRPC. GRPC’s are preferred in microservices-based architecture in today’s world.</p><p>I hope the article was clear and might help you in future system design processes when you need to decide between the two.</p><p>Thanks for reading the article. Please reach out to me in case of any help required in designing or developing any kind of digital product in web or mobile apps by dropping an email at <strong>digitalneeds.tech@gmail.com</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dac2c66bd6d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/grpc-vs-rest-protocol-dac2c66bd6d2">Grpc vs Rest Protocol</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase storage in flutter web]]></title>
            <link>https://medium.com/digital-tech-articles/firebase-storage-in-flutter-web-d0d223d2b51a?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/d0d223d2b51a</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[imagepicker]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[firebase-storage]]></category>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 16:45:33 GMT</pubDate>
            <atom:updated>2020-07-13T16:42:40.473Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi fellow readers, this article is for flutter developers who are developing web and mobile cross-platform apps with flutter.</p><p>I encountered an issue for which I thought of writing an article and sharing it so that if anyone encounters a problem as I had so they might not waste their time. So this article is created with an intention to reduce the developer time when using firebase storage for the web app with flutter.</p><p>When we are using firebase storage to store different files on firebase cloud it works pretty well with firebase_storage plugin but somehow it&#39;s not fully supported in the flutter web edition. So in the web, we need to use a different plugin along with an option to pick an image from mobile phone or desktop.</p><p>So I will list down first which all plugins we should use to upload a file on to firebase storage which does have complete support for flutter web.</p><ol><li>image_picker_web</li><li>firebase</li></ol><p>So these are two plugins that are required to pick and upload a file on firebase storage in the flutter web.</p><p><strong><em>Image_picker_web:- </em></strong>Image picker web is an alternative to image_picker plugin for picking up the files from your local machine whether its mobile phone or desktop on the web.</p><p><strong><em>firebase:- </em></strong>firebase is a plugin that has almost all capabilities of firebase services in web-like firebase storage, authentication, firestore along other prime services offered by a firebase cloud solution.</p><p>So I will add two files one for picking up the file by using image_picker_web plugin and the other one for uploading the file on firebase storage as below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/148a4ce275dd8de61f82f84129830a79/href">https://medium.com/media/148a4ce275dd8de61f82f84129830a79/href</a></iframe><p><strong>Explanation:- </strong>As you can see in the above code that I have written a function where you are using image picker plugin and getting imageInfo Object which contains image object details and those are stored in a variable and we are setting the state once we have the imageInfo object.</p><p>Below is the code to upload the file to firebase storage.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5743d00cccd67891bc0edf94d0df0161/href">https://medium.com/media/5743d00cccd67891bc0edf94d0df0161/href</a></iframe><p>As you can see in the above code this function is used to upload the image on firebase storage with the same object that we got in the previous file and we are using fb.app().storage() function to refer to firebase storage for your particular project.</p><p>So this is a very simple way of uploading the files on the web and getting the URL of the uploaded file.</p><p>Please let me know if you have any doubt in understanding the concept or you need any help in designing your web or app product, please consult by dropping in your comment or reach out to me at digitalneeds.tech@gmail.com or tech-support@digitalneeds.co.in</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0d223d2b51a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/firebase-storage-in-flutter-web-d0d223d2b51a">Firebase storage in flutter web</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Basic Widgets guide]]></title>
            <link>https://medium.com/digital-tech-articles/flutter-basic-widgets-guide-4f319b2381dd?source=rss----d40ca535dda5---4</link>
            <guid isPermaLink="false">https://medium.com/p/4f319b2381dd</guid>
            <dc:creator><![CDATA[Software Guide]]></dc:creator>
            <pubDate>Sun, 09 Jun 2019 11:32:25 GMT</pubDate>
            <atom:updated>2019-06-09T11:38:43.121Z</atom:updated>
            <content:encoded><![CDATA[<p>This is my one of the articles intended for development of android apps using flutter framework.Flutter is a new framework developed by google for developing web and mobile apps in a quite easy manner in a quick time by using existing widgets in the framework and by customizing and developing your own widget.</p><p>So first of all I will start with what is flutter and why its quite useful for developing native mobile web or mobile apps. Flutter is based on dart language which is newly designed and developed and its used in angular as well earlier. With flutter, you can reduce your lot of boiler plate code which is used to be done in any other android or any other mobile platform app development. With flutter you just need to plugin the different widgets or components(in terms of angular) and combine them under one view and render the view page. There is no need to define anything specifically for using different widgets and all.</p><p>There are different kinds of widgets being already developed in flutter framework which basically makes work quite easier for a developer by reducing the go to deployment time for a developer which is quite important and that time can be invested in new innovation thinking points which will enable them better native apps.</p><p>Coming to what are widgets and will explain you some of the important widgets.</p><h3><strong>Material</strong></h3><p>Material is quite basic widget which is used in flutter framework being used for developing apps based on material design developed under google. For this you need not to add any extra css file because every layout management part is handled in dart file itself which makes it super simple for a guy who doesnot know much about css and designing. So inside Material widget you can use various different widgets which will enable to make UI look very simple and very stylish.</p><h3><strong>Scaffold</strong></h3><p>Then next we have a scaffold widget which is basically a wrapper of you entire page on app where you can add different basic parts on the page with very much ease. Like if you want to add AppBar content or footer context menu.Then its quite easier by using this widget. It can be used under any of the parent designing widget which can be material as well.</p><h3><strong>Container</strong></h3><p>Container is basically as the name suggests is a widget which is like a box in which you can add different kinds of widgets and content like text, column, row or card or any other widget you intend to.</p><h3><strong>Row &amp; Column</strong></h3><p>Next are row and column widget. These are two different widgets basically used for purpose of aligning the content in a row or column format respectively. Its almost similar feature like in css flexbox serves which aligns the divs with column or row as flex direction so here these two widgets serve the similar purpose. They have different properties listed for them which basically aligns the content in center, sideways or in any of the responsive formats.</p><h3><strong>Stack</strong></h3><p>Stack is also one of the majorly used widget in apps development. As the name is suggesting stack widget allows multiple widgets to be stacked upon one another and aligning them by using different properties related to the widget. Stack is a kind of layered architecture where you can put different widgets in layer manner on top of one another.</p><h3><strong>Padding</strong></h3><p>Padding is another quite simple widget which is basically used to put some content inside by adding padding or spacing between borders to align the content perfectly. Its almost similar to container with one of the differences being that padding widget automatically can get padding content by using this particular widget.</p><h3><strong>Text</strong></h3><p>Text is a pretty simple widget which is used to add text in specific place and you can add particular styling to the text inside this specific widget only and can be plugged in any of the widgets.</p><h3><strong>Center</strong></h3><p>Center is used to align the content or widgets present inside it in center of the page or get aligned to central axis.</p><h3><strong>InkWell</strong></h3><p>Inkwell is a click handler widget which basically handles the click event on any of the widget which basically navigates to different page.So inkwell gives a special kind of ripple effect on click event of a specific widget. And this behaves similar as GestureDetector which is also mostly used for detcting any kind of gesture on screen including click event.</p><h3><strong>ClipRreact</strong></h3><p>This widget is used to show kind of cutting or specific curl behaviour in the design. Like in some apps you need to define the background color in such a way that you need to cover 20% or sometimes specific areas of screen. So Cliprreact is quite useful for those tasks.</p><h3><strong>Expanded</strong></h3><p>Expanded is a very simple widget which basically aligns the content inside it properly and gives the child widgets the proper spacing it needs and can expand the specific widget if more space available by using flex property inside it which is similar to flexbox property.</p><p>So This was the list of some basic widgets. There are different properties provided inside these widgets to align and show the content in proper manner on the screen.</p><p>I would list down some more as well on this page in coming days and would write new articles on explaining properties related to different widgets and problems being encountered while using different widgets and would be taking up a specific design and breaking down in different widgets and explaining that with which all widgets we can design the screen.</p><p>For any clarifications or guidance around this topic. Please drop me an email at digitalneeds.tech@gmail.com or comment below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f319b2381dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-tech-articles/flutter-basic-widgets-guide-4f319b2381dd">Flutter Basic Widgets guide</a> was originally published in <a href="https://medium.com/digital-tech-articles">digital tech articles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>