Remove langchain dataset retrival agent logic (#3311)
This commit is contained in:
parent
8cefa6b82e
commit
b6de97ad53
14 changed files with 341 additions and 966 deletions
|
|
@ -156,6 +156,8 @@ class ChatAppRunner(AppRunner):
|
|||
|
||||
dataset_retrieval = DatasetRetrieval()
|
||||
context = dataset_retrieval.retrieve(
|
||||
app_id=app_record.id,
|
||||
user_id=application_generate_entity.user_id,
|
||||
tenant_id=app_record.tenant_id,
|
||||
model_config=application_generate_entity.model_config,
|
||||
config=app_config.dataset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue