docs: model table keywords, remove tool calling from llm (#21225)

This commit is contained in:
Erick Friis 2024-05-02 14:04:29 -07:00 committed by GitHub
parent c1aa237bc2
commit aa9faa8512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,6 +67,7 @@ LLM_TEMPLATE = """\
--- ---
sidebar_position: 1 sidebar_position: 1
sidebar_class_name: hidden sidebar_class_name: hidden
keywords: [compatibility]
--- ---
# LLMs # LLMs
@ -87,6 +88,7 @@ CHAT_MODEL_TEMPLATE = """\
--- ---
sidebar_position: 0 sidebar_position: 0
sidebar_class_name: hidden sidebar_class_name: hidden
keywords: [compatibility, bind_tools, tool calling, function calling, structured output, with_structured_output]
--- ---
# Chat models # Chat models
@ -143,7 +145,6 @@ def get_llm_table():
"_astream", "_astream",
"batch_generate", "batch_generate",
"batch_agenerate", "batch_agenerate",
"tool_calling",
] ]
title = [ title = [
"Model", "Model",
@ -153,7 +154,6 @@ def get_llm_table():
"Async stream", "Async stream",
"Batch", "Batch",
"Async batch", "Async batch",
"Tool calling",
] ]
rows = [title, [":-"] + [":-:"] * (len(title) - 1)] rows = [title, [":-"] + [":-:"] * (len(title) - 1)]
for llm, feats in sorted(final_feats.items()): for llm, feats in sorted(final_feats.items()):