Iqra Technology

Getting API Keys

❮ Previous Next ❯ Gemini API Key Setup (Google Generative AI) To use Gemini Pro models (by Google) via LangChain or the direct API, you need to get a Gemini API key from Google’s MakerSuite platform. Here’s how to do that: Step-by-Step Guide to Get Gemini API Key Step 1: Visit MakerSuite Go to:👉 https://makersuite.google.com/app/apikey

Getting API Keys Read More »

Installing Required Packages

❮ Previous Next ❯ Installing Required Packages Setting up a virtual environment Step 1: Create a Virtual Environment Why?To isolate project dependencies and avoid conflicts with other projects. Commands: After activation, your terminal should look like this: This (env) confirms you’re inside your virtual environment. Installing LangChain, Gemini, FAISS, and DRF: Step 2: Install Required

Installing Required Packages Read More »

JWT Authentication

Next ❯ Implementing JWT Authentication What is JWT Authentication? JWT (JSON Web Token) Authentication is a stateless authentication method that generates a signed token containing user information. It is widely used for secure and scalable authentication. Configuration in DRF Authentication is the process of verifying the identity of users accessing an API. DRF provides several

JWT Authentication Read More »