Skip to content

Commit

Permalink
Merge branch 'langgenius:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie2046 authored Apr 10, 2024
2 parents 2083fc3 + 0f897bc commit 7a8873d
Show file tree
Hide file tree
Showing 47 changed files with 3,295 additions and 1,089 deletions.
285 changes: 181 additions & 104 deletions README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions api/core/app/apps/chat/app_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ def run(self, application_generate_entity: ChatAppGenerateEntity,

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,
Expand Down
2 changes: 2 additions & 0 deletions api/core/app/apps/completion/app_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def run(self, application_generate_entity: CompletionAppGenerateEntity,

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=dataset_config,
Expand Down
59 changes: 0 additions & 59 deletions api/core/rag/retrieval/agent/fake_llm.py

This file was deleted.

46 changes: 0 additions & 46 deletions api/core/rag/retrieval/agent/llm_chain.py

This file was deleted.

179 changes: 0 additions & 179 deletions api/core/rag/retrieval/agent/multi_dataset_router_agent.py

This file was deleted.

Empty file.
Loading

0 comments on commit 7a8873d

Please sign in to comment.