@odda-ai/matching-core 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +790 -0
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.js +3 -0
  4. package/dist/src/ai/AIProvider.d.ts +36 -0
  5. package/dist/src/ai/AIProvider.js +127 -0
  6. package/dist/src/ai/adapters/AnthropicAdapter.d.ts +12 -0
  7. package/dist/src/ai/adapters/AnthropicAdapter.js +38 -0
  8. package/dist/src/ai/adapters/OllamaAdapter.d.ts +17 -0
  9. package/dist/src/ai/adapters/OllamaAdapter.js +38 -0
  10. package/dist/src/ai/adapters/OpenAIAdapter.d.ts +12 -0
  11. package/dist/src/ai/adapters/OpenAIAdapter.js +47 -0
  12. package/{src/ai/adapters/index.ts → dist/src/ai/adapters/index.d.ts} +1 -1
  13. package/dist/src/ai/adapters/index.js +3 -0
  14. package/dist/src/ai/factory.d.ts +12 -0
  15. package/dist/src/ai/factory.js +37 -0
  16. package/{src/ai/index.ts → dist/src/ai/index.d.ts} +1 -1
  17. package/dist/src/ai/index.js +5 -0
  18. package/dist/src/ai/registry.d.ts +13 -0
  19. package/{src/ai/registry.ts → dist/src/ai/registry.js} +7 -8
  20. package/dist/src/ai/types.d.ts +54 -0
  21. package/dist/src/ai/types.js +1 -0
  22. package/dist/src/cv-parser/PDFParserService.d.ts +41 -0
  23. package/dist/src/cv-parser/PDFParserService.js +136 -0
  24. package/dist/src/cv-parser/index.js +1 -0
  25. package/dist/src/cv-parser/types.d.ts +51 -0
  26. package/dist/src/cv-parser/types.js +1 -0
  27. package/dist/src/features/ai-cv-resume.service.d.ts +14 -0
  28. package/dist/src/features/ai-cv-resume.service.js +78 -0
  29. package/dist/src/features/ai-talent.service.d.ts +18 -0
  30. package/dist/src/features/ai-talent.service.js +29 -0
  31. package/dist/src/features/cv-chunking.service.d.ts +140 -0
  32. package/dist/src/features/cv-chunking.service.js +334 -0
  33. package/dist/src/features/index.js +3 -0
  34. package/dist/src/features/job-matcher.service.d.ts +14 -0
  35. package/dist/src/features/job-matcher.service.js +19 -0
  36. package/dist/src/features/prompts.d.ts +8 -0
  37. package/{src/features/prompts.ts → dist/src/features/prompts.js} +6 -21
  38. package/dist/src/features/system-messages.d.ts +6 -0
  39. package/{src/features/system-messages.ts → dist/src/features/system-messages.js} +3 -4
  40. package/dist/src/features/types.d.ts +49 -0
  41. package/dist/src/features/types.js +15 -0
  42. package/package.json +8 -9
  43. package/src/ai/AIProvider.ts +0 -159
  44. package/src/ai/adapters/AnthropicAdapter.ts +0 -42
  45. package/src/ai/adapters/OllamaAdapter.ts +0 -42
  46. package/src/ai/adapters/OpenAIAdapter.ts +0 -53
  47. package/src/ai/factory.ts +0 -48
  48. package/src/ai/types.ts +0 -59
  49. package/src/cv-parser/PDFParserService.ts +0 -160
  50. package/src/cv-parser/types.ts +0 -58
  51. package/src/features/ai-cv-resume.service.ts +0 -104
  52. package/src/features/ai-talent.service.ts +0 -49
  53. package/src/features/cv-chunking.service.ts +0 -510
  54. package/src/features/job-matcher.service.ts +0 -41
  55. package/src/features/types.ts +0 -55
  56. /package/{src/cv-parser/index.ts → dist/src/cv-parser/index.d.ts} +0 -0
  57. /package/{src/features/index.ts → dist/src/features/index.d.ts} +0 -0
@@ -1,55 +0,0 @@
1
- export enum Seniority {
2
- JUNIOR = 'JUNIOR',
3
- MID = 'MID',
4
- SENIOR = 'SENIOR',
5
- LEAD = 'LEAD',
6
- PRINCIPAL = 'PRINCIPAL',
7
- }
8
-
9
- export enum JobSkillType {
10
- TECHNICAL_REQUIRED = 'technical_required',
11
- TECHNICAL_NICE_TO_HAVE = 'technical_nice_to_have',
12
- SOFT_REQUIRED = 'soft_required',
13
- SOFT_NICE_TO_HAVE = 'soft_nice_to_have',
14
- }
15
-
16
- export type TechnicalSkill = {
17
- name: string;
18
- proficiency: number;
19
- isInferred: boolean;
20
- seniority: Seniority;
21
- }
22
-
23
- export type PersonalInfo = {
24
- firstName?: string;
25
- lastName?: string;
26
- email?: string;
27
- phone?: string;
28
- address?: string;
29
- dateOfBirth?: string;
30
- nationality?: string;
31
- linkedIn?: string;
32
- github?: string;
33
- website?: string;
34
- }
35
-
36
- export type Certification = {
37
- name: string;
38
- issuer?: string;
39
- year?: number;
40
- }
41
-
42
- export type CvAnalysisRequest = {
43
- cvText: string;
44
- referenceSkills?: string[];
45
- }
46
-
47
- export type CvAnalysisResponse = {
48
- personalInfo: PersonalInfo;
49
- description: string;
50
- technicalSkills: TechnicalSkill[];
51
- workExperienceSummary: string;
52
- certifications: Certification[];
53
- overallSeniority: Seniority;
54
- yearsOfExperience: number;
55
- }