blog.samitghimire.com.npBuilding Efficient RAG Servers for LLMs with GoLarge Language Models (LLMs) have gained tremendous popularity in recent years, transforming how we interact with technology, access information, and perform various tasks. RAG stands for Retrieval-Augmented Generation, and a RAG server is a system t...Sep 30, 2024·5 min read
blog.samitghimire.com.npUnderstanding Go's Optional and Default ParametersThere is no direct support for optional/default function parameters in Go. But there are ways we can do it. Let's look over how. Checking default value We can create a function to pass the empty value and check inside the function, let's look at the ...Aug 1, 2024·4 min read
blog.samitghimire.com.npUnit testing multiple HTTP calls in GoLangWhat is Unit Testing? Unit testing is a software testing technique in which individual units or components of a software application are tested in isolation from the rest of the application to ensure that each unit works correctly. It involves writin...Jun 22, 2023·8 min read
blog.samitghimire.com.npUsing GitHub to deploy the ReactJS appReactJS is a very popular front-end library to build user interfaces. And you might have developed an excellent app using react but struggling to get it to the users. In this article, I will walk you through the steps to use Github pages and deploy t...Jan 28, 2023·2 min read
blog.samitghimire.com.npConcurrency in Golang, Zero to HeroWhat is Concurrency? Concurrency is the ability of a program to run multiple tasks that can run individually but remain part of the same program. Concurrency is important when we need to run an individual program without disturbing the original flow....Sep 14, 2022·9 min read