Skip to content

Few shot prompting 구조 개선 #32

Description

@mingi3314

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/

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions