jacob-ai-bot / jacob

Just Another Coding Bot
https://jacb.ai
Apache License 2.0
131 stars 20 forks source link

JACoB PR for Issue Create a Function to Generate a Custom AI System Prompt from Project-Level Research #380

Closed jacob-ai-bot[bot] closed 5 days ago

jacob-ai-bot[bot] commented 5 days ago

Summary:

Description

We need to develop a new function that generates a custom system prompt for our AI code generator, tailored to specific use cases based on the project's research data. This function should:

The goal is to transform the existing research into a structured prompt that the AI can use to create code that meets our specific needs.

For clarity, please include an example within the function's documentation to illustrate how the research is converted into the prompt format.

Note: At this stage, the function should be created and adequately documented but not integrated or wired into other parts of the application.

Expected Outcome

Plan:

Step 1: Edit /src/server/utils/research.ts

Task: Add function to generate custom AI system prompt from project-level research

Instructions: In the file /src/server/utils/research.ts, create a new function named generateCustomAISystemPrompt. This function should:

Additionally, include comprehensive documentation for the function:

Exit Criteria: The generateCustomAISystemPrompt function exists in /src/server/utils/research.ts, accepts project-level research data as input, processes it into a detailed system prompt, and includes documentation with an example demonstrating the prompt structure.

jacob-ai-bot[bot] commented 5 days ago

Hello human! 👋

This PR was created by JACoB to address the issue Create a Function to Generate a Custom AI System Prompt from Project-Level Research

Next Steps

  1. Please review the PR carefully. Auto-generated code can and will contain subtle bugs and mistakes.

  2. If you identify code that needs to be changed, please reject the PR with a specific reason. Be as detailed as possible in your comments. JACoB will take these comments, make changes to the code and push up changes. Please note that this process will take a few minutes.

  3. Once the code looks good, approve the PR and merge the code.