Category: Open Source

Azure AI Agents: When to Use azure.ai.projects vs. agent_framework

As Azure AI Foundry adoption grows, developers are increasingly faced with an important architectural decision: The answer depends on where your agent lives and how you want to manage it.  Although both SDKs are part of the Azure AI ecosystem, they solve different problems. Understanding the distinction can save significant development effort and help you […]

Read More →

Develop generative AI apps that use tools

Artificial Intelligence (AI) is more than OpenAI or Anthropic who have created some very awesome LLMs that can do amazing things, especially with Natural Language Processing (NLP).  AI can also extract information from documents, convert text-to-speech and speech-to-text, provide metadata and summaries of images and videos, of course AI Agents.  All of the AI capabilities […]

Read More →

Develop an AI agent with Microsoft Agent Framework

You may have noticed that in my previous articles I used Azure AI Projects client library for Python – version 2.5.0 library.  Those articles illustrate how to build AI Agents, MCP Tools, and infer instructions using an LLM. Integrate custom tools into an AI Agent Integrate MCP Tools with AI Agents – Remote MCP server […]

Read More →

How to search a Lucene.Net index in C#

I used this code to perform a search of a Lucene.Net index. Lucene.Net.Store..Directory directory =      Lucene.Net.Store.FSDirectory                .Open(new DirectoryInfo(textBoxSearchIndex.Text)); Lucene.Net.Analysis.Analyzer analyzer =      new Lucene.Net.Analysis.Standard                    .StandardAnalyzer(LuceneUtil.Version.LUCENE_29); Lucene.Net.Search.Searcher searcher =      new Lucene.Net.Search                .IndexSearcher(LuceneIndex.IndexReader                                          .Open(directory, true)); Lucene.Net.Search.Query query =      new Lucene.Net.QueryParsers                .QueryParser(LuceneUtil.Version.LUCENE_29,                             “contents”, analyzer)                             .Parse(textBoxSearch.Text); Lucene.Net.Search.Hits hits = […]

Read More →

Lucene.NET returns results only when using numeric values

Benjamin Perkins Lucene.NET

I used this code to create a Lucene.Net 2.9.2 index. System.IO.DirectoryInfo indexFileLocation = new System.IO.DirectoryInfo(textBox1.Text); Lucene.Net.Store.Directory directory = Lucene.Net.Store.FSDirectory.Open(indexFileLocation); Lucene.Net.Analysis.Analyzer analyzer = new Lucene.Net .Analysis .Standard .StandardAnalyzer(LuceneUtil.Version.LUCENE_29); IndexWriter writer = new IndexWriter(directory, analyzer, true, IndexWriter.MaxFieldLength.UNLIMITED); foreach (IList item in dataToIndex) { Document doc = new Document(); doc.Add(new Field(“ID”, item[0].ToString(), Field.Store.YES, Field.Index.NO)); …. string contents = […]

Read More →

How to delete a Docker image

I was able to remove some of my unwanted images by accessing my Docker Cloud account here.  As seen in Figure 1, navigate to your repositories, click on those dots, a delete popup is rendered. Figure 1, how to delete a docker image repository I write this because when I searched all I found was […]

Read More →