AWS Archives - gettectonic.com - Page 6
Ready or Not Here AI Agents Come

Ready or Not Here AI Agents Come

As organizations embrace the growing presence of AI agents, leaders must address concerns about allowing autonomous systems to operate in sensitive environments. AI agents, often viewed as the future of how enterprises deploy large language models, raise important questions around security and identity management. The rise of agentic AI has been notable in 2024, with Google launching its Vertex AI Agents, Salesforce introducing Agentforce, and AWS rolling out the re Agent for Amazon Bedrock. These agents promise to deliver significant value by executing tasks using natural language commands, reasoning through the best solutions, and taking action without human intervention. However, as Katie Norton, research manager for DevSecOps & Software Supply Chain Security at IDC, highlighted at Venafi’s Machine Identity Conference, AI agents present unique security challenges. Unlike robotic process automation (RPA), AI agents act autonomously, creating a need for secure machine identities, especially as they access sensitive data across multiple systems. Matt McLarty, CTO at Boomi, added that the complexity of managing agentic AI revolves around ensuring proper authentication and authorization. He pointed out scenarios where agents dynamically interact with systems, such as opening support tickets, which require secure verification of agent access rights. While these agents offer significant potential, businesses are not yet prepared to issue credentials for autonomous agents, according to McLarty. The current reliance on existing authentication and authorization systems needs to evolve to support these new AI capabilities. He also emphasized the importance of pairing agents with human oversight, ensuring that access and actions are traceable. As AI advances into its third wave, characterized by autonomous agents capable of reasoning and action, companies need to rethink their approaches to workforce collaboration. These agents will handle low-value, time-consuming tasks, while human workers focus on strategic initiatives. In sales, for example, AI agents will manage customer interactions, schedule meetings, and resolve basic issues, allowing salespeople to build deeper relationships. At Dreamforce 2024, Salesforce unveiled Agentforce, a platform that empowers organizations to build and deploy customized AI agents across service, sales, marketing, and commerce. This suite aims to increase efficiency, productivity, and customer satisfaction. However, for AI agents to succeed, they must complement human skills and operate within established guardrails. Organizations need to implement audit trails to ensure accountability and develop training programs for employees to effectively collaborate with AI. Ultimately, the future of work will feature a hybrid workforce where humans and AI agents work together to drive innovation and success. As companies move forward, they must ensure AI agents understand their limits and recognize when human intervention is necessary. This balance between AI-driven efficiency and human oversight will enable businesses to thrive in an ever-evolving landscape. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Marketing Cloud Transactional Emails Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more

Read More
DHS Introduces AI Framework to Protect Critical Infrastructure

DHS Introduces AI Framework to Protect Critical Infrastructure

The Department of Homeland Security (DHS) has unveiled the Roles and Responsibilities Framework for Artificial Intelligence in Critical Infrastructure, a voluntary set of guidelines designed to ensure the safe and secure deployment of AI across the systems that power daily life. From energy grids to water systems, transportation, and communications, critical infrastructure increasingly relies on AI for enhanced efficiency and resilience. While AI offers transformative potential—such as detecting earthquakes, optimizing energy usage, and streamlining logistics—it also introduces new vulnerabilities. Framework Overview The framework, developed with input from cloud providers, AI developers, critical infrastructure operators, civil society, and public sector organizations, builds on DHS’s broader policies from 2023, which align with White House directives. It aims to provide a shared roadmap for balancing AI’s benefits with its risks. AI Vulnerabilities in Critical Infrastructure The DHS framework categorizes vulnerabilities into three key areas: The guidelines also address sector-specific vulnerabilities and offer strategies to ensure AI strengthens resilience while minimizing misuse risks. Industry and Government Support Arvind Krishna, Chairman and CEO of IBM, lauded the framework as a “powerful tool” for fostering responsible AI development. “We look forward to working with DHS to promote shared and individual responsibilities in advancing trusted AI systems.” Marc Benioff, CEO of Salesforce, emphasized the framework’s role in fostering collaboration among stakeholders while prioritizing trust and accountability. “Salesforce is committed to humans and AI working together to advance critical infrastructure industries in the U.S. We support this framework as a vital step toward shaping the future of AI in a safe and sustainable manner.” DHS Secretary Alejandro N. Mayorkas highlighted the urgency of proactive action. “AI offers a once-in-a-generation opportunity to improve the strength and resilience of U.S. critical infrastructure, and we must seize it while minimizing its potential harms. The framework, if widely adopted, will help ensure the safety and security of critical services.” DHS Recommendations for Stakeholders A Call to Action DHS encourages widespread adoption of the framework to build safer, more resilient critical infrastructure. By prioritizing trust, transparency, and collaboration, this initiative aims to guide the responsible integration of AI into essential systems, ensuring they remain secure and effective as technology continues to evolve. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Marketing Cloud Transactional Emails Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more

Read More
AI Agent Rivalry

AI Agent Rivalry

Microsoft and Salesforce’s AI Agent Rivalry Heats Up The battle for dominance in the AI agent space has escalated, with Salesforce CEO Marc Benioff intensifying his criticism of Microsoft’s AI solutions. Following remarks at Dreamforce 2024, Benioff took to X (formerly Twitter) to call out Microsoft for what he called “rebranding Copilot as ‘agents’ in panic mode.” The AI Agent rivalry winner may be determined not by flashy features but by delivering tangible, transformative outcomes for businesses navigating the complexities of AI adoption. AI Agent Rivalry. Benioff didn’t hold back, labeling Microsoft’s Copilot as “a flop”, citing issues like data leaks, inaccuracies, and requiring customers to build their own large language models (LLMs). In contrast, he touted Salesforce’s Agentforce as a solution that autonomously drives sales, service, marketing, analytics, and commerce without the complications he attributes to Microsoft’s offerings. Microsoft’s Copilot: A New UI for AI Microsoft recently unveiled new autonomous agent capabilities for Copilot Studio and Dynamics 365, positioning these agents as tools to enhance productivity across teams and functions. CEO Satya Nadella described Copilot as “the UI for AI” and emphasized its flexibility, allowing businesses to create, manage, and integrate agents seamlessly. Despite the fanfare, Benioff dismissed Copilot’s updates, likening it to “Clippy 2.0” and claiming it fails to deliver accuracy or transformational impact. Salesforce Expands Agentforce with Strategic Partnerships At Dreamforce 2024, Salesforce unveiled its Agentforce Partner Network, a global ecosystem featuring collaborators like AWS, Google Cloud, IBM, and Workday. The move aims to bolster the capabilities of Agentforce, Salesforce’s AI-driven platform that delivers tailored, autonomous business solutions. Agentforce allows businesses to deploy customizable agents without complex coding. With features like the Agent Builder, users can craft workflows and instructions in natural language, making the platform accessible to both technical and non-technical teams. Flexibility and Customization: Salesforce vs. Microsoft Both Salesforce and Microsoft emphasize AI’s transformative potential, but their approaches differ: Generative AI vs. Predictive AI Salesforce has doubled down on generative AI, with Einstein GPT producing personalized content using CRM data while also providing predictive analytics to forecast customer behavior and sales outcomes. Microsoft, on the other hand, combines generative and predictive AI across its ecosystem. Copilot not only generates content but also performs autonomous decision-making in Dynamics 365 and Azure, positioning itself as a comprehensive enterprise solution. The Rise of Multi-Agent AI Systems The competition between Microsoft and Salesforce reflects a broader trend in AI-driven automation. Companies like OpenAI are experimenting with frameworks like Swarm, which simplifies the creation of interconnected AI agents for tasks such as lead generation and marketing campaign development. Similarly, startups like DevRev are introducing conversational AI builders to design custom agents, offering enterprises up to 95% task accuracy without the need for coding. What Lies Ahead in the AI Agent Landscape? As Salesforce and Microsoft push the boundaries of AI integration, businesses are evaluating these tools for their flexibility, customization, and impact on operations. While Salesforce leads in CRM-focused AI, Microsoft’s integrated approach appeals to enterprises seeking cross-functional AI solutions. In the end, the winner may be determined not by flashy features but by delivering tangible, transformative outcomes for businesses navigating the complexities of AI adoption. AI Agent Rivalry. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Marketing Cloud Transactional Emails Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more

Read More
AI Won't Hurt Salesforce

AI Won’t Hurt Salesforce

Marc Benioff Dismisses AI Threats, Sets Sights on a Billion AI Agents in One Year Salesforce CEO Marc Benioff has no doubts about the transformative potential of AI for enterprise software, particularly Salesforce itself. At the core of his vision are AI agents—autonomous software bots designed to handle routine tasks, freeing up human workers to focus on more strategic priorities. “What if your workforce had no limits? That’s a question we couldn’t even ask over the past 25 years of Salesforce—or the 45 years I’ve been in software,” Benioff said during an appearance on TechCrunch’s Equity podcast. The Billion-Agent Goal Benioff revealed that Salesforce’s recently launched Agentforce platform is already being adopted by “hundreds of customers” and aims to deploy a billion AI agents within a year. These agents are designed to handle tasks across industries—from enhancing customer experiences at retail brands like Gucci to assisting patients with follow-ups in healthcare. To illustrate, Benioff shared his experience with Disney’s virtual Private Tour Guides. “The AI agent analyzed park flow, ride history, and preferences, then guided me to attractions I hadn’t visited before,” he explained. Competition with Microsoft and the AI Landscape While Benioff is bullish on AI, he hasn’t hesitated to criticize competitors—particularly Microsoft. When Microsoft unveiled its new autonomous agents for Dynamics 365 in October, Benioff dismissed them as uninspired. “Copilot is the new Clippy,” he quipped, referencing Microsoft’s infamous virtual assistant from the 1990s. Benioff also cited Gartner research highlighting data security issues and administrative flaws in Microsoft’s AI tools, adding, “Copilot has disappointed so many customers. It’s not transforming companies.” However, industry skeptics argue that the real challenge to Salesforce isn’t Microsoft but the wave of AI-powered startups disrupting traditional enterprise software. With tools like OpenAI’s ChatGPT and Klarna’s in-house AI assistant “Kiki,” companies are starting to explore GenAI solutions that can replace legacy platforms like Salesforce altogether. For example, Klarna recently announced it was moving away from Salesforce and Workday, favoring GenAI tools that enable seamless, conversational interfaces and faster data access. Why Salesforce Is Positioned to Win Despite the noise, Benioff remains confident that Salesforce’s extensive data infrastructure gives it a significant edge. “We manage 230 petabytes of customer data with robust security and sharing models. That’s what allows AI to thrive in our ecosystem,” he said. While companies may question how other platforms like OpenAI handle data, Salesforce offers an integrated approach, reducing the need for complex data migrations to other clouds, such as Microsoft Azure. Salesforce’s Own Use of AI Benioff also highlighted Salesforce’s internal adoption of Agentforce, using AI agents in its customer service operations, sales processes, and help centers. “If you’re authenticated on help.salesforce.com, you’re already interacting with our agent,” he noted. AI Startups: Threat or Opportunity? As for concerns about AI startups overtaking Salesforce, Benioff sees them as acquisition opportunities rather than existential threats. “We’ve made over 60 acquisitions, many of them startups,” he said. He pointed to Agentforce itself, which was built using technology from Airkit.ai, a startup founded by a former Salesforce employee. Salesforce Ventures initially invested in Airkit.ai before acquiring and integrating it into its platform. The Path Forward Benioff is resolute in his belief that AI won’t hurt Salesforce—instead, it will revolutionize how businesses operate. While skeptics warn of a seismic shift in enterprise software, Benioff’s strategy is clear: lean into AI, leverage data, and stay agile through innovation and acquisitions. “We’re just getting started,” he concluded, reiterating his vision for a future where AI agents expand the possibilities of work and customer experience like never before. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Marketing Cloud Transactional Emails Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more

Read More
healthcare Can prioritize ai governance

Healthcare Can Prioritize AI Governance

As artificial intelligence gains momentum in healthcare, it’s critical for health systems and related stakeholders to develop robust AI governance programs. AI’s potential to address challenges in administration, operations, and clinical care is drawing interest across the sector. As this technology evolves, the range of applications in healthcare will only broaden.

Read More
healthcare Can prioritize ai governance

AI Data Privacy and Security

Three Key Generative AI Data Privacy and Security Concerns The rise of generative AI is reshaping the digital landscape, introducing powerful tools like ChatGPT and Microsoft Copilot into the hands of professionals, students, and casual users alike. From creating AI-generated art to summarizing complex texts, generative AI (GenAI) is transforming workflows and sparking innovation. However, for information security and privacy professionals, this rapid proliferation also brings significant challenges in data governance and protection. Below are three critical data privacy and security concerns tied to generative AI: 1. Who Owns the Data? Data ownership is a contentious issue in the age of generative AI. In the European Union, the General Data Protection Regulation (GDPR) asserts that individuals own their personal data. In contrast, data ownership laws in the United States are less clear-cut, with recent state-level regulations echoing GDPR’s principles but failing to resolve ambiguity. Generative AI often ingests vast amounts of data, much of which may not belong to the person uploading it. This creates legal risks for both users and AI model providers, especially when third-party data is involved. Cases surrounding intellectual property, such as controversies involving Slack, Reddit, and LinkedIn, highlight public resistance to having personal data used for AI training. As lawsuits in this arena emerge, prior intellectual property rulings could shape the legal landscape for generative AI. 2. What Data Can Be Derived from LLM Output? Generative AI models are designed to be helpful, but they can inadvertently expose sensitive or proprietary information submitted during training. This risk has made many wary of uploading critical data into AI models. Techniques like tokenization, anonymization, and pseudonymization can reduce these risks by obscuring sensitive data before it is fed into AI systems. However, these practices may compromise the model’s performance by limiting the quality and specificity of the training data. Advocates for GenAI stress that high-quality, accurate data is essential to achieving the best results, which adds to the complexity of balancing privacy with performance. 3. Can the Output Be Trusted? The phenomenon of “hallucinations” — when generative AI produces incorrect or fabricated information — poses another significant concern. Whether these errors stem from poor training, flawed data, or malicious intent, they raise questions about the reliability of GenAI outputs. The impact of hallucinations varies depending on the context. While some errors may cause minor inconveniences, others could have serious or even dangerous consequences, particularly in sensitive domains like healthcare or legal advisory. As generative AI continues to evolve, ensuring the accuracy and integrity of its outputs will remain a top priority. The Generative AI Data Governance Imperative Generative AI’s transformative power lies in its ability to leverage vast amounts of information. For information security, data privacy, and governance professionals, this means grappling with key questions, such as: With high stakes and no way to reverse intellectual property violations, the need for robust data governance frameworks is urgent. As society navigates this transformative era, balancing innovation with responsibility will determine whether generative AI becomes a tool for progress or a source of new challenges. While generative AI heralds a bold future, history reminds us that groundbreaking advancements often come with growing pains. It is the responsibility of stakeholders to anticipate and address these challenges to ensure a safer and more equitable AI-powered world. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more Tectonic’s Successful Salesforce Track Record Salesforce Technology Services Integrator – Tectonic has successfully delivered Salesforce in a variety of industries including Public Sector, Hospitality, Manufacturing, Read more

Read More
Road for AI Regulation

Road for AI Regulation

The concept of artificial intelligence, or synthetic minds capable of thinking and reasoning like humans, has been around for centuries. Ancient cultures often expressed ideas and pursued goals similar to AI, and in the early 20th century, science fiction brought these notions to modern audiences. Works like The Wizard of Oz and films such as Metropolis resonated globally, laying the groundwork for contemporary AI discussions.

Read More
Informed Decision-Making

Informed Decision-Making

Informed Decision-Making Through Data Visualization: Power BI vs. Tableau Today’s businesses need to make informed decisions by leveraging organized and analyzed data. Data visualization is a key method for extracting insights from this data, and Power BI and Tableau are two leading tools that often spark debate among experts. Both are highly regarded for their ability to visualize data, and CTOs frequently compare Power BI vs. Tableau to determine the best fit for their needs. Why Power BI and Tableau Stand OutBoth tools excel at data visualization, making them top choices for business intelligence (BI) solutions. They offer seamless integration with various platforms, can handle large volumes of data, and provide predictive analytics capabilities. To help CTOs and other decision-makers boost efficiency, let’s dive into a comparison of Power BI vs. Tableau and examine how each tool measures up. Power BI Microsoft’s Power BI is a leading BI tool designed to transform data from diverse sources into insightful visual reports. It allows users to create, share, and manage analytical reports, ensuring accessibility at all times. As part of the Microsoft ecosystem, Power BI is ideal for large organizations that already use Microsoft products. Tableau Tableau delivers powerful data visualization with flexible deployment options, allowing users to seamlessly access insights. With its integration into Salesforce Data Cloud, Tableau offers a fast and scalable way to work with customer data in real time. Its strong data-handling capabilities make it popular among larger organizations and data experts. Power BI vs. Tableau: Key Differences Let’s explore the key differences between Power BI and Tableau to guide your informed decision-making. Data Visualization and User Interface Data Integration and Connectivity for Informed Decision-Making Data Handling and Performance Ease of Learning Programming Tools Support Pricing Microsoft Power BI vs. Salesforce Tableau: Pros and Cons Power BI Pros Tableau Pros Which is Better: Power BI or Tableau? When comparing Microsoft Power BI vs. Tableau, the right choice depends on your organization’s size, technical expertise, and specific needs. For smaller businesses and those already using Microsoft tools, Power BI is often the best fit. On the other hand, larger organizations managing substantial datasets might favor Tableau for its advanced capabilities. Ultimately, the decision between Power BI vs. Tableau should be based on your unique business requirements and the level of technical expertise available within your team. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Marketing Cloud Transactional Emails Salesforce Marketing Cloud Transactional Emails are immediate, automated, non-promotional messages crucial to business operations and customer satisfaction, such as order Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more

Read More
AI Assistants Using LangGraph

AI Assistants Using LangGraph

In the evolving world of AI, retrieval-augmented generation (RAG) systems have become standard for handling straightforward queries and generating contextually relevant responses. However, as demand grows for more sophisticated AI applications, there is a need for systems that move beyond simple retrieval tasks. Enter AI agents—autonomous entities capable of executing complex, multi-step processes, maintaining state across interactions, and dynamically adapting to new information. LangGraph, a powerful extension of the LangChain library, is designed to help developers build these advanced AI agents, enabling stateful, multi-actor applications with cyclic computation capabilities. AI Assistants Using LangGraph. In this insight, we’ll explore how LangGraph revolutionizes AI development and provide a step-by-step guide to building your own AI agent using an example that computes energy savings for solar panels. This example will demonstrate how LangGraph’s unique features enable the creation of intelligent, adaptable, and practical AI systems. What is LangGraph? LangGraph is an advanced library built on top of LangChain, designed to extend Large Language Model (LLM) applications by introducing cyclic computational capabilities. While LangChain allows for the creation of Directed Acyclic Graphs (DAGs) for linear workflows, LangGraph enhances this by enabling the addition of cycles—essential for developing agent-like behaviors. These cycles allow LLMs to continuously loop through processes, making decisions dynamically based on evolving inputs. LangGraph: Nodes, States, and Edges The core of LangGraph lies in its stateful graph structure: LangGraph redefines AI development by managing the graph structure, state, and coordination, allowing for the creation of sophisticated, multi-actor applications. With automatic state management and precise agent coordination, LangGraph facilitates innovative workflows while minimizing technical complexity. Its flexibility enables the development of high-performance applications, and its scalability ensures robust and reliable systems, even at the enterprise level. Step-by-step Guide Now that we understand LangGraph’s capabilities, let’s dive into a practical example. We’ll build an AI agent that calculates potential energy savings for solar panels based on user input. This agent can function as a lead generation tool on a solar panel seller’s website, providing personalized savings estimates based on key data like monthly electricity costs. This example highlights how LangGraph can automate complex tasks and deliver business value. Step 1: Import Necessary Libraries We start by importing the essential Python libraries and modules for the project. pythonCopy codefrom langchain_core.tools import tool from langchain_community.tools.tavily_search import TavilySearchResults from langchain_core.prompts import ChatPromptTemplate from langchain_core.runnables import Runnable from langchain_aws import ChatBedrock import boto3 from typing import Annotated from typing_extensions import TypedDict from langgraph.graph.message import AnyMessage, add_messages from langchain_core.messages import ToolMessage from langchain_core.runnables import RunnableLambda from langgraph.prebuilt import ToolNode Step 2: Define the Tool for Calculating Solar Savings Next, we define a tool to calculate potential energy savings based on the user’s monthly electricity cost. pythonCopy code@tool def compute_savings(monthly_cost: float) -> float: “”” Tool to compute the potential savings when switching to solar energy based on the user’s monthly electricity cost. Args: monthly_cost (float): The user’s current monthly electricity cost. Returns: dict: A dictionary containing: – ‘number_of_panels’: The estimated number of solar panels required. – ‘installation_cost’: The estimated installation cost. – ‘net_savings_10_years’: The net savings over 10 years after installation costs. “”” def calculate_solar_savings(monthly_cost): cost_per_kWh = 0.28 cost_per_watt = 1.50 sunlight_hours_per_day = 3.5 panel_wattage = 350 system_lifetime_years = 10 monthly_consumption_kWh = monthly_cost / cost_per_kWh daily_energy_production = monthly_consumption_kWh / 30 system_size_kW = daily_energy_production / sunlight_hours_per_day number_of_panels = system_size_kW * 1000 / panel_wattage installation_cost = system_size_kW * 1000 * cost_per_watt annual_savings = monthly_cost * 12 total_savings_10_years = annual_savings * system_lifetime_years net_savings = total_savings_10_years – installation_cost return { “number_of_panels”: round(number_of_panels), “installation_cost”: round(installation_cost, 2), “net_savings_10_years”: round(net_savings, 2) } return calculate_solar_savings(monthly_cost) Step 3: Set Up State Management and Error Handling We define utilities to manage state and handle errors during tool execution. pythonCopy codedef handle_tool_error(state) -> dict: error = state.get(“error”) tool_calls = state[“messages”][-1].tool_calls return { “messages”: [ ToolMessage( content=f”Error: {repr(error)}n please fix your mistakes.”, tool_call_id=tc[“id”], ) for tc in tool_calls ] } def create_tool_node_with_fallback(tools: list) -> dict: return ToolNode(tools).with_fallbacks( [RunnableLambda(handle_tool_error)], exception_key=”error” ) Step 4: Define the State and Assistant Class We create the state management class and the assistant responsible for interacting with users. pythonCopy codeclass State(TypedDict): messages: Annotated[list[AnyMessage], add_messages] class Assistant: def __init__(self, runnable: Runnable): self.runnable = runnable def __call__(self, state: State): while True: result = self.runnable.invoke(state) if not result.tool_calls and ( not result.content or isinstance(result.content, list) and not result.content[0].get(“text”) ): messages = state[“messages”] + [(“user”, “Respond with a real output.”)] state = {**state, “messages”: messages} else: break return {“messages”: result} Step 5: Set Up the LLM with AWS Bedrock We configure AWS Bedrock to enable advanced LLM capabilities. pythonCopy codedef get_bedrock_client(region): return boto3.client(“bedrock-runtime”, region_name=region) def create_bedrock_llm(client): return ChatBedrock(model_id=’anthropic.claude-3-sonnet-20240229-v1:0′, client=client, model_kwargs={‘temperature’: 0}, region_name=’us-east-1′) llm = create_bedrock_llm(get_bedrock_client(region=’us-east-1′)) Step 6: Define the Assistant’s Workflow We create a template and bind the tools to the assistant’s workflow. pythonCopy codeprimary_assistant_prompt = ChatPromptTemplate.from_messages( [ ( “system”, ”’You are a helpful customer support assistant for Solar Panels Belgium. Get the following information from the user: – monthly electricity cost Ask for clarification if necessary. ”’, ), (“placeholder”, “{messages}”), ] ) part_1_tools = [compute_savings] part_1_assistant_runnable = primary_assistant_prompt | llm.bind_tools(part_1_tools) Step 7: Build the Graph Structure We define nodes and edges for managing the AI assistant’s conversation flow. pythonCopy codebuilder = StateGraph(State) builder.add_node(“assistant”, Assistant(part_1_assistant_runnable)) builder.add_node(“tools”, create_tool_node_with_fallback(part_1_tools)) builder.add_edge(START, “assistant”) builder.add_conditional_edges(“assistant”, tools_condition) builder.add_edge(“tools”, “assistant”) memory = MemorySaver() graph = builder.compile(checkpointer=memory) Step 8: Running the Assistant The assistant can now be run through its graph structure to interact with users. python import uuidtutorial_questions = [ ‘hey’, ‘can you calculate my energy saving’, “my montly cost is $100, what will I save”]thread_id = str(uuid.uuid4())config = {“configurable”: {“thread_id”: thread_id}}_printed = set()for question in tutorial_questions: events = graph.stream({“messages”: (“user”, question)}, config, stream_mode=”values”) for event in events: _print_event(event, _printed) Conclusion By following these steps, you can create AI Assistants Using LangGraph to calculate solar panel savings based on user input. This tutorial demonstrates how LangGraph empowers developers to create intelligent, adaptable systems capable of handling complex tasks efficiently. Whether your application is in customer support, energy management, or other domains, LangGraph provides the Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in

Read More
Scaling Generative AI

Scaling Generative AI

Many organizations follow a hybrid approach to AI infrastructure, combining public clouds, colocation facilities, and on-prem solutions. Specialized GPU-as-a-service vendors, for instance, are becoming popular for handling high-demand AI computations, helping businesses manage costs without compromising performance. Business process outsourcing company TaskUs, for example, focuses on optimizing compute and data flows as it scales its gen AI deployments, while Cognizant advises that companies distinguish between training and inference needs, each with different latency requirements.

Read More
Python Alongside Salesforce

Python Losing the Crown

For years, Python has been synonymous with data science, thanks to its robust libraries like NumPy, Pandas, and scikit-learn. It’s long held the crown as the dominant programming language in the field. However, even the strongest kingdoms face threats. Python Losing the Crown. The whispers are growing louder: Is Python’s reign nearing its end? Before you fire up your Jupyter notebook to prove me wrong, let me clarify — Python is incredible and undeniably one of the greatest programming languages of all time. But no ruler is without flaws, and Python’s supremacy may not last forever. Here are five reasons why Python’s crown might be slipping. 1. Performance Bottlenecks: Python’s Achilles’ Heel Let’s address the obvious: Python is slow. Its interpreted nature makes it inherently less efficient than compiled languages like C++ or Java. Sure, libraries like NumPy and tools like Cython help mitigate these issues, but at its core, Python can’t match the raw speed of newer, more performance-oriented languages. Enter Julia and Rust, which are optimized for numerical computing and high-performance tasks. When working with massive, real-time datasets, Python’s performance bottlenecks become harder to ignore, prompting some developers to offload critical tasks to faster alternatives. 2. Python’s Memory Challenges Memory consumption is another area where Python struggles. Handling large datasets often pushes Python to its limits, especially in environments with constrained resources, such as edge computing or IoT. While tools like Dask can help manage memory more efficiently, these are often stopgap solutions rather than true fixes. Languages like Rust are gaining traction for their superior memory management, making them an attractive alternative for resource-limited scenarios. Picture running a Python-based machine learning model on a Raspberry Pi, only to have it crash due to memory overload. Frustrating, isn’t it? 3. The Rise of Domain-Specific Languages (DSLs) Python’s versatility has been both its strength and its weakness. As industries mature, many are turning to domain-specific languages tailored to their specific needs: Python may be the “jack of all trades,” but as the saying goes, it risks being the “master of none” compared to these specialized tools. 4. Python’s Simplicity: A Double-Edged Sword Python’s beginner-friendly syntax is one of its greatest strengths, but it can also create complacency. Its ease of use often means developers don’t delve into the deeper mechanics of algorithms or computing. Meanwhile, languages like Julia, designed for scientific computing, offer intuitive structures for advanced modeling while encouraging developers to engage with complex mathematical concepts. Python’s simplicity is like riding a bike with training wheels: it works, but it may not push you to grow as a developer. 5. AI-Specific Frameworks Are Gaining Ground Python has been the go-to language for AI, powering frameworks like TensorFlow, PyTorch, and Keras. But new challengers are emerging: As AI and machine learning evolve, these specialized frameworks could chip away at Python’s dominance. The Verdict: Python Losing the Crown? Python remains the Swiss Army knife of programming languages, especially in data science. However, its cracks are showing as new, specialized tools and faster languages emerge. The data science landscape is evolving, and Python must adapt or risk losing its crown. For now, Python is still king. But as history has shown, no throne is secure forever. The future belongs to those who innovate, and Python’s ability to evolve will determine whether it remains at the top. The throne of code is only as stable as the next breakthrough. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more Tectonic’s Successful Salesforce Track Record Salesforce Technology Services Integrator – Tectonic has successfully delivered Salesforce in a variety of industries including Public Sector, Hospitality, Manufacturing, Read more

Read More
AI Risk Management

AI Risk Management

Organizations must acknowledge the risks associated with implementing AI systems to use the technology ethically and minimize liability. Throughout history, companies have had to manage the risks associated with adopting new technologies, and AI is no exception. Some AI risks are similar to those encountered when deploying any new technology or tool, such as poor strategic alignment with business goals, a lack of necessary skills to support initiatives, and failure to secure buy-in across the organization. For these challenges, executives should rely on best practices that have guided the successful adoption of other technologies. In the case of AI, this includes: However, AI introduces unique risks that must be addressed head-on. Here are 15 areas of concern that can arise as organizations implement and use AI technologies in the enterprise: Managing AI Risks While AI risks cannot be eliminated, they can be managed. Organizations must first recognize and understand these risks and then implement policies to minimize their negative impact. These policies should ensure the use of high-quality data, require testing and validation to eliminate biases, and mandate ongoing monitoring to identify and address unexpected consequences. Furthermore, ethical considerations should be embedded in AI systems, with frameworks in place to ensure AI produces transparent, fair, and unbiased results. Human oversight is essential to confirm these systems meet established standards. For successful risk management, the involvement of the board and the C-suite is crucial. As noted, “This is not just an IT problem, so all executives need to get involved in this.” Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more Tectonic’s Successful Salesforce Track Record Salesforce Technology Services Integrator – Tectonic has successfully delivered Salesforce in a variety of industries including Public Sector, Hospitality, Manufacturing, Read more

Read More
Salesforce Government Cloud Premium

Salesforce Government Cloud Premium

Software company Salesforce announced on Monday that it has rolled out a new version of its government cloud that has Top Secret authorization and is geared toward U.S. national security agencies and intelligence organizations.

The new offering, called Government Cloud Premium, is hosted on Amazon Web Services’ Top Secret cloud.

Read More
Google on Google AI

Google on Google AI

As a leading cloud provider, Google Cloud is also a major player in the generative AI market. Google on Google AI provides insights into this new tool. In the past two years, Google has been in a competitive battle with AWS, Microsoft, and OpenAI to gain dominance in the generative AI space. Recently, Google introduced several generative Artificial Intelligence products, including its flagship large language model, Gemini, and the Vertex AI Model Garden. Last week, it also unveiled Audio Overview, a tool that transforms documents into audio discussions. Despite these advancements, Google has faced criticism for lagging in some areas, such as issues with its initial image generation tool, like X’s Grok. However, the company remains committed to driving progress in generative AI. Google’s strategy focuses not only on delivering its proprietary models but also offering a broad selection of third-party models through its Model Garden. Google’s Thoughts on Google AI Warren Barkley, head of product for Google Cloud’s Vertex AI, GenAI, and machine learning, emphasized this approach in a recent episode of the Targeting AI podcast. He noted that a key part of Google’s ongoing effort is ensuring users can easily transition to more advanced models. “A lot of what we did in the early days, and we continue to do now, is make it easy for people to move to the next generation,” Barkley said. “The models we built 18 months ago are a shadow of what we have today. So, providing pathways for people to upgrade and stay on the cutting edge is critical.” Google is also focused on helping users select the right AI models for specific applications. With over 100 closed and open models available in the Model Garden, evaluating them can be challenging for customers. To address this, Google introduced evaluation tools that allow users to test prompts and compare model responses. In addition, Google is exploring advancements in Artificial Intelligence reasoning, which it views as crucial to driving the future of generative AI. Like Related Posts Who is Salesforce? Who is Salesforce? Here is their story in their own words. From our inception, we’ve proudly embraced the identity of Read more Salesforce Unites Einstein Analytics with Financial CRM Salesforce has unveiled a comprehensive analytics solution tailored for wealth managers, home office professionals, and retail bankers, merging its Financial Read more AI-Driven Propensity Scores AI plays a crucial role in propensity score estimation as it can discern underlying patterns between treatments and confounding variables Read more Tectonic’s Successful Salesforce Track Record Salesforce Technology Services Integrator – Tectonic has successfully delivered Salesforce in a variety of industries including Public Sector, Hospitality, Manufacturing, Read more

Read More
gettectonic.com