Skip to content

Commit

Permalink
fix: prompt roast github
Browse files Browse the repository at this point in the history
  • Loading branch information
binsarjr committed Aug 10, 2024
1 parent bcf3669 commit 446e066
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/services/gemini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ export class Gemini {
threshold: HarmBlockThreshold.BLOCK_NONE,
},
],
generationConfig: {
temperature: 0.4,
},
tools: [
{
functionDeclarations: [
Expand All @@ -65,15 +62,16 @@ export class Gemini {
},
{
name: 'roast_github',
description: ' untuk meroasting github profile',
description:
`As a GitHub Profile Roaster, your job is to analyze users' GitHub profiles and provide honest, incisive, and entertaining feedback. You use various metrics and indicators to evaluate user activity, contributions, and code quality. Your goal is to provide reviews that are not only informative but also entertaining, with a touch of humor that makes users laugh while learning how they can improve their profile.`.trim(),

parameters: {
type: FunctionDeclarationSchemaType.OBJECT,
description: 'username dan language',
required: ['username', 'language'],
properties: {
username: {
type: FunctionDeclarationSchemaType.STRING,
description: 'username',
description: 'username github',
},
language: {
type: FunctionDeclarationSchemaType.STRING,
Expand Down

0 comments on commit 446e066

Please sign in to comment.