Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Correct the mistakes in the work of the AI agent with the vector database.

Translated132 USD

Applications 1

Application viewing is only available registered users.
  1. 272    1
    2 days266 USD

    Good morning,
    I have analyzed the problem with your AI agent and identified the main cause — vector competition between two different types of documents in one space. The documents of the Sejm (structured articles) always win against the SAOS rulings (unstructured legal text) in standard vector searches.
    Solution
    Architecture with two independent search streams:

    Query classifier — determines the type of search (law/precedent/both)
    Parallel search — separate queries with optimal configuration
    Intelligent merging — merging with cross-reference (rulings → laws)

    API cost optimization
    Current system: ~$0.20-$0.25/query
    New system: ~$0.03-$0.04/query
    Reduction: 85% (with 1000 queries/month = savings of ~800 PLN/month)
    Scope of work
    I will perform remotely (9-10h):
    Analysis and technical plan (2-3h)
    SQL functions + configuration (2-2.5h)
    Query classifier (2h)
    Basic n8n workflow (3-3.5h)

    You will perform independently (savings of ~4-5h):

    Data migration (ready SQL script with instructions)
    Import workflow + configuration of credentials
    Testing according to the checklist
    Fine-tuning parameters

    You will receive: SQL scripts, n8n workflow JSON, step-by-step instructions, checklist, Telegram support
    Pricing
    Standard calculation: 1000-1350 PLN (9-10h × 25-30 EUR)
    Proposal: 990 PLN
    Discount of ~30% from the standard rate
    Optionally: full "turnkey" implementation +200 PLN (TeamViewer debugging, extended testing)

    If the proposal is OK, we can start with the analysis (2-3h) — you will receive a specific plan and confirmation of feasibility.
    Best regards,
    Eugeniusz

  2. 1562    7  0
    1 day135 USD

    I am among the top 5 developers in the category of "Artificial Intelligence and Machine Learning" among ~2100 specialists on the platform.
    I guarantee:
    - Fast and high-quality task execution
    - Strict adherence to deadlines
    - Regular communication throughout the entire process
    I would be happy to discuss the details of your project in private messages.
    The price is conditional.

  3. 1539    4  0   1
    3 days135 USD

    Good day. I looked at the description of the problem, a typical case.

    It seems that part of the data is either not indexed due to embeddings or simply does not appear in the search. Plus, the agent currently lacks proper selection logic, so it gets lost in the large database and does not understand where to search for what.

    I have worked with Supabase, vector search, and RAG systems. I can find out why the second part of the data is not being found. Rebuild the search logic. Make it so that Gemini connects only when there is truly no answer in the database.
    As a result, the agent will start to consistently find data and respond adequately.

    I am ready to look at your current implementation and suggest a solution.

  4. Another 2 proposals concealed
  1. 12784    4  2
    15 days1345 USD

    Hello,

    I’m very interested in helping improve your AI Agent’s search capabilities and ensure it reliably retrieves both Sejm legislation and SAOS court decisions. I have extensive experience building and optimizing backend systems with large, multi-entity databases, including Supabase/PostgreSQL, and integrating vector-based AI search workflows.

    I can implement a robust, hybrid search algorithm that accounts for multiple document types, improves relevance ranking across large datasets, and introduces clustering or entity-aware retrieval to ensure the AI Agent does not skip any source. I’m comfortable working with n8n workflows, embedding models like Google Gemini, and designing scalable solutions for high-volume, structured data.

    I’m confident I can enhance the search logic, improve result accuracy, and ensure the AI Agent fully leverages your combined dataset.

    Best regards,
    Jeo Vincent Carretas

  2. 3160    23  1   3
    5 days269 USD

    Hello, Maximilian! Understanding your situation, I propose an integrative approach to solving the problem with the AI agent. First, I will conduct a detailed audit of the existing flow in n8n and the structure of your Supabase database. Relying on my experience in system architecture design, I will quickly identify and resolve the issue with searching among "document_chunks." Additionally, I will develop an optimal clustering algorithm that will enhance the accuracy and relevance of the agent's results. I will configure the system for seamless and scalable operation. Shall we discuss the project further?

  3. Andrii Piatushka ТОВ "ЕДЛЕРС УКРАЇНА"
    2236    46  0
    1 day135 USD

    Good day. Without a real understanding of what you have done there, it is difficult to say the real deadlines and costs. Write to me in private messages, we will discuss in more detail. For now, just preliminary questions.

    Are you sure that you have two tables? Or maybe you have two databases? From the picture, nothing is clear, except that there is one table. What does the column chunk_index mean in this table?

    What is the dimensionality of the embeddings? What are the sizes of the chunks? Why sub-bases and not specialized solutions?

  4. 1 proposal concealed

Client
Maximilian D
Poland Warszawa  27  0  1
Project published
4 months 28 days back
199 views
Tags
  • Supabase
  • N8N
  • API