Add langchain imports and format error detail message
- Import new modules for langchain functionality - Format error detail message for better readability and organization
This commit is contained in:
parent
11cece92b8
commit
38da799224
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ from fastapi import HTTPException
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
# Used to get the base_classes list
|
# Used to get the base_classes list
|
||||||
|
from langchain.chains import ConversationChain # noqa: F401
|
||||||
|
from langchain.llms.base import BaseLLM # noqa: F401
|
||||||
|
from langchain.tools import Tool # noqa: F401
|
||||||
|
|
||||||
|
|
||||||
def get_type_list():
|
def get_type_list():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue