Posts

Documentation

 You are a Staff Technical Writer and QA Architect. I need to document the "Beyond Text Extraction" multi-agent application. Here is the context: We have a FastAPI backend communicating with an Angular frontend. The backend orchestrates three AI agents: 1. Classifier (Amazon Nova Lite) 2. Multimodal Extractor (Claude 4.5 Haiku) for visual grounding and bounding boxes. 3. Validator (Cohere Command R+) for cross-referencing math and confidence scores. Task 1: Architecture Diagram Generate a detailed Mermaid.js flowchart mapping the complete end-to-end user journey, from document upload on the Angular UI, through the async backend agents, to the human-in-the-loop review checkpoint. Task 2: Test Scenarios Generate a comprehensive list of test cases in a standard QA format (Scenario, Steps, Expected Result). You must include: - Happy path processing. - Edge cases for visual extraction (e.g., skewed images, missing checkboxes). - Validation failures (e.g., confidence score < 0.7...

Models

 Here is how to map your allowed AWS Bedrock models (us-east-1) to the multi-agent architecture for the **"Beyond Text Extraction"** hackathon. Each model in your allowed list has a specific strength. Splitting them across your agents gives you optimal performance, latency, and reasoning depth. ### 1. Model Assignment Matrix | Agent / Layer | Best Model | AWS Model ID (boto3) | Why It’s the Best Choice | |---|---|---|---| | **Agent 1: Classifier** | **Amazon Nova Lite** | amazon.nova-lite-v1:0 | Ultra-fast and low-cost. Perfect for quickly identifying document types (e.g., Invoice vs. Form) and checking image legibility. | | **Agent 2: Multimodal Extractor** | **Claude 4.5 Haiku** | us.anthropic.claude-haiku-4-5-20251001-v1:0 | Outstanding visual/spatial reasoning. Best in this list for reading messy handwriting, checkboxes, complex tables, and returning strict bounding box JSON. | | **Agent 3: Validator** | **Cohere Command R+** | cohere.command-r-plus-v1:0 | Built specifica...

MANET IN NS3

MANET routing protocols YT :  MANET play list   AODV Documentation :  RFC 3561 - Ad hoc On-Demand Distance Vector (AODV) Routing (ietf.org) DSDV YT link :  dsdv OLSR : YT :  olsr doc :  RFC 3626 - Optimized Link State Routing Protocol (OLSR) (ietf.org) Got it — you want to use AWS Bedrock to access models like Claude (Anthropic) or Gemini (Google) and need to know how to get API keys. Here’s the important part: When you use AWS Bedrock, you do not get a direct Claude or Gemini API key from Anthropic or Google. Instead, you use AWS credentials (IAM) to call Bedrock’s API, and AWS handles the connection to those models for you. Steps to Access Claude or Gemini via AWS Bedrock 1️⃣ Enable Bedrock in Your AWS Account Sign in to the AWS Management Console. Go to Amazon Bedrock service. In Model access, request access to: Claude (Anthropic) Gemini (Google) Wait for approval (can take minutes to hours). 2️⃣ Create AWS Credentials (Instead of API Keys from Anthropic...

DSP

Image
 1.Bilinear clc; clear all; close all; b=[0.5266]; a=[1 1.03 0.5266]; fs=100; [bz,az]=bilinear(b,a,fs); 2.Butter worth Band stop clc; clear all; close all; fp1=200; fp2=400; fs1=100; fs2=500; Fs=2000; Wp1=2*fp1/Fs; Wp2=2*fp2/Fs; Ws1=2*fs1/Fs; Ws2=2*fs2/Fs; Rp=2; Rs=20; [N,Wc]=buttord([Wp1,Wp2],[Ws1,Ws2],Rp,Rs); [b,a]=butter(N,Wc,'stop'); w=0:0.1:pi; [h,omega]=freqz(b,a,w,'whole'); subplot(2,1,1); plot(omega/pi,20*log10(abs(h))) xlabel('omega/pi'); ylabel('Gain,db'); title(sprintf('N=%d Butterworth Lowpass Filter',N)); grid on; an=angle(h); subplot(2,1,2); plot(omega/pi,unwrap(an)); grid on; xlabel('normalized frequency'); ylabel('phase in radians'); 3.Butter worth Band pass clc; clear all; close all; fp1=200; fp2=400; fs1=100; fs2=500; Fs=2000; Wp1=2*fp1/Fs; Wp2=2*fp2/Fs; Ws1=2*fs1/Fs; Ws2=2*fs2/Fs; Rp=2; Rs=20; [N,Wc]=buttord([Wp1,Wp2],[Ws1,Ws2],Rp,Rs); [b,a]=butter(N,Wc); w=0:0.1:pi; [h,omega]=freqz(b,a,w,'whole'); subpl...

ac lab

 Constellation diagram clc;close all ; clear; m=16; k=log2(m); n=3000; sps=1; dataIn=randi([0 1],n,1); dataInMatrix=reshape(dataIn,length(dataIn)/k,k); dataSymbolsIn=bi2de(dataInMatrix); dataMod=qammod(dataSymbolsIn,m, 'bin' ); dataModG=qammod(dataSymbolsIn,m); % awgn EbNo=10; snr=EbNo+10*log10(k)-10*log10(sps); receivedSignal= awgn(dataMod,snr, 'measured' ); receivedSignalG= awgn(dataModG,snr, 'measured' ); sPlotFig=scatterplot(receivedSignal,1,0, 'g.' ); hold on ; scatterplot(dataMod,1,0,k*primesPlotFig); EYE DIAGRAM clc; clear; close all ; N=800; fs=5; randn( 'state' , 0); am=2*(rand(1,N)>0.5)-1; sincNum=sin(pi*(-fs:1/fs:fs)); sincDen=(pi*(-fs:1/fs:fs)); sincDenZero = find(abs(sincDen) < 10^-10); sinc0p= sincNum./sincDen; sinc0p(sincDenZero)=1; % raised cosine filter alpha = 0.5; cosNum = cos(alpha*pi*(-fs:1/fs:fs)); cosDen = (1-(2*alpha*(-fs: 1/fs:fs)).^2); cosDenZero=find(abs(cosDen)<10^-10); cos0p=cosNum./cosDen; cos0p(cosDenZero)=...

పరమ వీర చక్ర

Image
పరమ వీర చక్ర భారతదేశ అత్యున్నత శౌర్య  పురస్కారం పరమవీరచక్ర. ఇది కదనరంగంలో అత్యున్నత ప్రతిభ చూపిన వారికి ఇవ్వబడుతుంది దీన్ని మొదటిగా స్వీకరించిన వారు సోమనాథ్ శర్మ దీన్ని మన భారతదేశ రక్షణ దళంలో ఇవ్వబడుతుంది.