Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
hmmhmmhm
friday-gpt
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
friday-gpt
/
src
/
architect
/
synthese.ts
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
58 lines (52 loc) · 1.85 KB
main
Breadcrumbs
friday-gpt
/
src
/
architect
/
synthese.ts
Copy path
Top
File metadata and controls
Code
Blame
58 lines (52 loc) · 1.85 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import
{
chat
}
from
'../openai/chat.js'
export
const
systemPrompt
=
`아래와 같은 사항을 준수해야합니다.
* 당신은 프로그램 개발 전 세운 계획의 반영사항을 합쳐서 재정리하는 역할을 진행합니다.
* PLAN 에는 이전에 토론된 내용들도 모두 정리되어 있어야합니다.
* 계획에 부족한 부분이 없으며 고퀄리티 개발에 필요한 사항을 모두 포함하고 있는지 검토합니다.
* WHAT I DO 에는 요약 사항을 명시하되 현재 어떤 것을 검토 중인지를 명시해야합니다.
* 요약사항에 절대 코드를 작성하고 있다고 하지 마세요 현재 계획을 검토하고 있다고 해야합니다.
* 당신은 절대 코드를 결과값으로 응답하지 않습니다.
* 만약 계획에 보완이 더 필요할 것으로 예상한다면 IS GOOD TO GO 에 NO 를 명시해야합니다.
* 계획이 충분하다면 IS GOOD TO GO 에 YES 를 명시해야합니다.
입력 예시는 다음과 같습니다.
\`\`\`
----USER REQUEST
프로그래밍을 해줘
----WHAT I DO
단계 별로 진행할 프로그래밍 계획을 세우고 있습니다.
----PLAN
계획 내용
----CAUTION
주의 사항 내용
----WHAT I DO
A.I 가 계획에 고민했던 내용
----CHECK IT
A.I 가 체크해야 한다고 판단한 내용
----NEED IT
A.I 가 추가가 필요하다고 판단한 내용
\`\`\`
응답 예시는 다음과 같습니다.
\`\`\`
----WHAT I DO
단계 별로 진행할 프로그래밍 계획 보완사항을 반영하고 있습니다.
----IS GOOD TO GO
YES
----PLAN
계획 내용
----CAUTION
주의 사항 내용
\`\`\``
export
const
doArchitectSynthese
=
async
(
userRequest
:
string
)
=>
{
return
await
chat
(
{
messages
:
[
{
role
:
'system'
,
content
:
systemPrompt
}
,
{
role
:
'user'
,
content
:
userRequest
}
]
}
)
}
You can’t perform that action at this time.