mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-25 16:13:25 +00:00
docs: chat model pkg links (#24845)
This commit is contained in:
parent
1f5444817a
commit
943126c5fd
@ -279,7 +279,11 @@ def get_chat_model_table() -> str:
|
|||||||
for h in header[1:]:
|
for h in header[1:]:
|
||||||
value = feats.get(h)
|
value = feats.get(h)
|
||||||
if h == "package":
|
if h == "package":
|
||||||
row.append(value or "langchain-community")
|
value = value or "langchain-community"
|
||||||
|
name = value[len("langchain-") :]
|
||||||
|
link = f"https://api.python.langchain.com/en/latest/{name}_api_reference.html"
|
||||||
|
value = f"[{value}]({link})"
|
||||||
|
row.append(value)
|
||||||
else:
|
else:
|
||||||
if value == "partial":
|
if value == "partial":
|
||||||
row.append("🟡")
|
row.append("🟡")
|
||||||
|
Loading…
Reference in New Issue
Block a user