π οΈ
Langchain Teddynote tool by teddylee777
β 40.3
π οΈ
Tool
Langchain Teddynote
by teddylee777 gh-tool--teddylee777--langchain-teddynote
Nexus Index
40.3 Top 100%
S: Semantic 50
A: Authority 0
P: Popularity 58
R: Recency 60
Q: Quality 50
Tech Context
Vital Performance 0.0%
0 DL / 30D
Python Lang
Open Source 124 Stars
1.0.0 Version
Alpha Reliability
| Entity Passport | |
| Registry ID | gh-tool--teddylee777--langchain-teddynote |
| License | Apache-2.0 |
| Provider | github |
π
Cite this tool
Academic & Research Attribution
BibTeX
@misc{gh_tool__teddylee777__langchain_teddynote,
author = {teddylee777},
title = {Langchain Teddynote Tool},
year = {2026},
howpublished = {\url{https://free2aitools.com/tool/gh-tool--teddylee777--langchain-teddynote}},
note = {Accessed via Free2AITools Knowledge Fortress}
} APA Style
teddylee777. (2026). Langchain Teddynote [Tool]. Free2AITools. https://free2aitools.com/tool/gh-tool--teddylee777--langchain-teddynote
π¬Technical Deep Dive
Full Specifications [+]βΎ
Quick Commands
π PIP Install
pip install langchain-teddynote βοΈ Nexus Index V2.0
40.3
TOP 100% SYSTEM IMPACT
Semantic (S) 50
Authority (A) 0
Popularity (P) 58
Recency (R) 60
Quality (Q) 50
π¬ Index Insight
FNI V2.0 for Langchain Teddynote: Semantic (S:50), Authority (A:0), Popularity (P:58), Recency (R:60), Quality (Q:50).
Free2AITools Nexus Index
Verification Authority
Unbiased Data
Node Refresh: VFS Live
π Specs
- Language
- Python
- License
- Apache-2.0
- Version
- 1.0.0
π¦
Usage documentation not yet indexed for this tool.
Technical Documentation
VFS Recovering Reference...
langchain-teddynote
λμ²΄μΈ νκ΅μ΄ νν 리μΌμ μ¬μ©λλ λ€μν μ νΈ νμ΄μ¬ ν¨ν€μ§.
LangChain μ μ¬μ©νλ©΄μ λΆνΈν κΈ°λ₯μ΄λ, μΆκ°μ μΈ κΈ°λ₯μ μ 곡ν©λλ€.
μ€μΉ
bash
pip install langchain-teddynote
μ¬μ©λ²
μ€νΈλ¦¬λ° μΆλ ₯
μ€νΈλ¦¬λ° μΆλ ₯μ μν stream_response ν¨μλ₯Ό μ 곡ν©λλ€.
python
from langchain_teddynote.messages import stream_response
from langchain_openai import ChatOpenAI
# κ°μ²΄ μμ±
llm = ChatOpenAI(
temperature=0.1, # μ°½μμ± (0.0 ~ 2.0)
model_name="gpt-4o", # λͺ¨λΈλͺ
)
answer = llm.stream("λνλ―Όκ΅μ μλ¦λ€μ΄ κ΄μ₯μ§ 10κ³³κ³Ό μ£Όμλ₯Ό μλ €μ£ΌμΈμ!")
# μ€νΈλ¦¬λ° μΆλ ₯λ§ νλ κ²½μ°
stream_response(answer)
# μΆλ ₯λ λ΅λ³μ λ°ν κ°μΌλ‘ λ°λ κ²½μ°
# final_answer = stream_response(answer, return_output=True)
LangSmith μΆμ
python
# LangSmith μΆμ μ μ€μ ν©λλ€. https://smith.langchain.com
# νκ²½λ³μ μ€μ μ λμ΄ μλ€κ³ κ°μ ν©λλ€.
from langchain_teddynote import logging
# νλ‘μ νΈ μ΄λ¦μ μ
λ ₯ν©λλ€.
logging.langsmith("νλ‘μ νΈλͺ
κΈ°μ
")
μΆλ ₯
text
LangSmith μΆμ μ μμν©λλ€.
[νλ‘μ νΈλͺ
]
(κΈ°μ
ν νλ‘μ νΈλͺ
)
λ©ν°λͺ¨λ¬ λͺ¨λΈ(μ΄λ―Έμ§ μ λ ₯)
python
from langchain_teddynote.models import MultiModal
from langchain_teddynote.messages import stream_response
# κ°μ²΄ μμ±
llm = ChatOpenAI(
temperature=0.1, # μ°½μμ± (0.0 ~ 2.0)
model_name="gpt-4o", # λͺ¨λΈλͺ
)
# λ©ν°λͺ¨λ¬ κ°μ²΄ μμ±
system_prompt = """λΉμ μ ν(μ¬λ¬΄μ ν) λ₯Ό ν΄μνλ κΈμ΅ AI μ΄μμ€ν΄νΈ μ
λλ€.
λΉμ μ μ무λ μ£Όμ΄μ§ ν
μ΄λΈ νμμ μ¬λ¬΄μ νλ₯Ό λ°νμΌλ‘ ν₯λ―Έλ‘μ΄ μ¬μ€μ μ 리νμ¬ μΉμ νκ² λ΅λ³νλ κ²μ
λλ€."""
user_prompt = """λΉμ μκ² μ£Όμ΄μ§ νλ νμ¬μ μ¬λ¬΄μ ν μ
λλ€. ν₯λ―Έλ‘μ΄ μ¬μ€μ μ 리νμ¬ λ΅λ³νμΈμ."""
# λ©ν°λͺ¨λ¬ κ°μ²΄ μμ±
multimodal_llm = MultiModal(
llm, system_prompt=system_prompt, user_prompt=user_prompt
)
# μν μ΄λ―Έμ§ μ£Όμ(μΉμ¬μ΄νΈλ‘ λΆν° λ°λ‘ μΈμ)
IMAGE_URL = "https://storage.googleapis.com/static.fastcampus.co.kr/prod/uploads/202212/080345-661/kwon-01.png"
# λ‘컬 PC μ μ μ₯λμ΄ μλ μ΄λ―Έμ§μ κ²½λ‘ μ
λ ₯
# IMAGE_URL = "./images/sample-image.png"
# μ΄λ―Έμ§ νμΌλ‘ λΆν° μ§μ
answer = multimodal_llm.stream(IMAGE_URL)
# μ€νΈλ¦¬λ° λ°©μμΌλ‘ κ° ν ν°μ μΆλ ₯ν©λλ€. (μ€μκ° μΆλ ₯)
stream_response(answer)
DeepL λ²μκΈ°
python
from langchain_teddynote.translate import Translator
# apiν€ μ€μ
deepl_api_key = os.getenv("DEEPL_API_KEY")
# λ²μ κ°μ²΄ μμ±(source_lang, target_lang)
translator = Translator(deepl_api_key, "EN", "KO")
# λ²μ μ€ν
translated_text = translator("hello, nice to meet you")
print(translated_text)
Kiwi ννμ λΆμκΈ°
python
from langchain_teddynote.community.kiwi_tokenizer import KiwiTokenizer
# ν ν¬λμ΄μ μ μΈ
kiwi_tokenizer = KiwiTokenizer()
sent1 = "μλ
νμΈμ. λ°κ°μ΅λλ€. λ΄ μ΄λ¦μ ν
λμ
λλ€."
sent2 = "μλ
νμΈμ© λ°κ°μ΅λλ€~^^ λ΄ μ΄λ¦μ ν
λμ
λλ€!!"
# ν ν°ν
print(kiwi_tokenizer.tokenize(sent1))
print(kiwi_tokenizer.tokenize(sent2))
Synapsoft DocuAnalyzer
python
from langchain_teddynote.document_parser import SynapsoftDocuAnalyzer
api = SynapsoftDocuAnalyzer(api_key="API_KEY λ₯Ό μ
λ ₯ν΄ μ£ΌμΈμ")
# markdown νμμΌλ‘ λ³ν(λ°ν νμ: List[str])
markdown = api.convert_to_markdown("sample.pdf")
# xml νμμΌλ‘ λ³ν(λ°ν νμ: List[str])
xml = api.convert_to_xml("sample.pdf")
# json νμμΌλ‘ λ³ν(λ°ν νμ: List[str])
json = api.convert_to_json("sample.pdf")
OpenAI Assistant V2
python
from langchain_teddynote.models import OpenAIAssistant
# RAG μμ€ν
ν둬ννΈ μ
λ ₯
_DEFAULT_RAG_INSTRUCTIONS = """You are an assistant for question-answering tasks.
Use the following pieces of retrieved context to answer the question.
If you don't know the answer, just say that you don't know.
Answer in Korean."""
# μ€μ (configs)
configs = {
"OPENAI_API_KEY": openai_api_key, # OpenAI API ν€
"instructions": _DEFAULT_RAG_INSTRUCTIONS, # RAG μμ€ν
ν둬ννΈ
"PROJECT_NAME": "PDF-RAG-TEST", # νλ‘μ νΈ μ΄λ¦(μμ λ‘κ² μ€μ )
"model_name": "gpt-4o", # μ¬μ©ν OpenAI λͺ¨λΈ μ΄λ¦(gpt-4o, gpt-4o-mini, ...)
"chunk_size": 1000, # μ²ν¬ ν¬κΈ°
"chunk_overlap": 100, # μ²ν¬ μ€λ³΅ ν¬κΈ°
}
# μΈμ€ν΄μ€ μμ±
assistant = OpenAIAssistant(configs)
# μ
λ‘λν νμΌ κ²½λ‘
data = "νμΌμ΄λ¦.pdf"
# νμΌ μ
λ‘λ ν file_id λ μ 보κ΄ν΄ λμΈμ. (λμ보λμμ λμ€μ νμΈ κ°λ₯)
file_id = assistant.upload_file(data)
# μ
λ‘λν νμΌμ ID 리μ€νΈ μμ±
file_ids = [file_id]
# μλ‘μ΄ μ΄μμ€ν΄νΈ μμ± λ° ID λ°κΈ°
assistant_id, vector_id = assistant.create_new_assistant(file_ids)
# μ΄μμ€ν΄νΈ μ€μ
assistant.setup_assistant(assistant_id)
# λ²‘ν° μ€ν μ΄ μ€μ
assistant.setup_vectorstore(vector_id)
μ€νΈλ¦¬λ° μΆλ ₯
python
for token in assistant.stream("μΌμ±μ μκ° κ°λ°ν μμ±ν AIμ μ΄λ¦μ?"):
print(token, end="", flush=True)
νΉμ
python
from langchain_teddynote.messages import stream_response
stream_response(assistant.stream("μ΄μ λ΅λ³μ μμ΄λ‘"))
μΌλ° μΆλ ₯
python
# μ§λ¬Έ
print(assistant.invoke("μΌμ±μ μκ° κ°λ°ν μμ±ν AIμ μ΄λ¦μ?"))
λν λͺ©λ‘μ μ‘°ν
python
# λν λͺ©λ‘ μ‘°ν
assistant.list_chat_history()
λν μ΄κΈ°ν
python
# λν μ΄κΈ°ν
assistant.clear_chat_history()
νν 리μΌ
- Pinecone 컀μ€ν ꡬν(νκΈ ννμ λΆμκΈ°)
- νκΈ ννμ λΆμκΈ°(Kiwi)κ° μ μ©λ BM25 Retriever
π Quick Start
bash
pip install langchain-teddynote
Social Proof
GitHub Repository
124Stars
π Daily sync (03:00 UTC)
AI Summary: Based on GitHub metadata. Not a recommendation.
π‘οΈ Tool Transparency Report
Technical metadata sourced from upstream repositories.
Open Metadata
π Identity & Source
- id
- gh-tool--teddylee777--langchain-teddynote
- slug
- teddylee777--langchain-teddynote
- source
- github
- author
- teddylee777
- license
- Apache-2.0
- tags
- langchain, rag, python
βοΈ Technical Specs
- architecture
- null
- params billions
- null
- context length
- null
- pipeline tag
- other
π Engagement & Metrics
- downloads
- 0
- stars
- 124
- forks
- 0
- github stars
- 124
Data indexed from public sources. Updated daily.