AI Developer — Improve AI Assistant in CRM System (Text-to-SQL)

Posted 5 days ago

Worldwide

Summary

We are looking for an experienced developer to refine and improve the AI assistant in our internal CRM system. This is not development from scratch — the core functionality is already implemented and working. Your task will be to analyze the current implementation, fix existing issues, and propose quality improvements. This is a project with potential for long-term collaboration. We are looking for a developer who is ready to dedicate at least 10 hours per week to this project. About the system: We are building a CRM system based on Supabase (relational database) with a React frontend and a Node.js backend. The system allows users to create their own tables, add fields, and configure relationships using rollups and lookups. Currently, the system contains 10+ objects with real data. Important: the database is shared between two products — the CRM system and a mobile app. The app uses the same database to search for relevant answers to user queries, so the AI assistant must work correctly in both contexts. The AI assistant already understands natural language queries (in Ukrainian) and performs data analytics through SQL generation. Good examples of what we're aiming for: https://crm.lightfield.app/ and https://attio.com/ Technology stack: Frontend: React Backend: Node.js Database: Supabase (PostgreSQL) Hosting: Vercel Architecture highlights: dynamic database structure (users create their own tables and fields), relationships between tables via rollups and lookups, automatic Supabase schema introspection, use of metadata (object and attribute descriptions) as AI context, shared database for both CRM and mobile app. Current issues to solve: High token consumption per query — context delivery needs optimization (schema, metadata, knowledge base) Inaccurate AI responses on some queries — response quality and consistency need improvement Overall — audit the current implementation, discuss bottlenecks with us, and propose concrete improvements (prompting, caching, context structure, model selection, function calling, etc.) Scope of work: Audit of the current AI assistant architecture and system prompt Token consumption optimization (reducing context without losing quality) Improving the accuracy of SQL generation and natural language responses Ensuring the AI search works correctly in both the CRM and the mobile app Supporting automatic scaling — the system must work correctly with new tables and fields created by users SQL validation & security (SELECT whitelist, blocking DROP/DELETE) Proposing and implementing architectural improvements Requirements: Experience working with LLM APIs (OpenAI, Claude, Gemini, etc.) Strong SQL (PostgreSQL) skills and experience with dynamic query generation Experience with Supabase or similar BaaS platforms Node.js / JavaScript (backend) Understanding of Function Calling principles and AI-driven workflows Experience with token/context optimization for LLMs is a big plus Availability of at least 10 hours per week

  • More than 30 hrs/week
    Hourly
  • 3-6 months
    Duration
  • Intermediate
    Experience Level
  • $20.00

    -

    $30.00

    Hourly
  • Remote Job
  • Ongoing project
    Project Type
Skills and Expertise
Mandatory skills
Node.js
ChatGPT API
GPT API
Activity on this job
  • Proposals:50+
  • Last viewed by client:4 days ago
  • Interviewing:
    6
  • Invites sent:
    8
  • Unanswered invites:
    2
About the client
Member since Jun 12, 2022
  • Ukraine
    Kyiv1:25 PM
  • $5.5K total spent
    2 hires, 1 active
  • 237 hours

Explore similar jobs on Upwork

Noloco specialistHourly‐ Posted 4 weeks ago
Pylon Specialist for Account SetupHourly‐ Posted 1 month ago
API Integration
Integration Testing
Project Management Software
Automated Workflow
Slack
Organizational Design & Effectiveness

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo