Skip to content
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

Few shot prompting 구조 개선 #32

Open
mingi3314 opened this issue Sep 21, 2024 · 0 comments
Open

Few shot prompting 구조 개선 #32

mingi3314 opened this issue Sep 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mingi3314
Copy link
Owner

https://blog.langchain.dev/few-shot-prompting-to-improve-tool-calling-performance/

위 내용을 참고하여, 다음과 같이 few shot prompting 구조를 개선합니다.

  • as-is: examples가 one long string으로 promt에 들어감
  • to-be: system prompt와 human prompt 사이에 list of messages로 들어감

References

https://js.langchain.com/v0.2/docs/tutorials/llm_chain/

@mingi3314 mingi3314 self-assigned this Sep 21, 2024
@mingi3314 mingi3314 added the enhancement New feature or request label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant