Using Azure AI Language studio to improve RAG grounding document discovery
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1w ago
A very critical part of implementing a Generative AI solution that utilizes Retrieval Augmented Generation (RAG) like Microsoft Copilot is the discovery of the most relevant grounding documents.  These most relevant grounding documents are then passed to the LLM for use in generating the NLP response.  For example, if you want to find out how to solve an HTTP 503 status code, a valid tokenized user prompt would be something like “Solve HTTP 503 status”.  To improve the relevance score of my documentation I tried testing how the search score is influenced if I include a summary o ..read more
Visit website
Free PDF download MCA Microsoft Certified Associate Azure Data Engineer Study Guide: Exam DP-203
The Best C# Programmer In The World – Benjamin Perkins
by benperk
6M ago
If you want to get a free copy of the Index, Table of Contents and of Chapter 1, have a look here.  Click on the READ AN EXCERPT dropdown and then select the one you would like to review.  Figure 1 illustrates how that looks like. Figure 1, how to get a free PDF copy of the MCA Microsoft Certified Associate Azure Data Engineer Study Guide: Exam DP-203 If you find any issues or have some questions, go to my GitHub repository here and share or ask. Feel free to connect with be on LinkedIn and check out About page here. Microsoft Azure Architect Technologies and Design Complete Study G ..read more
Visit website
MCA Microsoft Certified Associate Azure Data Engineer Study Guide: Exam DP-203
The Best C# Programmer In The World – Benjamin Perkins
by benperk
6M ago
I am proud to announce the publication of my newest book titled, “Microsoft Certified Associate Data Engineer Study Guide” for the DP-203 exam. The example data used in this book consists of my brainwaves. You can download the data and the source code for all the examples in the book on GitHub here . ADLS, Azure Synapse, Azure Databricks, Azure HDInsight, Azure Stream Analytics, Cosmos DB and so much more are discussed in full detail with many hands-on exercises. AI capabilities are built on top of Machine Learning models which are created, trained, and tested with data. Without data there can ..read more
Visit website
Install, configure, and test GitHub Copilot in Visual Studio 2022
The Best C# Programmer In The World – Benjamin Perkins
by benperk
8M ago
If you have not read or heard about Microsoft Copilot read more about it here.  In summary it is a natural language generative AI application that can respond to questions using your proprietary/private data in sentences and paragraphs instead of links.  It does much more than that, read the article if you want to find out more.  In regards to GitHub Copilot which is a tool focused on optimizing the development of code, the more you use it the more you will learn of it capabilities and the manner in which your development routine is optimized and will truly become more fun, plea ..read more
Visit website
How to set the PATH on an Azure App Service, customize, modify
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
The location from which a process is invoked is important.  A process, I.e. an executable (.exe) is the program which contains the entry point to the code which needs to run.  If the location is in a relative position related to the assemblies it requires, then the .exe can use relative paths to access an load them at runtime.  Consider that I have a process which stores its dependent assemblies in a directory location like the following. D:\home\SiteExtensions\theBestSiteExtensionEver Then consider that the process which needs the assemblies in that directory location is instan ..read more
Visit website
Bring Your Own Storage (BYOS) Azure App Service map directory path
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
NOTE: This is suggested when you are using ASP.NET, the not Core version. If you are using ASP.NET Core then see the bottom of this article for the recommended approach. I mounted my own storage to an Azure App Service Web App and I wanted to then have my website direct traffic to that content based on a folder.  I followed these instructions to create the mount.  The configuration of my mount looked like this. Figure 1, Mount storage, azure app service, azure files, path mappings You can view the configuration and the content in the drive via KUDU/SCM.  You can find the driv ..read more
Visit website
LSRServiceException – Could not find Linked Service, the linked service does not exist or is not published
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
I only had 1 SparkPool which was provisioned using Apache Spark version 3.1.  So when I created my Regression Azure Machine Learning model it defaulted to that Spark Pool.  When I clicked on the Create run button, after some moments, I received the following error… Figure 1, Could not find Linked Service, the linked service does not exist or is not published I did not find any information or documentation about this, so I decided to take another approach.  Instead of pressing the Create run button I click the Open in notebook button. Figure 2, Could not find Linked Service, th ..read more
Visit website
Use external Hive Metastore for Synapse Spark Pool
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
I wrote this article which is what helped me progress forward with this. External Apache Hive metastore, Azure Databricks, Azure SQL I am following these instructions.  Here is the kicker, which is likely something most people may already know, but in order to make this configuration the Hive Metastore must already exist on the Azure SQL data you configured as a Linked service.  If not, you will get this exception. import java.sql.DriverManager Failed to establish connection: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name ‘VERSION’. When you execute the test con ..read more
Visit website
External Apache Hive metastore, Azure Databricks, Azure SQL
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
I was following this documentation and had some experiences I wanted to document.  I wanted to accomplish this. Figure 1, External Apache Hive metastore using Azure Databricks and Azure SQL Figure 2, External Apache Hive metastore using Azure Databricks and Azure SQL The cluster version I used was the most current one. Figure 3, Azure Databricks Runtime: 9.1 LTS (Scala 2.12, Spark 3.1.2) cluster Here is how my final Spark config ended up looking like. Final Spark config: datanucleus.schema.autoCreateTables true spark.hadoop.javax.jdo.option.ConnectionUserName benperk@csharpguitar datan ..read more
Visit website
Azure Function Access Restriction
The Best C# Programmer In The World – Benjamin Perkins
by benperk
1y ago
If you wanted to block inbound traffic to your Azure Function, one option is to use an Access Restriction.  To check if you have one, navigate to the Networking blade for your Azure Function and check if Access restriction is On. Figure 1, Access Restriction and Azure Functions Take caution that although this let’s you block blocks of IP addresses, some IPs are required for performing deployments.  A rule like this on the SCM / KUDU site would cause deployments to fail. Figure 2, Access Restriction and Azure Functions Take special note that for security reasons, the reason a reques ..read more
Visit website

Follow The Best C# Programmer In The World – Benjamin Perkins on FeedSpot

Continue with Google
Continue with Apple
OR