更新问题 @param problem_id: @param problem_content: @param model_id: @return:
(problem_id: str, problem_content: str, model_id)
| 232 | |
| 233 | |
| 234 | def update_problem_embedding(problem_id: str, problem_content: str, model_id): |
| 235 | """ |
| 236 | 更新问题 |
| 237 | @param problem_id: |
| 238 | @param problem_content: |
| 239 | @param model_id: |
| 240 | @return: |
| 241 | """ |
| 242 | model = get_embedding_model(model_id) |
| 243 | ListenerManagement.update_problem(UpdateProblemArgs(problem_id, problem_content, model)) |
| 244 | |
| 245 | |
| 246 | def update_embedding_knowledge_id(paragraph_id_list, target_knowledge_id): |
no test coverage detected