MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / embedding_by_problem

Function embedding_by_problem

apps/knowledge/task/embedding.py:140–148  ·  view source on GitHub ↗

向量话问题 @param args: 问题对象 @param model_id: 模型id @return:

(args, model_id)

Source from the content-addressed store, hash-verified

138
139
140def embedding_by_problem(args, model_id):
141 """
142 向量话问题
143 @param args: 问题对象
144 @param model_id: 模型id
145 @return:
146 """
147 embedding_model = get_embedding_model(model_id)
148 ListenerManagement.embedding_by_problem(args, embedding_model)
149
150
151def embedding_by_data_list(args: List, model_id):

Callers 1

associationMethod · 0.90

Calls 2

embedding_by_problemMethod · 0.80
get_embedding_modelFunction · 0.70

Tested by

no test coverage detected