mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 15:38:27 +08:00
update api and webui:
1. add download_doc to api 2. return local path or http url in kowledge_base_chat depends on no_remote_api 3. change assistant avater in webui
This commit is contained in:
parent
087bb37e08
commit
8477adfa33
@ -1,4 +1,4 @@
|
|||||||
from fastapi import Body
|
from fastapi import Body, Request
|
||||||
from fastapi.responses import StreamingResponse
|
from fastapi.responses import StreamingResponse
|
||||||
from configs.model_config import (llm_model_dict, LLM_MODEL, PROMPT_TEMPLATE,
|
from configs.model_config import (llm_model_dict, LLM_MODEL, PROMPT_TEMPLATE,
|
||||||
VECTOR_SEARCH_TOP_K)
|
VECTOR_SEARCH_TOP_K)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user