토니의 연습장
LangChain Hub - handle 본문
https://changelog.langchain.com/announcements/manage-private-prompts-without-a-handle
💬 Manage private prompts without a handle
We’ve improved our SDK and LangSmith Prompts UI to make navigating prompts simpler. Now, only public prompts require a handle on creation. New accounts won’t...
changelog.langchain.com
위에 따르면, SDK와 LangSmith Prompts UI를 개선하여 프롬프트 탐색을 더욱 간편하게 만들었습니다. 이제 공개(Public) 프롬프트를 생성할 때만 별도의 핸들(handle)이 필요합니다. 새로운 계정은 공개 프롬프트를 만들기 전까지 LangChain Hub 핸들을 생성할 필요가 없습니다.
또한 SDK를 통해 본인의 프롬프트를 가져오거나(push/pull)할 때 더 이상 핸들을 지정할 필요가 없습니다. 예를 들어, 이제 hub.pull('prompt_name')를 사용해도 되며, 이전처럼 hub.pull('handle/prompt_name')를 사용할 필요가 없습니다.
만약, public prompt(repository로서 public 공유)를 생성하고 싶다면,
아래 1,2번까지 private/public 동일한 절차 이후 3번 이후를 추가 진행하셔야 합니다.
1. prompt 생성
2. hub로 push
'언어 AI (NLP) > LLM & RAG' 카테고리의 다른 글
LangServe example (5) | 2025.01.09 |
---|---|
cosine_similarity (2) | 2025.01.09 |
transformer, sentence-transformers, torch 호환 버전 (3) | 2024.11.15 |
fine-tuning / instruction-tuning (0) | 2024.11.13 |
openAI fine-tuning (1) | 2024.11.13 |