Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi instance #376

Open
wants to merge 23 commits into
base: feature
Choose a base branch
from
Open

Support multi instance #376

wants to merge 23 commits into from

Conversation

moria97
Copy link
Collaborator

@moria97 moria97 commented Feb 13, 2025

  1. Support multi instance
  2. Remove ui and nginx images

Copy link

github-actions bot commented Feb 13, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
10205 4636 45% 40% 🟢

New Files

File Coverage Status
src/pai_rag/core/models/state.py 67% 🟢
TOTAL 67% 🟢

Modified Files

File Coverage Status
src/pai_rag/app/web/ui_constants.py 100% 🟢
src/pai_rag/core/rag_application.py 35% 🟢
src/pai_rag/core/rag_config_manager.py 57% 🟢
src/pai_rag/core/rag_index_manager.py 50% 🟢
src/pai_rag/integrations/chat_store/pai/pai_chat_store.py 83% 🟢
src/pai_rag/integrations/data_analysis/data_analysis_tool.py 42% 🟢
src/pai_rag/integrations/embeddings/pai/pai_embedding_config.py 86% 🟢
src/pai_rag/integrations/guardrail/pai_guardrail.py 37% 🟢
TOTAL 61% 🟢

updated for commit: 0d9e4ab by action🐍

@moria97 moria97 marked this pull request as ready for review February 20, 2025 18:13
@@ -95,9 +126,6 @@ def add_knowledge(
detail = f"{ex}".replace("\t", " ").replace("\n", " ")
f.write(f"{task_id}\tfailed\t{detail}\n")
raise UserInputError(f"Upload knowledge failed: {ex}")
finally:
if temp_file_dir:
os.rmdir(temp_file_dir)

def get_task_status(self, task_id: str) -> str:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的返回有问题,返回了 status, detail ,-> str有错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants