Skip to content

kumarutkarshuk/agentic-payroll-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic Payroll Middleware

This project serves as a middleware API for SemantiPay. It facilitates integration of majorly TiDB and Dify.

Features

  • Fetch and update payroll data.
  • Generate and store compliance rule embeddings using Jina AI.
  • Retrieve relevant compliance rules based on embedded queries.
  • Log compliance checks for payroll records.

Usage

  1. Install dependencies (Node.js & Bun are required):

    bun install
  2. Copy .env.example to .env and fill in the required values:

  • PORT: Port on which the app should run.
  • PUBLIC_KEY / PRIVATE_KEY: TiDB credentials.
  • TIDB_URL: Connection string for the TiDB database.
  • JINA_API_KEY: Jina AI API key.
  1. Run the server:

    bun start
  2. API Endpoints:

Project Structure

  • src/controllers/ - Route handlers for payroll and compliance logic
  • src/util/ - Utility functions and type definitions
  • src/router/ - Express router configuration
  • src/index.ts - Server entry point

Related Project

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors