Skip to content

[enhancement ] improved gpt response by adding system prompt. #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikam14
Copy link

@nikam14 nikam14 commented Mar 20, 2025

Objective -
added a initial instruction to model for better response.
Why -
this way the result is enhanced.

Copy link

vercel bot commented Mar 20, 2025

@nikam14 is attempting to deploy a commit to the Greptile Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR adds a system prompt to AI generation functions in the profile widget to provide consistent instructions for AI responses.

  • Added generic system prompt "Be a friendly GitHub profile analyser" in lib/actions/ai-actions.ts which may conflict with generateRoast function's intended sarcastic tone
  • Consider creating function-specific system prompts instead of using a single generic one, particularly for specialized functions like roasting
  • Ensure the system prompt follows style guidelines in path/xyx_styleguide.md for AI interactions

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant