45 matches across 1 files for func main path:libs/partners/huggingface/langchain_huggingface/chat_models/huggingface.py
snippet_mode: auto · sorted by relevance
libs/partners/huggingface/langchain_huggingface/chat_models/huggingface.py PYTHON 45 matches · showing 5 view file →
35 ChatMessage,
36 ChatMessageChunk,
37 FunctionMessage,
38 FunctionMessageChunk,
39 HumanMessage,
· · ·
38 FunctionMessageChunk,
39 HumanMessage,
40 HumanMessageChunk,
· · ·
62from langchain_core.runnables import Runnable, RunnableMap, RunnablePassthrough
63from langchain_core.tools import BaseTool
64from langchain_core.utils.function_calling import (
65 convert_to_json_schema,
66 convert_to_openai_tool,
· · ·
101def _lc_tool_call_to_hf_tool_call(tool_call: ToolCall) -> dict:
102 return {
103 "type": "function",
104 "id": tool_call["id"],
105 "function": {
· · ·
105 "function": {
106 "name": tool_call["name"],
107 "arguments": json.dumps(tool_call["args"], ensure_ascii=False),
+ 40 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.