Skip to content

Commit

Permalink
fix(core): remove summarize content length limit
Browse files Browse the repository at this point in the history
  • Loading branch information
LarchLiu committed Jun 2, 2023
1 parent e621e14 commit ee3cf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const GITHUB_RAW_URL = 'https://raw.githubusercontent.com'
export const NOTION_API_URL = 'https://api.notion.com/v1'
export const OPENAI_CHAT_API = 'https://api.openai.com'
export const MAX_TOKEN_LENGTH = 2048
export const SUMMARIZE_PROMPTS = `Please summarize content within 300 words and then classify it to 1-5 types of classification. Classification names should be short and no explanation or description is needed.
export const SUMMARIZE_PROMPTS = `Please summarize content and then classify it to 1-5 types of classification. Classification names should be short and no explanation or description is needed.
You only speak JSON. Do not write text that isn't JSON. The JSON keys must be English word of "summary" and "categories".
Classification names used with array data.
The JSON format must be:
Expand Down

1 comment on commit ee3cf84

@vercel
Copy link

@vercel vercel bot commented on ee3cf84 Jun 2, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

star-nexus – ./

star-nexus.vercel.app
star-nexus-git-main-larchliu.vercel.app
star-nexus-larchliu.vercel.app

Please sign in to comment.