mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 21:37:20 +08:00
看起来输出的文本占位符如下,目前解析代码是有问题的 Thought <|assistant|> Action\r ```python tool_call(action_input) ```<|observation|>
9 lines
274 B
Python
9 lines
274 B
Python
from langchain_core.pydantic_v1 import *
|
|
from pydantic.fields import FieldInfo
|
|
from pydantic.schema import model_schema
|
|
from pydantic.typing import typing
|
|
|
|
# from pydantic.v1 import *
|
|
# from pydantic.v1.fields import FieldInfo
|
|
# from pydantic.v1.schema import model_schema
|