Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Speaker Diarization for Interview Analysis #59

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
789bd46
Added speaker diarization module
AjinkyaASK Nov 23, 2024
ad4d829
Working on jd parser and diarization integration
AjinkyaASK Nov 26, 2024
66407d4
Fix json response issue
AjinkyaASK Nov 27, 2024
fefd431
feat:integration of aicruit with lingo.ai
Abhishek-Jain-1925 Nov 28, 2024
9a5377b
added signup and singin changes
Abhishek-Jain-1925 Nov 28, 2024
a283227
JD parser code corrections
AjinkyaASK Nov 29, 2024
6d4b7ca
JD alignment logic corrections
AjinkyaASK Dec 5, 2024
fb5770b
Merge branch 'feature/abhishek-dev' of github.com:joshsoftware/lingo.…
AjinkyaASK Dec 6, 2024
2d26fb8
feat:updated ui changes and Download PDF
Abhishek-Jain-1925 Dec 6, 2024
d181c72
Add FastAPI background task for interview analysis
AjinkyaASK Dec 7, 2024
53fb561
Fix json deserialization and typo in json parsing
AjinkyaASK Dec 7, 2024
061de0d
Fix routes and names
AjinkyaASK Dec 9, 2024
2e485da
Merge branch 'feature/abhishek-dev' of github.com:joshsoftware/lingo.…
AjinkyaASK Dec 9, 2024
ddc03dc
Fix integration issue
AjinkyaASK Dec 9, 2024
0da96a2
feat:UI Changes, Download PDF Changes
Abhishek-Jain-1925 Dec 9, 2024
e6a9651
feat:Text Wrapping while creating a PDF
Abhishek-Jain-1925 Dec 9, 2024
4d5dfb8
Merge branch 'feature/abhishek-dev' of github.com:joshsoftware/lingo.…
AjinkyaASK Dec 11, 2024
e49d995
Fix directory restructure
AjinkyaASK Dec 11, 2024
02ceb6f
Merge branch 'main' into feature/speaker_diarization
AjinkyaASK Dec 11, 2024
fa0bc32
Add middleware
AjinkyaASK Dec 13, 2024
a893943
Add API for audio file based transcription
AjinkyaASK Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# IDE and tools specific
.history
.vscode

/service/service.json
/service/user_account.json
/service/models
20 changes: 0 additions & 20 deletions app/migrations/0000_rainy_brother_voodoo.sql

This file was deleted.

85 changes: 85 additions & 0 deletions app/migrations/0000_yielding_silverclaw.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
CREATE TABLE IF NOT EXISTS "analysis_feedback" (
"id" text PRIMARY KEY NOT NULL,
"user_id" text NOT NULL,
"analysis_id" uuid NOT NULL,
"is_found_useful" boolean NOT NULL,
"impact" text,
"createdAt" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "interview_analysis" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"user_id" text NOT NULL,
"candidate_name" text NOT NULL,
"interviewer_name" text NOT NULL,
"interview_recording_link" text NOT NULL,
"job_description_document_link" text NOT NULL,
"transcript" text,
"questions_answers" text,
"parsed_job_description" text,
"analysis_result" text,
"conversation" text,
"status" text,
"created_at" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "registrations" (
"id" text PRIMARY KEY NOT NULL,
"userName" text NOT NULL,
"userEmail" text NOT NULL,
"createdAt" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "session" (
"id" text PRIMARY KEY NOT NULL,
"user_id" text NOT NULL,
"expires_at" timestamp with time zone NOT NULL,
"createdAt" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "transcriptions" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"user_id" text NOT NULL,
"translation" text NOT NULL,
"summary" text NOT NULL,
"createdAt" timestamp DEFAULT now(),
"documentUrl" text NOT NULL,
"documentName" text NOT NULL,
"isDefault" boolean DEFAULT false NOT NULL,
"audioDuration" integer
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "user" (
"id" text PRIMARY KEY NOT NULL,
"username" text NOT NULL,
"password_hash" text NOT NULL,
"name" text,
"contactNumber" text,
"role" text,
"createdAt" timestamp DEFAULT now(),
CONSTRAINT "user_username_unique" UNIQUE("username")
);
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "analysis_feedback" ADD CONSTRAINT "analysis_feedback_analysis_id_interview_analysis_id_fk" FOREIGN KEY ("analysis_id") REFERENCES "public"."interview_analysis"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "interview_analysis" ADD CONSTRAINT "interview_analysis_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "session" ADD CONSTRAINT "session_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "transcriptions" ADD CONSTRAINT "transcriptions_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
2 changes: 0 additions & 2 deletions app/migrations/0001_vengeful_black_tarantula.sql

This file was deleted.

1 change: 0 additions & 1 deletion app/migrations/0002_youthful_justice.sql

This file was deleted.

27 changes: 0 additions & 27 deletions app/migrations/0003_round_wasp.sql

This file was deleted.

1 change: 0 additions & 1 deletion app/migrations/0004_chunky_amazoness.sql

This file was deleted.

4 changes: 0 additions & 4 deletions app/migrations/0005_blue_prowler.sql

This file was deleted.

2 changes: 0 additions & 2 deletions app/migrations/0006_stormy_rocket_racer.sql

This file was deleted.

Loading