Transcript#

This transcript was generated automatically and may contain errors.

All right. Hello, everyone, and welcome. Thanks for joining us today for our webinar from Know2Go, Governed AI for Data Science with Posit and Amazon Bedrock. Today we'll be covering the Positron and Amazon SageMaker products in our workflow demo.

My name is Denise, and I'm a product marketing manager here at Posit. And first, I want to remind you that the Posit team will be at AWS reInvent, if we move to that slide. Yes, so feel free to connect with Adam, David, and James while you're there. We're really excited to be there in Vegas on November 30th.

Now let's get into the webinar. So to guide us through today's topic and demo, I'm joined by two incredible industry experts, James Blair, Senior Product Manager at Posit, and Gaza Gazaneo, Senior Generative AI ML Specialist at AWS. We're thrilled to have both of you with us today.

And before I hand the mic over to James and Rodrigo, a few quick housekeeping items. Today's session is being recorded, and we'll share the full recording after the event. And if you have any questions for the speakers or the audience, feel free to submit them in the Q&A panel during the presentation or that chat area on your screen. And we'll have reserved time at the end to go through those questions. So let's get started. James, I'll turn it over to you.

Excellent. Thank you, Denise. Thanks, everyone, for joining us today. The goal today is to sort of walk through how Amazon Bedrock can help solve many of the problems that we see in the industry in terms of being able to have secure, governed access to foundational LLM tools that can then support the work that we do as data scientists from the Posit ecosystem.

So we'll look first at Amazon Bedrock and some of the controls that it provides and how this sort of fits in the overall picture and the ways in which we see Amazon Bedrock resolve many of the security concerns that frequently get brought up. Then we'll take a look at some examples of how Amazon Bedrock can help power Posit Assistant and enable developers to use a powerful agentic tool inside the Positron IDE.

As Denise mentioned, we'll look at Positron running inside of SageMaker. And then we'll also cover kind of the other side of this, which is as somebody working with data, maybe I want to both build with some of these AI tools, but I also want to enable my stakeholders and my other consumers that I'm responsible for reporting to with AI tools of their own. And they're likely not going to spend time in a developer tool like Positron, but we have tools like the Commons package and others that allow us to build very intuitive sort of agent-first interfaces that allow business users to interact with data that we've defined.

And then finally, as you mentioned, we'll end with a Q&A, give you a chance to ask any remaining questions, and we'll leave you with some resources to continue exploring on your own.

Setting the stage

As we kind of get started, we'll have a few different questions that we ask throughout the webinar today to kind of get some feedback and also help guide our conversation. The first question that we're sort of interested in here is what AI assistants are part of your workflow today?

We know that this is a, maybe I shouldn't say crowded market, but it is a little bit of a crowded market. There's assistants all over the place that accomplish different tasks. And we certainly on the Posit side are well familiar with many of those that exist. And we'll focus today some of our conversation on Posit Assistant, but we are just generally curious around what are the assistants that are being used today?

And it looks like I think maybe our question got flipped. That's okay. We'll get to our biggest hurdle in AI data science workflows here in a moment.

Here's kind of the stage for how we're going to set things up today. We have, in my role on the Posit side, I spend a lot of my time talking to customers sort of in various phases of life. Some are on the leading edge of AI adoption. Some are still trying to figure out what that adoption looks like. And many are kind of scattered across the middle of that space.

And we recognize that there's a lot to sort of think about and consider and think about and consider and carefully understand when it comes to the adoption and use of artificial intelligence inside of our day-to-day work as data practitioners. And a lot of that is sometimes driven by the industry that we're operating in, whether we're in the financial sector, we're in healthcare and life sciences, we work for whatever the different organizations are. There may be regulatory requirements, government requirements that impact the ways in which we can interact with the tools today.

At the same time, just from my own personal experience and the way that I kind of see the world changing, I think it's pretty undeniable to say that we are living in a very interesting time and the world is changing rapidly. And these tools are enabling kind of a speed and velocity that we haven't seen before.

Yeah. And James. So there's this natural desire. Yeah, go ahead. No, so we quickly dropped the question, right, about this topic here, insecurity, right? So let's go and wrap this slide and talk a little about it because the results are so interesting.

Yeah, I think if we look at our results from that poll question about what the biggest hurdle is for AI and data science workflows, I think security and data privacy kind of leads there along with governance and compliance, which matches up with what we see as we have these customer conversations, right? What can I and can't I pass into these AI tools? How do these AI tools interact with our data? How do things get logged and how do we keep a record of what's happening?

And that's where we see sort of Amazon Bedrock come into play.

And that's where we see sort of Amazon Bedrock come into play. So I'm going to turn the time over to Gaza here to give us a little bit of an introduction into Bedrock and how that fits into this picture around AI governance and access.

Introduction to Amazon Bedrock

Awesome. Thank you, James. So hello again, everyone. I go by Gaza. You see the full name there on the screen. I'm on the AI specialist team on AWS. This year, I've been focusing on financial services, which is great. We're going to do a demo on the topic, right? But the technology is quite horizontal. So if you are in other segments and verticals, right, you're going to see the same value proposition that Amazon SageMaker and Amazon Bedrock and other AI services bring.

And I believe that you are really on the right session, right? Because you provided us information that, hey, I'm concerned about governance. I'm concerned about security. And we launched Amazon Bedrock for that. We launched Bedrock in 2024, right? Right when LLMs were becoming commercialized, right? And we in AWS, right, we've always been worried about, hey, great technologies. How do we operationalize that? How do we make them enterprise-grade, enterprise-ready, right?

So Amazon Bedrock is going to give some capabilities, right, that it will enable you to adopt Positron and other AI agents, right, with the governance security, right, and the support you need to take your solution forward to leadership approvals and budgeting, right? So let's see it a little more in detail. Let's go to the next slide.

So this is like the X-ray of what Bedrock brings, right? So Bedrock hosts LLMs. And today our catalog is super broad, right? That's what AWS wants to be, right? If you think about, that's the DNA of Amazon, right? It's ATZ, and we want to do that with your choices of LLMs, right? We have the two major state-of-the-art model providers available, right, with same-day availability.

So yesterday OpenAI launched GPT 6.2, Astra, and Sol, right? Guess what? Available immediately, same day on Bedrock. Claude, right, 5.5 family. Fable 5.2 just announced last week, right? But we also have a choice of models, right? We have partnerships with Cohere, Mistral. We have our own LLMs, the Amazon Nova family, right? And we see a tremendous growth if you are into open source or if you are open to experimenting with open-weight models. They are also available on Bedrock. We host them, right?

So your data, your context, your information, your prompts, they never leave AWS infrastructure, right? And we can help you articulate that to any security approval pipeline that you may have for enabling an agent like Positron.

Around that LLM, Bedrock provides, right, incremental APIs with value-add for security and governance, right, like guardrails, right? So we can monitor, and we're going to show how it's done, right, the content that gets into the model and the content that goes out, right? And these days, this is not only a matter of content accuracy, right, but it's also a matter of security, right? We've seen cases when, you know, chatbots that were exposed to the customers and, you know, maybe they didn't have the proper guardrails, you know, they start being abused. You know, they started responding to questions, you know, that are malicious or they're subject to prompt injection and other type of attacks.

And all of this, right, is done with existing security mechanisms that you may have deployed when you deploy your data solutions in AI and ML today, you know, so network security like private link, identity, right, unified with IAM, integrated with your enterprise ID services if you have, you know, solutions like Okta, Entra, and other enterprise ID solutions, right? Everything is logged. Everything goes to an audit trail, right, observability.

So these are all great, right? And the combination, you know, of a purpose-oriented agent like Positron, right, with these capabilities become really turnkey for you and a fast path for enterprise adoption at scale.

So the big challenge that we see in security and governance today, right, is shadow AI, right? And if you think about it, it's like, you know, the same conversation we are having 10, 15 years ago when cloud came up and the term shadow IT was kind of abused, you know, remember that.

So the big challenge that we see in security and governance today, right, is shadow AI, right? And if you think about it, it's like, you know, the same conversation we are having 10, 15 years ago when cloud came up and the term shadow IT was kind of abused, you know, remember that. So fast forward, here we are, right? We want to help organizations adopt AI with the proper guardrails protection and security. And we can do this through a fully managed way with Amazon Bedrock. So that's the first value prop in a nutshell. And I'll, you know, be happy to have, you know, address your questions on the Q&A and see what comments you drop here on the chat about it. James, back to you, let's see, you know, how Positron and Bedrock fit together.

Posit Assistant and model access

Yeah, thanks, Kaza. We're not going to spend a ton of time on this specific thing, but as you were talking, one thing that came back to my mind is this flexibility that you outlined on the right-hand side in terms of the sort of model catalog that's available in Bedrock fits really well, not only with the Amazon philosophy, but with what we're trying to do on the Posit side. We recognize that everybody sort of has their own preference and their own priorities, and that extends to our model selection.

And so while we certainly support and utilize some of the leading foundational models that exist today, we've done a lot of work on our end with tools like Posit Assistant to make sure that it is also very effective and very useful with some of the leading open weights models as well. And you have access to all of that through Bedrock. So not only do you get this governed and nicely controlled sort of environment in which you can access these leading models, you also have a lot of flexibility around your model selection, which just continues to sort of promote this ecosystem of you can choose the solution that works best for you with confidence that the right things are in place to make this compliant and adherent to all the security requirements that you might have within your organization.

Yes, exactly. Let's look at a few examples of what this kind of looks like in practice. So we'll look at some examples here, and then we'll jump into a little bit of a demo.

But this shows Posit Assistant, which is the AI assistant tool that exists inside of Positron. It's also available inside of RStudio, so you can access it through a few different ways. The examples today will lean heavily on Positron, but know that this also is an available interface on the RStudio side. And everything that we talk about, all the pieces that we highlight in terms of what Bedrock offers and how that kind of plays with the way that Assistant operates is true across both surfaces. So whether you're using Positron, whether you're using RStudio, the experience remains the same in terms of interacting with these models on the Bedrock side.

This is, again, an example. We have an individual who's come into Posit Assistant, and they're going to interact with the model of their choice. And you can see from the model selector that I have a number of different options that all come from the AWS Bedrock backend. So I'm plugged into Bedrock, I can come in, and I can choose the model that I want to interact with.

In this particular case, this specific user does not have permission to use certain models. So in this example, this user does not have access to the Cloud Opus family of models, but instead has access to Haiku and some of the smaller models. If this individual tries to access the Opus family of models, there's a message, and in fact, I think we just made a release to clean some of this up, so it's not quite this ugly of a message. But there's a message that comes back that basically informs the user, you don't have the permission required to access this model, and you need to select something different.

Regional coverage and inference profiles

And so this is, yeah. So we have a question that kind of extends this topic about model choice, that is the regional coverage and regional choices with Bedrock. And I didn't talk about this, right? So I want to address that because it popped up here on the chat, asked by Carrie.

So another capability that's very strong in Amazon Provide is that the services tie to AWS regions and AWS infrastructure. So we have some what we call inference profiles that are, for instance, national. So you can contain all your inference in the US region, right? And that means that, you know, your API call is going to be served from any region located in the US. You have in-country inference as well, right? So when you go to a specific region that is in the country, you can call directly there and the call is only going to be served by that location, right? And we have AWS Gov Network, if you are in the federal space, that also has Bedrock available with some models over there, right? So model choice, but not only model choice,

we don't compromise the security, the data privacy, and sovereignty that needs to be addressed.

Thanks, Kaza. I think it's one of the great things about AWS is because it's worldwide, you have so many different options about how things are managed, where things are contained and served from. And it provides a ton of flexibility without sacrificing these controls that we expect to have access to as well.

Bedrock audit and tracking

Let's look at another example. So this is on kind of the back end. One of the things that Bedrock also offers is the ability to sort of audit and track what's happening behind the scenes in terms of which users are making calls to which models, what's the content of those calls, how many tokens were utilized. So you have very fine-grained control from an admin perspective, right?

This is not necessarily something that as an end user, consumer of Bedrock models, you might not spend a lot of time day-to-day looking at things like this. But from an administrative standpoint, being able to come in and see, okay, who's utilizing these tools, what models are being used, what's being asked, how many tokens are being transferred, what's our token count, can be a very effective way to understand both AI adoption, but also have confidence that AI is being used correctly and appropriately throughout the organization and kind of keep track of how that adoption is ongoing.

Cost control and spending visibility

You also have a lot of cost control. So inside of CloudWatch, you have the ability to look at information around how much spend is happening and how that rolls up to the individual IAM roles. You can do that using both CloudWatch and Cost Explorer. You have budget alerts that can trigger when we've exceeded certain budgets or when we've passed a certain spending threshold.

And then one of the things that we've done, and we'll look at an example of this in our demo, in Posit Assistant, is we've tried to make it very clear to the user, so as you're interacting with Assistant, how much you've spent on that kind of current session and the current turn in which you're involved. And this is not to do anything more than to really just kind of keep that sort of front of mind that there is a cost associated to these tools. And yes, there is tremendous opportunity and capability here, but we recognize that we have to be conscious of the cost as well. And so Posit Assistant gives you this visibility into here's how much I've spent on this existing session.

And we've tuned Posit Assistant. And I've been very surprised, honestly, at the amount of work that's gone into sort of the tuning of Posit Assistant so that it's very cash efficient and from a cost perspective, very, very performant. And again, we'll take a look at what that looks like here once we jump into the demo.

Yeah. And two points here on cost, right, before we go to guardrails, which are super important, right? We had the summer of token maxing, right, if you live through it, right? So, you know, it's like every organization was encouraging adoption of AI tools. And yeah, you know, it's the Wild West. And yes, you know, the cost can compound very quickly. So today we are helping a lot of our organizations use Bedrock, use, you know, Cost Explorer, use the IAM Association to promote responsible adoption of AI. There are many mechanisms, model selection, inference profiles, being on the right region, right? Budgets, budgets alarms, right, you know, that can be implemented. And they help drive behavior, right? So behavior before getting to the prohibition is where we want to go.

And we see that, you know, it's like every on-demand resource that is valuable. Once use is responsible and the value is perceived, right, we actually see scale, we see success, we see adoption happening.

Thank you. I agree. I think that's the summer of token maxing is such a great sort of review of what we've all lived through. And now we see organizations that are anxious to adopt these tools, but do so in a way that kind of controls some of the rampant spending that we observed over kind of the summer months.

Bedrock guardrails

When we look at the guardrail side, this I think is one of the more, I don't know, I find this one of the more sort of intriguing aspects of what Bedrock does. And Rodrigo kind of mentioned this previously in the introduction of Bedrock. But the idea is you can establish these guardrails that trigger and sort of help manage both input coming into the model and output coming out. So that if there are things that you don't want coming into the model or there's behavior that you don't want the model responding with, these guardrails exist.

And they exist at the model level within Bedrock so that regardless of which tool is coming in, so we're talking about Posit Assistant here today and some of the other tools that we bring on the Posit side. But regardless of how you're interacting with these models, these guardrails are in place. So this is not something that changes. You know, it's not like I can access certain behavior through this interface and I have to go to this other interface. No, these guardrails kind of apply across the model surface regardless of the way in which you interact.

No, these guardrails kind of apply across the model surface regardless of the way in which you interact.

So as an example of what this means in practice, and this is, I apologize if these screenshots are a little bit small, but here's where the demo that we'll look at today has some synthetic financial data. And so I might be interacting with this data and I might ask a simple question, like help me understand how we're calculating the charge-off rate or something that's very aligned with what I might be doing and what my day-to-day job might entail. And this is a totally fine question to ask, and so I'm going to get some sort of response back.

But if I ask something that violates some of the standards or principles that exist inside of our organization, a guardrail can trigger to prevent the model from responding. So one example is if I submit PII to the model, let's say that I ask a question about a specific borrower and I include their social security number in that question. Again, this is a contrived example, but there are more nuanced instances where something like this might occur and we want confidence that we're not submitting things that we shouldn't be submitting into the model.

And so because this triggers a guardrail that says we don't allow PII to be submitted to the model for execution and evaluation, then we get a response back that says, hey, this response, this question or inquiry that you provided is actually blocked by the Bedrock guardrail, by a Bedrock guardrail in place within your organization. And that effectively sort of ends the turn of whatever tool you're using. So I cannot continue this conversation any longer because this information is now part of that conversation history and we are not going to pass that information to the model. So I need to start a new conversation and avoid the behavior that triggered this guardrail.

And the same can be true if I have, you know, if we have, again, this is financial data, so just as an example, if there are best practices or lending habits that we discourage, right, so making loan decisions based off of age or other protected characteristics, if we come in and say something, again, contrived, but should we decline loan applicants over the age of 62 to reduce our charge-off rate, this will trigger yet another guardrail that exists and come back with the same message. This has been blocked by your organization's guardrail.

We can't make this request. And in fact, you can see, again, these are small screenshots. We'll look at an example in a moment. But since we were just talking about cost, you can see down here in the bottom, the POS assistant will report back on how much that turn cost. So we can see that, you know, there was two cents here. Guardrail is never triggered in execution, so we don't track a cost when a guardrail is triggered. But for turns that happen with the model, we can track that cost.

Data privacy and sovereignty

I know there's been some conversation about this in the chat as I've kind of kept an eye on that throughout the conversation today. But this is a really key piece. In fact, Gaza, do you want to talk to kind of like where you're, how the data stays in your control, and then we'll talk about the sort of POS standpoint from authentication?

Definitely, right. So, you know, I work in the financial services space. I work with highly regulated organizations, right. It's paramount for them, right. And it's the reason why they choose Bedrock over, you know, a direct model provider API, for instance, right. It's because they have done the security validation of the AWS infrastructure, right. So Bedrock is a fully managed service. That means that it's AWS that is hosting the models, right.

So, you know, when we are hosting that model, they sit in a zero operator access infrastructure. They are completely secure. Nothing leaks, nothing gets in that space, right. The data that you send to the model is transient. It only exists while the model is processed in the context, and then it goes away. All the caching, all the memory, it's all happening outside the, you know, the model hosting environment, right. And we can help, you know, security and governance teams understand the architecture together with you so you can have proof of that guarantees, right. So that part is very important, and it's the architecture by design, right.

The other thing, you know, we addressed before and we are mentioned here, right, is that, you know, using the AWS infrastructure, right, we have a generic global inference, right, that when you're doing use cases that are more relaxed about, you know, data sovereignty, you can use the scale of AWS infrastructure for efficiency, right. But when you are into a sensitive data regulated environment, right, you can be very specific for an in-country region that you want to invoke or you want to do profiles that include the US only, Europe only, right, or any, you know, country that has multiple regions, like Canada, for instance, does right now, right. So you're going to have all the choices.

And yes, right, we, your AWS team, right, that is working with POSIT in partnership, right, is going to be available to help support this conversation with your security and governance teams. Actually, it's been one of the conversations I've been most engaged recently because we are seeing the maturity level of AI adoption now demanding those choices, right. And like I said in the beginning, right, it's the days of shadow AI are gone and behind, especially for mission critical businesses and highly regulated industries.

it's the days of shadow AI are gone and behind, especially for mission critical businesses and highly regulated industries.

Thanks, Kaza. I think we see the same thing on our end. We're in conversations all the time and we've seen sort of a steady shift to some of these questions around where does data get, you know, how are things stored, where are we accessing things, what stays in our environment, what doesn't. And time and time again, we've come back to Bedrock being a great answer to a lot of these questions because it's what AWS does, right. This is right in their wheelhouse in terms of being able to deliver a service that satisfies all of these strict requirements.

Authentication and permissions in Positron

From the POSIT standpoint, one of the key pieces here is that when you're using something like Positron inside of POSIT Workbench or using Positron on SageMaker, you can inherit your AWS permissions without needing to manage your own API keys. So you don't have to establish some sort of key or identity yourself to say, okay, I'm now calling, you know, now I need to configure and plug into Bedrock so that I can interact with POSIT Assistant.

We'll just inherit that. And from the SageMaker side, that comes from the spaces execution role. On the POSIT Workbench side, that comes from Workbench managed AWS credentials where your POSIT Workbench admin can configure OAuth credentials into your AWS workspace so that when you start a session in Positron, you already have an identity established in AWS. And that identity is automatically used inside of POSIT Assistant to connect you into Bedrock. And then all of the guardrails, features, budgets, all those things take effect based on your role, your individual user role that's been assigned. So you can be very granular in who has access to what, how much they can spend, what they can and can't use. And all of that can be defined within the AWS side on the Bedrock layer. From a POSIT standpoint, you inherit all of that through the permissions that are used when you interact with Bedrock through POSIT Assistant or through any of the other open source tools that we bring to market as well.

Demo overview

Okay, let's take a look at sort of an example of what this is. So we're going to jump into a demo in just a moment. We're going to look at two sort of sides of this, and this will be relatively brief, but we can certainly share the repository for this is open. And so you can look at the examples there and we can share further resources. On one hand, we have the data scientist who's going to be interacting with the data. So I might want to and feel and find benefit in using something like POSIT Assistant to explore and work with data, and maybe that data is in AWS. So we'll look at an example of using POSIT Assistant to explore some data in Athena.

And then the other side is now I've explored my data, I've come to some sort of conclusion, or I've decided sort of what view of the data is most useful for the types of questions that people have. And now I need to provide something that gives other members of my organization access to that data in sort of a governed, controlled manner. Historically, this has sort of been the role of dashboards. And while I don't think dashboards are dying, I think that there's still a very useful need for those types of tools. We're seeing more and more of these sort of like agent-first or natural language-led tools that allow users to come in and sort of ask their own questions of the data.

And so we have a new set of packages, both in R and Python called commons, that help... and Python called Commons that help developers, help data science practitioners build these sort of AI and natural language interfaces on top of data, but in a responsible way that combines with all the features you get from Bedrock to deliver answers and responses to your end users and stakeholders that can be trusted and traced back to internal standards and commonly defined metrics.

Positron on SageMaker demo

Let's actually jump into, so I'm gonna open up, I'm gonna open up SageMaker just for a moment. We're not gonna spend a ton of time here, but I just wanna highlight the ability to run Positron inside of SageMaker is still relatively new. We announced this at our conference a few months ago. And if I come into my SageMaker environment inside of AWS, this is fairly straightforward to get configured. I can see that I have a Positron space already currently running. I can open that space. We have several details and documentation and blog posts about how this gets configured and how to set this up. But once I have this running, I have this Positron window here, I can click open and this will open Positron directly for me.

I already have it open in this tab, so we're just gonna pop over here. But this brings me into Positron. So I have all the tools that I know and love and expect to see, and it's running directly inside of my AWS environment. And I can see up here in my URL that this is part of my SageMaker installation. On the left, if I pull open Posit Assistant, I can see that I have access to Posit Assistant. And down here is where I have my model selector.

Let me zoom in a little bit, maybe make this a little bit bigger. There we go. Okay, so over here on the left, I have my model selector. And if I click on this, rearrange my windows here, I can see that I have access to a number of different models available through Bedrock.

And Gaza mentioned this earlier, but again, worth noting, you have a wide variety of things. You've got leading models from Anthropic and OpenAI, but then you also have some of these leading open weights models like GLM 5.3 and Kimi K3. And in fact, we just put out a blog post, I think early this week, or maybe it was late last week, just in the last week, we've put out a post saying that we've done quite a bit of testing and we're happy to support Kimi K3 as a sort of approved model and model family within Posit Assistant. And the advantage there is it's much cheaper in many cases than some of these other models. And that can take a role or that can play a role in the decision that gets made.

Exploring the Athena database with Posit Assistant

If we look at this example, let me pull open my file over here, I'll just get rid of this. We're just gonna walk through just a sort of, again, just a few cases of an example of how we might utilize this. So if I connect into my Athena database here, and of course, it's gonna be mad at me from, there we go.

Okay, so if I run and connect into my Athena database, and then I can check and say, okay, who am I? It knows who I am, it understands the role that I've been assigned, and this is the SageMaker execution role. So because I'm running Positron inside of SageMaker, the role that I have adopted here or the role that I have access to is the SageMaker execution role defined in that SageMaker domain.

And then I can come in and if I come in here and say, okay, let's just see what data we have in this Aurora lending database. And I probably already know this, if this is data that I'm working with, but just as an example, I can come in and say, okay, what tables are in this Aurora lending database we've connected to in Athena and how do they relate to each other? I can send this off, and this is going to then submit this data into this prompt is going to go to Bedrock and it's going to go to this Sonnet 5.5 model, and then it's going to come back and it's going to execute some code.

Posit Assistant, and we haven't talked too much about this, we're not going to dive too much into it in this context because I think it goes kind of beyond our scope, but Posit Assistant has a number of permissions models itself. So right now Posit Assistant is running an auto mode where it will sort of auto classify the things that it wants to run. And if it determines that those are safe actions to take without user confirmation, it will just run them for you, which is a really nice way to move quickly. And I found that it works really well at kind of approving the right things and stopping for the wrong things.

But if you prefer something that asks you more frequently for permission or ask for approval for everything, you can switch the mode, the evaluation mode over here, and you can also run, depending on the environment and the place you're in, you can also introduce a sandbox around Posit Assistant that prevents it from reaching the outside internet and prevents it from doing actions outside of the context of its sandbox.

If I scroll down here, we can see that, okay, this has found that in my Aurora lending database, I have four different tables that are in a star schema. I have one fact table, three dimension tables. Here's a little bit about each of those things. And here's some more information that it's gathered here. And then Posit Assistant will give me some suggestions, like what do I want to do next?

And this is probably one of my favorite aspects of how Posit Assistant behaves compared to some of the other AI tools that exist on the market today, is that it's very cooperative and collaborative. And what I mean by that is I've had experiences with other tools that I love and use all the time, where if I'm doing some sort of an analysis, I might've asked a similar question, like what's in this data? And it might go for five or 10 minutes and just start exploring the data on its own. And all of a sudden I come back to my little chat window here, and I have pages upon pages of analysis and plots and charts. And it can be exhausting and a little bit mentally draining to try to like wade through all of that.

Posit Assistant is a lot less eager to just go and do its own thing, but much more willing to come back with suggested next steps after it's accomplished what you originally asked for. So it hasn't gone and done its own analysis. It's come back and said, here's what I found. What do we want to do next? It gives me some suggestions here.

Posit Assistant is a lot less eager to just go and do its own thing, but much more willing to come back with suggested next steps after it's accomplished what you originally asked for.

We're gonna come in and say, okay, let's join these tables together and we're gonna create a local data frame that we call loans that we could use for our own sort of local exploration if we want to do. So we're gonna join the loan performance data to the borrower data, to the borrower table, and we'll get this updated sort of confined and selected table that we're going to call loans here in our local environment.

And we can see that it's created this loans object. And in fact, if I open up my console here, I can see that everything that's being run by Posit Assistant is being run in my console. This is part of my active session here inside of Positron. And I can see now that I have this loans object in my environment that contains 50,000 rows in these 24 different columns.

So this approach to working with Posit Assistant is really useful. It's become my favorite way to interact with data. I come in, I chat, it drives sort of the session. It can create, you know, once I've gone through my exploration, I can create a Quarto document that outlines the end-to-end workflow and sort of analysis that I've done, or I can take what I've done and take the analysis that's been performed and move it into something like a Shiny application or some other interface that would allow somebody else to gain value from the data that I'm working with.

And I love that they use cases in the financial services space, right? Like I mentioned with you, James, and here for the entire group, right? You know, automating these workflows that are so manual today with generative AI is really helping organizations move a lot faster, you know, gain operational efficiency, impact their business in a very positive way. So I just love this use case and example.

Monitoring model usage and cost

One thing that I wanna show here too, and thank you for that, Gaza, is if I come in, see if I can pull this open really briefly, we'll just open the snapshot view. So this here is, this was written here on the Positron side, just the result of a number of API calls into my AWS environment that allows me to sort of see, I think I've zoomed in too far, there we go, that allows me to sort of see how many model calls have been made to Bedrock in the last 24 hours, who's made those calls, how many tokens have gone in or out, or Zoom is still being weird for us, that's okay, how many tokens have gone in and out, how many calls have been made per hour, tokens by model, and all of this is information that's there for your interpretation.

So whether you wanna use some of the native Bedrock reporting capabilities that exist inside the AWS console, or you wanna create sort of your own reports that help track how models are being utilized and what's happening on the Bedrock side, you can do that as well, right? You have a lot of flexibility. Again, that's kind of the theme of today. You have a lot of flexibility, and that flexibility does not mean that you're sacrificing compliance or any sort of other security requirements that exist in the organization. I can see what's being used, I can see how much is being spent, I can see who's using it, and that's powerful because as organizations work to adopt AI, these are the kinds of questions they want to be able to answer, so they can justify and kind of understand how these tools are being used within the organization.

Commons: trusted calculations for governed AI

One final example that I wanna show here, and I'm not gonna, again, I'm not gonna dive too much into the details of what Commons is as a package and as a framework. There's a separate workflow webinar that's been done that we can share the recording of that dives further into Commons, and then there's lots of documentation and good resources around it.

But I have this application file here that defines this Commons application, and if I run this, this will pop open here, and what this is, expand it, is this gives me this sort of, this is the interface for better or worse that we're all becoming more and more familiar with. I have some sort of natural language chat interface, and then I have this messaging, almost messaging-like experience that can happen with this agent.

So this is, again, built on our same dataset, this loan dataset that exists inside of Athena, and I can come in and say, okay, which loan purposes have the highest charge-off rates? So let's break things down by loan purpose and compare that to the, calculate the charge-off rates. And this will go through and actually execute all the queries that are being calculated here, are being executed against Athena, and then I'm getting the results back here inside of my chat window. So I can see, I can open up any of these, and I can kind of see what was done, how this operated, how this decided to arrive at this conclusion.

But the critical thing, and this is one of the pieces that's unique to Commons, is if I scroll down, I see this little green badge at the end of my response, and this tells me that this answer that was returned by this Commons agent came from what we call a trusted calculation, which means that the model did not go out and write a bunch of its own code and do its own analysis to get here. It used something that we have certified as an organization as our way of defining X, Y, Z. So if we have a specific way that we define charge-off rate, or maybe our loan purpose is a derived column that comes from logic that's present in other columns, whatever that is, because this used that sort of certified way of calculating this information, it gets this green badge at the end that says, this was not some sort of answer that I made up on my own, rather this was something that comes from a trusted calculation.

which means that the model did not go out and write a bunch of its own code and do its own analysis to get here. It used something that we have certified as an organization as our way of defining X, Y, Z.

If the model, oh yeah, go ahead. I just want to make the comment that this is, you know, the best use case for applying AI with data, right? The plan and the intelligence to, you know, design the execution was done with the LLM support, but the actual data is fully grounded, right? There's no hallucination, you know, there's no, you know, creativity that needs to be guarded and protected and steered, right? It's really the best of both words.

Q&A: prompts in .qmd files and reproducibility

James, as we are going with the demo, we have one question pending here on the chat that I believe it's more towards you, because it's probably with the architecture of Posit and Positron here, right? So Morgana is asking, you know, you are having the prompts in the .qmd file, is it just to demonstrate the flow, right? Or is, you know, is it also to provide a degree of reproducibility, right? Can you comment on the strategy for your file distribution?

That's a great, good question, very astute observation. Primarily that was just to help the flow of this, right? Just to have something that I could quickly bring over into Assistant. Because these tools are non-deterministic, I'm brought, you know, the same question is going to get a similar answer, but for example, in fact, I think I have it pulled open and we can look at it really quick.

Here we have, here I asked this question, right? What can you tell us about the tables in this database? And I have, I asked that same question yesterday. So same exact question, same text. And if I scroll up a little bit here and it gives me the same answer. The Aurora Learning Dataset is four tables laid on a star schema, it gives me this thing. But in this case, I actually liked this and was hoping it would do it again in real time today. It didn't, it gives me this nice little diagram to show how these tables relate to one another and what their key joins are. But this was like, I didn't ask for this. It just kind of thought this would be helpful and it gave it to me. And in today's turn, it didn't give this to me. I mean, it gave me the same information. It just didn't give me this diagram.

So you'll end up like that, having your prompts stored in a markdown file or something is not sort of, it doesn't guarantee any sort of reproducibility from an agent standpoint. In my case, that was just sort of to help the flow of the demo and make sure we can kind of move quickly through things.

There are tools, and this goes beyond the scope of today's conversation, but there are tools that I think are really interesting. This sort of track alongside your analysis, like all of the prompts that are contributing to that and the whole like agent turns that are happening, all the agent turns that are taking place, so that that can be something that lives alongside the output. So then you kind of see the path that led to whatever analysis you provided or whatever, you know, whatever thing you've created, which is, like I said, I think there's a lot of really interesting ways that those tools can be utilized, but beyond the scope of kind of what we're talking about today.

Awesome. Yes, thank you, Morgana. Thank you for your question. Yeah, absolutely.

Recap: Posit and Bedrock together

Let's come back here. We talked a little bit about Commons. So just to kind of recap, and then we'll see what additional questions we have, and then we'll leave you with some resources. We, on the Posit side, and I think certainly on the AWS side, continue to see AI adoption expanding and increasing at a rapid rate.

What we've seen is that people are kind of coming into this today with an understanding of, yes, we want to take advantage of these tools. We understand the value, but we need to approach this from a very sort of security conscious, safety first approach, which I think is a very, like that's such a smart tactic. There's a lot of ways you can get there. And I think Bedrock gives your security team and your organizations access to many of the things that help satisfy these requirements that exist at the enterprise level. And then Posit can come fit right in alongside that, and you get all of that benefit. All the guardrails are in place. All the budgets are in place. All the reporting's in place. I can use Posit Assistant and other tools. I can build agents like Commons apps for my end users, and all of it can kind of point back to Bedrock as the way in which we're managing overall access to these AI tools and features.

Yeah, the goal is to make Bedrock invisible, right? You are going to continue to use Posit. You're going to continue to use Commons. You're going to continue to use SageMaker, right? And Bedrock is just going to be there, right? To help you access the LLMs and know that security's in place, that guardrails are enforced, right? And it's all done, you know, once the platform sets it up for you, should be transparent, right? And should be well-governed and should deliver to the expectations.

You also get the benefit of, because you're coming from the Posit standpoint and we already have deep roots in the AWS ecosystem, both from the Posit Workbench standpoint as well as the SageMaker standpoint, you don't have to do, it is truly invisible. You'll notice that when I came into Positron on SageMaker, I didn't have to go somewhere and say like, plug me into Bedrock and make this work. I just opened up Assistant and it was already pointed to Bedrock.

and it already had the model catalog available for me to select from. I don't have to do anything extra and that's a huge advantage. It's just there for me, but it's done in a way that plugs back into all the, plugs back into the governed way that our organization has decided to deliver artificial intelligence.

And finally, this is governed end-to-end from the Assistant that you're using to the model that you deliver as the backend behind something like Commons or any other agent tools you might develop, it's all pointing back to the same place. Bedrock defines the models, it defines those models behaviors, the guardrails, all of that stays intact, regardless of the sort of surface area that you use to interact with it.

And finally, this is governed end-to-end from the Assistant that you're using to the model that you deliver as the backend behind something like Commons or any other agent tools you might develop, it's all pointing back to the same place.

Poll question and audience resources

The last sort of poll question that we have for the group today is what would help you take this next step with governed AI? What are the missing pieces that will be most helpful for you all as you consider sort of the AI adoption within your own organizations?

I'm keeping an eye on responses as they come in. I can get an idea of what's coming based on the questions that we have.

Just thinking here to myself. And by the way, I appreciate the conversation on the chat, right, I was following. And yes, there's a lot of extra resources, right? And just like we are here, Posit and AWS specialists are eager to continue this conversation with you.

This was just a quick demo showing the power, the potential, right? It's really making it operational for you that's gonna make the difference.

Yeah, it looks like we need some practical guides and resources. There's a- How to build. Yeah, put it in the chat. Repos and all, yeah. So they're gonna love the resources that were set up here by Tricia and the team.

I will say, as we look at the results that come in, right, practical guides and resources leave me in charge as well as some deeper technical content. Those are both top of mind for us. So a couple of things, one is on the slide right now, there's a couple of QR codes. These are in the resources as well. So you can grab the QR code now if you need it, but you'll have access to these resources beyond the codes that are shown here.

The one on the right is setting up Positron on SageMaker. So this is less sort of like AI governance focused, but just if you're interested in sort of the Positron experience inside of AWS with Bedrock sort of just behind the scenes automatically, this gives you information on how to get set up. On the left-hand side is a guide that we created just for today that provides sort of a summary of everything that we've talked about. And the hope is this is something that you can use either as a starting point, or even just to kind of carry the conversation forward with IT and security around how Bedrock can help solve many of these problems and how Posit and Posit tools kind of fit around that Bedrock ecosystem.

And we are anxious and eager to sort of continue to provide content and examples and things that will help you all as you continue to explore and expand your use of artificial intelligence in your day-to-day. Let us know, right? Like reach out and let us know if there's things that will be helpful and we'll do our best to continue to work on delivering those things as time goes forward.

Q&A

Okay, I think that takes us up to, that's our final slide. We'll go ahead and open things up to questions. And so feel free to drop any questions you have. I know we've tried to do a good job of keeping track of things as we've gone on, but if there's questions that exist still, feel free to bring those up in the chat as we've got a few minutes left here in our session.

Yeah, so from the chat, right, we had some conversations about, you know, how to implement cost controls and budgets on Bedrock. Yeah, so some resources were shared on the chat. There's definitely a potential for a deep dive with the AWS team.

And yeah, oh, Tricia just shared over there, I was gonna say this, right? Feel free to connect with us, James and I, right? We are human beings and we work for companies that have, you know, great resources and experts as well that can continue the conversations and take it, you know, closer to you, to your areas and to your own teams.

And yes, super fun. I realize I'm skimming back through. I don't know that I see any questions that are still outstanding. Oh, I think Denise will add one over there, you know, like how do we, quick start from SageMaker.

All right, yeah. What's the easiest way for a team using SageMaker to get started with Posit tools? Yeah, great question. There's a couple of different routes. The AWS Marketplace has a listing for Posit team, which gives you access to licenses that will then work inside of the SageMaker side, or you can reach out to Posit. The biggest, I shouldn't even say hurdle, just the biggest thing is the way Positron on SageMaker is licensed requires a license inside of AWS License Manager. And so there's a couple of ways you can get that. You can reach out directly to Posit. You can navigate through the AWS Marketplace. Once that license is in place, the documentation to get started is a few different steps on the admin side. An admin has to set up the custom image for use within your SageMaker domain. Once that's done, as a user, you can go in and easily configure a new Positron space inside of your SageMaker environment.

So fairly, once the admin stuff is out of the way, really easy to get up and running. And you can have multiple spaces. You could have multiple different Positron installations if you have different use cases or different environment requirements for different work that's ongoing.

Yeah. And Joseph, I know you are resurfacing the question from the EU Sovereign Cloud, right? So I'm not a specialist on the Europe market. I focus on the US, right? So I would say that, you know, these state-of-the-art commercial models, they have not been available on the Sovereign Cloud, only first-party and open-weight models when we launched, but these things move really fast, right? So it could be some new launch that I missed, right? So I'm not gonna say a final word here on that situation, right, because things move really, really fast.

And of course, you know, the EU Sovereign Cloud exists for a reason, a highly regulated, probably the most regulated deployment that we have and support, right? So, you know, there could be some limitations that apply. I'm sorry, I can't give you a definitive answer right now. The local teams will know.

No problem, Joseph. Yes, and thank you for your understanding.

Awesome. Keith, Joshua, thank you all for joining. Yeah, thank you, everyone. We appreciate the comments and the questions. Please, like I mentioned, I'll end with this, which is please reach out, let us know if there are additional sessions, content, things that we can do to provide value. We know that it's, at least from my experience in talking with many, many different individuals over the past several months, it can be a little bit frustrating to live in a world where we see the value of some of these tools, but we also recognize the risks associated and we try to reconcile those things. And we wanna move quickly, but we wanna move responsibly. We wanna do our best to help you sort of move in that direction.

Amazon is a great partner of ours. We work closely with them. We're happy to get AWS involved in kind of helping us understand how these pieces fit together and what Bedrock can solve for and what Posit can solve for and how that works together to accomplish the AI adoption goals that you all have. So please don't hesitate to reach out. I know Trisha put LinkedIn in there. You can reach out to us through email as well. And we're happy to chat and work on ways we can continue to help you all.