Generating replies using Langchain multiple chains and Gemini in NestJS

Loading

Reading Time: 7 minutesIntroduction In this blog post, I demonstrated generating replies with Langchain multiple chains. In auction sites such as eBay, buyers can provide ratings and comments on sales transactions. When the feedback is negative, the seller must reply promptly to resolve the dispute. This demo aims to generate responses in the same language of the buyer … Read more

Generating replies with prompt chaining using Gemini API and NestJS

Loading

Reading Time: 8 minutesIntroduction In this blog post, I demonstrated generating replies with prompt chaining. In auction sites such as eBay, buyers can provide ratings and comments on sales transactions. When the feedback is negative, the seller has to provide a response promptly to resolve the dispute. This demo saves time by generating replies in the same language … Read more

Perform text translation using Vertex AI, Gemini, and NodeJS

Loading

Reading Time: 5 minutesIntroduction Internationalization (i18n) is an important aspect of commercial websites because commercial owners want to sell their products to customers worldwide. Even though English is one of the most popular languages in the world, not everyone can read and write it fluently. Therefore, websites normally provide additional languages, such as Spanish and Chinese, for visitors … Read more

Summarize a web page using langchain.js and Gemini in a NestJS application

Loading

Reading Time: 7 minutesIntroduction As a software engineer, it is important to stay relevant in web technology by reading blog posts from blogger sites such as dev.to and HashNode. Many blog authors publish posts every day and readers have to select good ones from all of them to learn smartly and quickly. In the past, I scanned the … Read more

Text translation using langchain.js and Gemini in a NestJS application

Loading

Reading Time: 7 minutesIntroduction I am a language learner, and I learn Mandarin and Spanish in my spare time. When I discovered that text translation using langchain.js and Gemini 1.0 Pro is possible, I wanted to leverage the strength of generative AI in my hobby. Therefore, I built a NestJS application to translate texts between two languages through … Read more

Text translation using Azure AI Translator in a NestJS application

Loading

Reading Time: 7 minutesIntroduction I am a language learner who learns Mandarin and Spanish in my spare time. When I discovered that text translation using Azure AI is possible, I wanted to leverage the strength of the translation service of Azure Cognitive Service in my hobby. Therefore, I built a NestJS application to translate texts between two languages … Read more

Create a generative AI application with Angular and Gemini REST API

Loading

Reading Time: 7 minutesIntroduction In this blog post, I show how to create a generative AI application that uses Angular and Gemini REST API. Therefore, it is feasible to build basic generative AI without a backend. The application demonstrates 2 use cases Generate Gemini API Key Go to https://aistudio.google.com/app/apikey to generate an API key for a new or … Read more