Techno Blender
Digitally Yours.
Browsing Tag

data type

Building a Multi-Modal Image Search Application

In the world of machine learning, there used to be a limit on models — they could only handle one type of data at a time. However, the ultimate aspiration of machine learning is to rival the cognitive prowess of the human mind, which effortlessly comprehends various data modalities simultaneously. Recent breakthroughs, exemplified by models like GPT-4V, have now demonstrated the remarkable ability to concurrently handle multiple data modalities. This opens up exciting possibilities for developers to craft AI applications…

Generative AI With Spring Boot and Spring AI

It’s been more than 20 years since Spring Framework appeared in the software development landscape and 10 since Spring Boot version 1.0 was released. By now, nobody should have any doubt that Spring has created a unique style through which developers are freed from repetitive tasks and left to focus on business value delivery. As years passed, Spring’s technical depth has continually increased, covering a wide variety of development areas and technologies. On the other hand, its technical breadth has been continually…

AI for Web Devs: Prompt Engineering

Welcome back to this series where we are building web applications that incorporate AI tooling. The previous post covered what AI is, how it works, and some related terminology. Intro & Setup Your First AI Prompt Streaming Responses How Does AI Work Prompt Engineering AI-Generated Images Security & Reliability Deploying In this post, we will cover prompt engineering, which is a way to modify your application’s behavior without changing the code. Since it’s challenging to explain without seeing…

Stable Diffusion XL: The New Model From Stable AI

Among the outstanding advances in image generation through artificial intelligence is Stable Diffusion, a powerful tool that has revolutionized the creation of visual content. Stability AI aims to maintain its leading position in generating images from text with the recent release of its Stable Diffusion XL 1.0 image generator. ‘XL’ refers to the fact that it has been trained with almost three times more parameters than its previous models. Today we will talk about this new model and what improvements it brings and also…

Using Unblocked to Fix a Service That Nobody Owns

Working in technology for over three decades, I have found myself in a position of getting up to speed on something new at least 100 times. For about half of my career, I have worked in a consulting role, which is where I faced the challenge of understanding a new project the most. Over time, I established a personal goal to be productive on a new project in half the time it took for the average team member. I often called this the time to first commit or TTFC. The problem with my approach to setting a TTFC record was the…

Transforming Your Documents With RAG

The AIDocumentLibraryChat project uses the Spring AI project with OpenAI to search in a document library for answers to questions. To do that, Retrieval Augmented Generation is used on the documents. Retrieval Augmented Generation The process looks like this: The process looks like this: Upload Document Store Document in Postgresql DB. Split Document to create Embeddings. Create Embeddings with a call to the OpenAI Embedding Model. Store the Document Embeddings in the Postgresql Vector DB. Search Documents:…

Mastering Prompt Engineering In AI Language Models

Prompt engineering is a vital aspect of leveraging the full potential of AI language models. By refining and optimizing the instructions given to these models, we can obtain more accurate and contextually relevant responses. In this article, we explore the principles and techniques of prompt engineering, along with its limitations and potential applications. Principles of Prompt Engineering 1. Writing Clear and Specific Instructions The success of prompt engineering begins with providing clear and unambiguous…

AWS Partition Projections for Athena

In today's data-driven landscape, organizations are increasingly turning to robust solutions like AWS Data Lake to centralize vast amounts of structured and unstructured data. AWS Data Lake, a scalable and secure repository, allows businesses to store data in its native format, facilitating diverse analytics and machine learning tasks. One of the popular tools to query this vast reservoir of information is Amazon Athena, a serverless, interactive query service that makes it easy to analyze data directly in Amazon S3 using…

Understanding Doubly Linked Lists – DZone

The linked list concept is used quite commonly in the real world. When we use Spotify to play the next song in the queue, the concept of a single linked list that we learned comes into action. But what exactly can one do to play the previous song in the queue?  In this blog, we shall understand another concept associated with data structures, which is a Doubly Linked List. We shall also discuss its implementation using C and real-time applications. What Is a Doubly Linked List? A linked list is a type of linear data…

Linked List in Data Structures and Algorithms

In the previous blog, we looked into different types of linear data structures. A linked list is also one of them. The program for linked lists seems to be lengthy, but once we are aware of the concept, It's easy to implement it. Linked lists are unlike stack and queues as it stores a pointer pointing to the address. For example, while we are listening to music on Spotify, we can create our song playlist and can play a song from both starting and end of the list. These music players are implemented using a linked list. …