SYMBOL INDEX (5162 symbols across 559 files) FILE: cookbooks/live_broadcast_material/2024_05_16/chatbot.py class Chatbot (line 34) | class Chatbot: method __init__ (line 35) | def __init__(self): method run (line 41) | def run(self): method record_audio (line 72) | def record_audio(self, path): method run_tts_and_play_audio (line 108) | def run_tts_and_play_audio(self, text: str): method run_asr (line 121) | def run_asr(self, audio_path: str): method run_agent (line 129) | def run_agent(self, query): FILE: cookbooks/live_broadcast_material/2024_05_16/two_agent.py class IdiomSolitaire (line 21) | class IdiomSolitaire: method __init__ (line 22) | def __init__(self, real_player, app_id1, app_id2): method run (line 27) | def run(self): function main1 (line 54) | def main1(): function main2 (line 61) | def main2(): FILE: docs/Tools/MarkdownSh/markdown2rst.py function parse_options (line 90) | def parse_options(): class RestBlockGrammar (line 95) | class RestBlockGrammar(mistune.BlockGrammar): class RestBlockLexer (line 108) | class RestBlockLexer(mistune.BlockLexer): method parse_directive (line 117) | def parse_directive(self, m): method parse_oneline_directive (line 124) | def parse_oneline_directive(self, m): method parse_rest_code_block (line 132) | def parse_rest_code_block(self, m): class RestInlineGrammar (line 137) | class RestInlineGrammar(mistune.InlineGrammar): method no_underscore_emphasis (line 155) | def no_underscore_emphasis(self): class RestInlineLexer (line 165) | class RestInlineLexer(mistune.InlineLexer): method __init__ (line 175) | def __init__(self, *args, **kwargs): method output_double_emphasis (line 192) | def output_double_emphasis(self, m): method output_emphasis (line 198) | def output_emphasis(self, m): method output_image_link (line 204) | def output_image_link(self, m): method output_rest_role (line 209) | def output_rest_role(self, m): method output_rest_link (line 213) | def output_rest_link(self, m): method output_inline_math (line 217) | def output_inline_math(self, m): method output_eol_literal_marker (line 221) | def output_eol_literal_marker(self, m): class RestRenderer (line 227) | class RestRenderer(mistune.Renderer): method __init__ (line 242) | def __init__(self, *args, **kwargs): method _indent_block (line 253) | def _indent_block(self, block): method _raw_html (line 257) | def _raw_html(self, html): method block_code (line 261) | def block_code(self, code, lang=None): method block_quote (line 273) | def block_quote(self, text): method block_html (line 278) | def block_html(self, html): method header (line 285) | def header(self, text, level, raw=None): method hrule (line 295) | def hrule(self): method list (line 299) | def list(self, body, ordered=True): method list_item (line 313) | def list_item(self, text): method paragraph (line 317) | def paragraph(self, text): method table (line 321) | def table(self, header, body): method table_row (line 336) | def table_row(self, content): method table_cell (line 350) | def table_cell(self, content, **flags): method double_emphasis (line 359) | def double_emphasis(self, text): method emphasis (line 366) | def emphasis(self, text): method codespan (line 373) | def codespan(self, text): method linebreak (line 387) | def linebreak(self): method strikethrough (line 393) | def strikethrough(self, text): method text (line 400) | def text(self, text): method autolink (line 407) | def autolink(self, link, is_email=False): method link (line 415) | def link(self, link, title, text): method image (line 457) | def image(self, src, title, text): method inline_html (line 474) | def inline_html(self, html): method newline (line 481) | def newline(self): method footnote_ref (line 485) | def footnote_ref(self, key, index): method footnote_item (line 493) | def footnote_item(self, key, text): method footnotes (line 501) | def footnotes(self, text): method image_link (line 513) | def image_link(self, url, target, alt): method rest_role (line 523) | def rest_role(self, text): method rest_link (line 527) | def rest_link(self, text): method inline_math (line 531) | def inline_math(self, math): method eol_literal_marker (line 536) | def eol_literal_marker(self, marker): method directive (line 540) | def directive(self, text): method rest_code_block (line 544) | def rest_code_block(self): class M2R (line 549) | class M2R(mistune.Markdown): method __init__ (line 552) | def __init__(self, method parse (line 562) | def parse(self, text): method output_directive (line 567) | def output_directive(self): method output_rest_code_block (line 571) | def output_rest_code_block(self): method post_process (line 575) | def post_process(self, text): class M2RParser (line 586) | class M2RParser(rst.Parser, object): method parse (line 591) | def parse(self, inputstrings, document): class MdInclude (line 605) | class MdInclude(rst.Directive): method run (line 618) | def run(self): function setup (line 678) | def setup(app): function convert (line 695) | def convert(text, **kwargs): function parse_from_file (line 700) | def parse_from_file(file, encoding='utf-8', **kwargs): function save_to_file (line 710) | def save_to_file(target, src, encoding='utf-8', **kwargs): function main (line 723) | def main(): FILE: docs/Tools/MarkdownSh/markdown_parse.py function parse_markdown (line 81) | def parse_markdown(markdown): function read_markdown (line 149) | def read_markdown(file_path): function check_parse_result (line 155) | def check_parse_result(result): function parse_file (line 171) | def parse_file(file_path): FILE: docs/Tools/SphinxSh/get_components_md.py function find_readme_files (line 3) | def find_readme_files(base_path): function extract_first_line (line 11) | def extract_first_line(readme_path): function update_mkdocs_yml (line 22) | def update_mkdocs_yml(results, mkdocs_path='../../../mkdocs.yml'): function main (line 55) | def main(): FILE: docs/Tools/SphinxSh/update_lib.py function mv_new_md (line 3) | def mv_new_md(input_filename, output_filename): function process_line_for_assistant (line 20) | def process_line_for_assistant(line): function process_line_for_components (line 53) | def process_line_for_components(line): function process_line_for_console (line 81) | def process_line_for_console(line): function process_file_for_assistant (line 112) | def process_file_for_assistant(input_filename, output_filename): function process_file_for_components (line 139) | def process_file_for_components(input_filename, output_filename): function process_file_for_console (line 167) | def process_file_for_console(input_filename, output_filename): FILE: docs/Tools/SphinxSh/update_rst.py function process_rst_file (line 3) | def process_rst_file(filepath): function main (line 49) | def main(): FILE: go/appbuilder/agent_builder.go function NewAgentBuilder (line 32) | func NewAgentBuilder(appID string, config *SDKConfig) (*AgentBuilder, er... type AgentBuilder (line 46) | type AgentBuilder struct method CreateConversation (line 52) | func (t *AgentBuilder) CreateConversation() (string, error) { method UploadLocalFile (line 91) | func (t *AgentBuilder) UploadLocalFile(conversationID string, filePath... method Run (line 143) | func (t *AgentBuilder) Run(conversationID string, query string, fileID... FILE: go/appbuilder/agent_builder_data.go method transform (line 25) | func (t *AgentBuilderAnswer) transform(inp *AgentBuilderRawResponse) { type AgentBuilderIterator (line 48) | type AgentBuilderIterator interface type AgentBuilderStreamIterator (line 53) | type AgentBuilderStreamIterator struct method Next (line 59) | func (t *AgentBuilderStreamIterator) Next() (*AgentBuilderAnswer, erro... type AgentBuilderOnceIterator (line 85) | type AgentBuilderOnceIterator struct method Next (line 90) | func (t *AgentBuilderOnceIterator) Next() (*AgentBuilderAnswer, error) { FILE: go/appbuilder/agent_builder_data_test.go function TestAgentBuilderAnswerTransformWithInvalidContentType (line 12) | func TestAgentBuilderAnswerTransformWithInvalidContentType(t *testing.T) { function TestAgentBuilderStreamIterator_Next_ReadError (line 34) | func TestAgentBuilderStreamIterator_Next_ReadError(t *testing.T) { function TestAgentBuilderStreamIterator_Next_JSONUnmarshalError (line 55) | func TestAgentBuilderStreamIterator_Next_JSONUnmarshalError(t *testing.T) { function TestAgentBuilderStreamIterator_Next_NonSSEFormat (line 76) | func TestAgentBuilderStreamIterator_Next_NonSSEFormat(t *testing.T) { function TestAgentBuilderStreamIterator_Next_ValidSSE (line 94) | func TestAgentBuilderStreamIterator_Next_ValidSSE(t *testing.T) { FILE: go/appbuilder/agent_builder_test.go type MockHTTPClient (line 29) | type MockHTTPClient struct method Do (line 31) | func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) { type FaultyHTTPClient (line 39) | type FaultyHTTPClient struct method Do (line 41) | func (f *FaultyHTTPClient) Do(req *http.Request) (*http.Response, erro... type FaultyBody (line 49) | type FaultyBody struct method Read (line 51) | func (f *FaultyBody) Read(p []byte) (n int, err error) { method Close (line 55) | func (f *FaultyBody) Close() error { type InvalidJSONHTTPClient (line 60) | type InvalidJSONHTTPClient struct method Do (line 62) | func (m *InvalidJSONHTTPClient) Do(req *http.Request) (*http.Response,... type MissingIDHTTPClient (line 70) | type MissingIDHTTPClient struct method Do (line 72) | func (m *MissingIDHTTPClient) Do(req *http.Request) (*http.Response, e... function TestNewAgentBuilderError (line 78) | func TestNewAgentBuilderError(t *testing.T) { function TestNewAgentBuilderUploadLocalFileError1 (line 149) | func TestNewAgentBuilderUploadLocalFileError1(t *testing.T) { function TestNewAgentBuilderUploadLocalFileError2 (line 184) | func TestNewAgentBuilderUploadLocalFileError2(t *testing.T) { function TestNewAgentBuilderRunError (line 225) | func TestNewAgentBuilderRunError(t *testing.T) { function TestNewAgentBuilder (line 261) | func TestNewAgentBuilder(t *testing.T) { FILE: go/appbuilder/app_builder_client.go function GetAppList (line 35) | func GetAppList(req GetAppListRequest, config *SDKConfig) ([]App, error) { function DescribeApps (line 91) | func DescribeApps(req DescribeAppsRequest, config *SDKConfig) (DescribeA... function DescribeApp (line 130) | func DescribeApp(appID string, config *SDKConfig) (DescribeAppResponse, ... function NewAppBuilderClient (line 169) | func NewAppBuilderClient(appID string, config *SDKConfig) (*AppBuilderCl... type AppBuilderClient (line 183) | type AppBuilderClient struct method GetSdkConfig (line 190) | func (t *AppBuilderClient) GetSdkConfig() *SDKConfig { method GetClient (line 194) | func (t *AppBuilderClient) GetClient() HTTPClient { method CreateConversation (line 202) | func (t *AppBuilderClient) CreateConversation() (string, error) { method UploadLocalFile (line 241) | func (t *AppBuilderClient) UploadLocalFile(conversationID string, file... method UploadFile (line 293) | func (t *AppBuilderClient) UploadFile(req *AppBuilderClientUploadFileR... method Run (line 364) | func (t *AppBuilderClient) Run(param ...interface{}) (AppBuilderClient... method buildAppBuilderClientRunRequest (line 420) | func (t *AppBuilderClient) buildAppBuilderClientRunRequest(param ...in... method Feedback (line 452) | func (t *AppBuilderClient) Feedback(req AppBuilderClientFeedbackReques... method RunWithToolCall (line 490) | func (t *AppBuilderClient) RunWithToolCall(req AppBuilderClientRunRequ... type HTTPClient (line 198) | type HTTPClient interface FILE: go/appbuilder/app_builder_client_data.go constant CodeContentType (line 26) | CodeContentType = "code" constant TextContentType (line 27) | TextContentType = "text" constant ImageContentType (line 28) | ImageContentType = "image" constant RAGContentType (line 29) | RAGContentType = "rag" constant FunctionCallContentType (line 30) | FunctionCallContentType = "function_call" constant AudioContentType (line 31) | AudioContentType = "audio" constant VideoContentType (line 32) | VideoContentType = "video" constant StatusContentType (line 33) | StatusContentType = "status" constant ChatflowInterruptContentType (line 34) | ChatflowInterruptContentType = "chatflow_interrupt" constant PublishMessageContentType (line 35) | PublishMessageContentType = "publish_message" constant JsonContentType (line 36) | JsonContentType = "json" constant ChatReasoningContentType (line 37) | ChatReasoningContentType = "chat_reasoning" constant ChatflowEventType (line 41) | ChatflowEventType = "chatflow" constant FollowUpQueryEventType (line 42) | FollowUpQueryEventType = "FollowUpQuery" type AppBuilderClientRunRequest (line 60) | type AppBuilderClientRunRequest struct type AppBuilderClientUploadFileRequest (line 76) | type AppBuilderClientUploadFileRequest struct type AppBuilderClientFeedbackRequest (line 83) | type AppBuilderClientFeedbackRequest struct type Tool (line 92) | type Tool struct type Function (line 97) | type Function struct type ToolOutput (line 103) | type ToolOutput struct type ToolChoice (line 108) | type ToolChoice struct type ToolChoiceFunction (line 113) | type ToolChoiceFunction struct type Action (line 118) | type Action struct type ActionParamters (line 123) | type ActionParamters struct type ActionInterruptEvent (line 127) | type ActionInterruptEvent struct type CustomMetadata (line 132) | type CustomMetadata struct function NewResumeAction (line 136) | func NewResumeAction(eventId string) *Action { function NewAction (line 140) | func NewAction(actionType string, eventId string, eventType string) *Act... type AgentBuilderRawResponse (line 152) | type AgentBuilderRawResponse struct type RawEventDetail (line 162) | type RawEventDetail struct type Usage (line 174) | type Usage struct type AgentBuilderAnswer (line 181) | type AgentBuilderAnswer struct type Event (line 186) | type Event struct type ToolCall (line 197) | type ToolCall struct type FunctionCallOption (line 203) | type FunctionCallOption struct type TextDetail (line 208) | type TextDetail struct type CodeDetail (line 212) | type CodeDetail struct type RAGDetail (line 218) | type RAGDetail struct type Reference (line 223) | type Reference struct type FunctionCallDetail (line 235) | type FunctionCallDetail struct type ImageDetail (line 242) | type ImageDetail struct type AudioDetail (line 246) | type AudioDetail struct type VideoDetail (line 250) | type VideoDetail struct type StatusDetail (line 254) | type StatusDetail struct type ChatflowInterruptDetail (line 256) | type ChatflowInterruptDetail struct type PublishMessageDetail (line 261) | type PublishMessageDetail struct type ChatReasoningDetail (line 266) | type ChatReasoningDetail struct type JsonDetail (line 270) | type JsonDetail struct type FollowUpQueries (line 274) | type FollowUpQueries struct type DefaultDetail (line 278) | type DefaultDetail struct type AppBuilderClientRawResponse (line 287) | type AppBuilderClientRawResponse struct type GetAppListRequest (line 299) | type GetAppListRequest struct type GetAppListResponse (line 305) | type GetAppListResponse struct type DescribeAppsRequest (line 312) | type DescribeAppsRequest struct type DescribeAppsResponse (line 317) | type DescribeAppsResponse struct type DescribeAppRequest (line 326) | type DescribeAppRequest struct type DescribeAppResponse (line 330) | type DescribeAppResponse struct type AppFollowUpQueries (line 344) | type AppFollowUpQueries struct type Component (line 349) | type Component struct type KnowledgeBaseConfig (line 354) | type KnowledgeBaseConfig struct type AppKnowledgeBase (line 358) | type AppKnowledgeBase struct type RetrievalConfig (line 363) | type RetrievalConfig struct type ModelConfig (line 370) | type ModelConfig struct type PlanConfig (line 374) | type PlanConfig struct type ChatConfig (line 380) | type ChatConfig struct type ModelParams (line 386) | type ModelParams struct type Background (line 390) | type Background struct type MobileConfig (line 396) | type MobileConfig struct type PCConfig (line 402) | type PCConfig struct type App (line 409) | type App struct type AppBuilderClientAnswer (line 418) | type AppBuilderClientAnswer struct method transform (line 427) | func (t *AppBuilderClientAnswer) transform(inp *AppBuilderClientRawRes... type AppBuilderClientIterator (line 458) | type AppBuilderClientIterator interface type AppBuilderClientStreamIterator (line 463) | type AppBuilderClientStreamIterator struct method Next (line 469) | func (t *AppBuilderClientStreamIterator) Next() (*AppBuilderClientAnsw... type AppBuilderClientOnceIterator (line 495) | type AppBuilderClientOnceIterator struct method Next (line 500) | func (t *AppBuilderClientOnceIterator) Next() (*AppBuilderClientAnswer... FILE: go/appbuilder/app_builder_client_test.go function TestNewAppBuilderClientError (line 26) | func TestNewAppBuilderClientError(t *testing.T) { function TestClientUploadLocalFile (line 147) | func TestClientUploadLocalFile(t *testing.T) { function TestClientRun (line 211) | func TestClientRun(t *testing.T) { function TestClientRunWithToolCallError (line 255) | func TestClientRunWithToolCallError(t *testing.T) { function TestDescribeApp (line 349) | func TestDescribeApp(t *testing.T) { function TestNewAppBuilderClient (line 379) | func TestNewAppBuilderClient(t *testing.T) { function TestAppBuilderClientRunWithToolCall (line 468) | func TestAppBuilderClientRunWithToolCall(t *testing.T) { function TestAppBuilderClientRunToolChoice (line 582) | func TestAppBuilderClientRunToolChoice(t *testing.T) { function TestAppBuilderClientRunChatflow (line 651) | func TestAppBuilderClientRunChatflow(t *testing.T) { function TestAppbuilderClientFeedback (line 806) | func TestAppbuilderClientFeedback(t *testing.T) { function TestAppBuilderClientUploadFile (line 872) | func TestAppBuilderClientUploadFile(t *testing.T) { function TestAppBuilderClientRunParameters (line 927) | func TestAppBuilderClientRunParameters(t *testing.T) { function TestAppBuilderClientRunCustomMetadata (line 967) | func TestAppBuilderClientRunCustomMetadata(t *testing.T) { FILE: go/appbuilder/component_client.go type ComponentClient (line 28) | type ComponentClient struct method Run (line 44) | func (t *ComponentClient) Run(component, version, action string, strea... function NewComponentClient (line 33) | func NewComponentClient(config *SDKConfig) (*ComponentClient, error) { FILE: go/appbuilder/component_client_data.go constant SysOriginQuery (line 25) | SysOriginQuery = "_sys_origin_query" constant SysFileUrls (line 26) | SysFileUrls = "_sys_file_urls" constant SysConversationID (line 27) | SysConversationID = "_sys_conversation_id" constant SysEndUserID (line 28) | SysEndUserID = "_sys_end_user_id" constant SysChatHistory (line 29) | SysChatHistory = "_sys_chat_history" type ComponentRunRequest (line 32) | type ComponentRunRequest struct type Message (line 37) | type Message struct type ComponentRunResponse (line 42) | type ComponentRunResponse struct type Content (line 56) | type Content struct type ComponentEvent (line 67) | type ComponentEvent struct type Text (line 76) | type Text struct type Code (line 80) | type Code struct type Files (line 84) | type Files struct type Urls (line 89) | type Urls struct type OralText (line 93) | type OralText struct type References (line 97) | type References struct type Image (line 106) | type Image struct type Chart (line 112) | type Chart struct type Audio (line 117) | type Audio struct type PlanStep (line 123) | type PlanStep struct type Plan (line 129) | type Plan struct type FunctionCall (line 134) | type FunctionCall struct type Json (line 140) | type Json struct type ComponentClientIterator (line 144) | type ComponentClientIterator interface type ComponentClientStreamIterator (line 149) | type ComponentClientStreamIterator struct method Next (line 155) | func (t *ComponentClientStreamIterator) Next() (*ComponentRunResponse,... type ComponentClientOnceIterator (line 179) | type ComponentClientOnceIterator struct method Next (line 184) | func (t *ComponentClientOnceIterator) Next() (*ComponentRunResponse, e... FILE: go/appbuilder/component_client_test.go function TestComponentClient (line 24) | func TestComponentClient(t *testing.T) { function TestComponentClientHeader (line 91) | func TestComponentClientHeader(t *testing.T) { FILE: go/appbuilder/config.go constant GatewayURL (line 31) | GatewayURL = "GATEWAY_URL" constant GatewayURLV2 (line 32) | GatewayURLV2 = "GATEWAY_URL_V2" constant SecretKey (line 33) | SecretKey = "APPBUILDER_TOKEN" constant ConsoleOpenAPIVersion (line 34) | ConsoleOpenAPIVersion = "CONSOLE_OPENAPI_VERSION" constant ConsoleOpenAPIPrefix (line 35) | ConsoleOpenAPIPrefix = "CONSOLE_OPENAPI_PREFIX" constant SecretKeyPrefix (line 36) | SecretKeyPrefix = "SECRET_KEY_PREFIX" constant DatasetID (line 37) | DatasetID = "DATASET_ID" constant SecretKeyV3 (line 38) | SecretKeyV3 = "APPBUILDER_TOKEN_V3" constant DatasetIDV3 (line 39) | DatasetIDV3 = "DATASET_ID_V3" constant DocumentIDV3 (line 40) | DocumentIDV3 = "DOCUMENT_ID_V3" constant DefaultSecretKeyPrefix (line 42) | DefaultSecretKeyPrefix = "Bearer" constant DefaultGatewayURL (line 43) | DefaultGatewayURL = "https://appbuilder.baidu.com" constant DefaultGatewayURLV2 (line 44) | DefaultGatewayURLV2 = "https://qianfan.baidubce.com" constant DefaultConsoleOpenAPIVersion (line 45) | DefaultConsoleOpenAPIVersion = "/v2" constant DefaultConsoleOpenAPIPrefix (line 46) | DefaultConsoleOpenAPIPrefix = "" type SDKConfig (line 49) | type SDKConfig struct method AuthHeader (line 108) | func (t *SDKConfig) AuthHeader() http.Header { method AuthHeaderV2 (line 116) | func (t *SDKConfig) AuthHeaderV2() http.Header { method authHeader (line 123) | func (t *SDKConfig) authHeader() http.Header { method ServiceURL (line 135) | func (t *SDKConfig) ServiceURL(suffix string) (*url.URL, error) { method ServiceURLV2 (line 159) | func (t *SDKConfig) ServiceURLV2(suffix string) (*url.URL, error) { method formatURL (line 164) | func (t *SDKConfig) formatURL(absolutePath, suffix string) (*url.URL, ... method BuildCurlCommand (line 191) | func (t *SDKConfig) BuildCurlCommand(req *http.Request) { function NewSDKConfig (line 59) | func NewSDKConfig(gatewayURL, secretKey string) (*SDKConfig, error) { function getEnvWithDefault (line 96) | func getEnvWithDefault(key, paramValue, defaultValue string) string { type nopCloser (line 181) | type nopCloser struct method Close (line 185) | func (nopCloser) Close() error { return nil } function NopCloser (line 187) | func NopCloser(r io.Reader) io.ReadCloser { FILE: go/appbuilder/dataset.go function NewDataset (line 31) | func NewDataset(config *SDKConfig) (*Dataset, error) { type Dataset (line 42) | type Dataset struct method Create (line 47) | func (t *Dataset) Create(name string) (string, error) { method BatchUploadLocaleFile (line 85) | func (t *Dataset) BatchUploadLocaleFile(datasetID string, localFilePat... method UploadLocalFile (line 101) | func (t *Dataset) UploadLocalFile(datasetID string, localFilePath stri... method uploadLocalFile (line 113) | func (t *Dataset) uploadLocalFile(localFilePath string) (string, error) { method addFileToDataset (line 161) | func (t *Dataset) addFileToDataset(datasetID string, fileID []string) ... method ListDocument (line 200) | func (t *Dataset) ListDocument(datasetID string, page int, limit int, ... method DeleteDocument (line 243) | func (t *Dataset) DeleteDocument(datasetID, documentID string) error { FILE: go/appbuilder/dataset_data.go type DatasetResponse (line 17) | type DatasetResponse struct type DatasetBindResponse (line 23) | type DatasetBindResponse struct type DatasetBindResult (line 29) | type DatasetBindResult struct type ListDocumentResponse (line 33) | type ListDocumentResponse struct type ListDocumentResponseResult (line 39) | type ListDocumentResponseResult struct type FileInfo (line 47) | type FileInfo struct FILE: go/appbuilder/dataset_test.go function TestDatasetError (line 24) | func TestDatasetError(t *testing.T) { FILE: go/appbuilder/knowledge_base.go function NewKnowledgeBase (line 34) | func NewKnowledgeBase(config *SDKConfig) (*KnowledgeBase, error) { function NewKnowledgeBaseWithKnowledgeBaseID (line 45) | func NewKnowledgeBaseWithKnowledgeBaseID(knowledgeBaseID string, config ... type KnowledgeBase (line 56) | type KnowledgeBase struct method CreateDocument (line 62) | func (t *KnowledgeBase) CreateDocument(req CreateDocumentRequest) (Cre... method DeleteDocument (line 103) | func (t *KnowledgeBase) DeleteDocument(req DeleteDocumentRequest) error { method GetDocumentList (line 149) | func (t *KnowledgeBase) GetDocumentList(req GetDocumentListRequest) (*... method DescribeDocuments (line 204) | func (t *KnowledgeBase) DescribeDocuments(req DescribeDocumentsRequest... method UploadFile (line 245) | func (t *KnowledgeBase) UploadFile(localFilePath string) (string, erro... method CreateKnowledgeBase (line 293) | func (t *KnowledgeBase) CreateKnowledgeBase(req KnowledgeBaseDetail) (... method GetKnowledgeBaseDetail (line 331) | func (t *KnowledgeBase) GetKnowledgeBaseDetail(knowledgeBaseID string)... method GetKnowledgeBaseList (line 368) | func (t *KnowledgeBase) GetKnowledgeBaseList(req GetKnowledgeBaseListR... method ModifyKnowledgeBase (line 403) | func (t *KnowledgeBase) ModifyKnowledgeBase(req ModifyKnowlegeBaseRequ... method DeleteKnowledgeBase (line 437) | func (t *KnowledgeBase) DeleteKnowledgeBase(knowledgeBaseID string) er... method DeleteKnowledgeBaseWithReq (line 441) | func (t *KnowledgeBase) DeleteKnowledgeBaseWithReq(req DeleteKnowlegeB... method deleteKnowledgeBase (line 445) | func (t *KnowledgeBase) deleteKnowledgeBase(knowledgeBaseID string, cl... method CreateDocuments (line 482) | func (t *KnowledgeBase) CreateDocuments(req CreateDocumentsRequest) er... method CreateDocumentsWithResp (line 516) | func (t *KnowledgeBase) CreateDocumentsWithResp(req CreateDocumentsReq... method UploadDocuments (line 553) | func (t *KnowledgeBase) UploadDocuments(localFilePath string, req Crea... method UploadDocumentsWithResp (line 610) | func (t *KnowledgeBase) UploadDocumentsWithResp(localFilePath string, ... method CreateChunk (line 670) | func (t *KnowledgeBase) CreateChunk(req CreateChunkRequest) (string, e... method ModifyChunk (line 713) | func (t *KnowledgeBase) ModifyChunk(req ModifyChunkRequest) error { method DeleteChunk (line 756) | func (t *KnowledgeBase) DeleteChunk(chunkID string) error { method DeleteChunkWithReq (line 760) | func (t *KnowledgeBase) DeleteChunkWithReq(req DeleteChunkRequest) err... method deleteChunk (line 764) | func (t *KnowledgeBase) deleteChunk(chunkID string, clientToken string... method DescribeChunk (line 810) | func (t *KnowledgeBase) DescribeChunk(chunkID string) (DescribeChunkRe... method DescribeChunks (line 853) | func (t *KnowledgeBase) DescribeChunks(req DescribeChunksRequest) (Des... method QueryKnowledgeBase (line 893) | func (t *KnowledgeBase) QueryKnowledgeBase(req QueryKnowledgeBaseReque... FILE: go/appbuilder/knowledge_base_data.go type QueryType (line 17) | type QueryType constant Fulltext (line 20) | Fulltext QueryType = "fulltext" constant Semantic (line 21) | Semantic QueryType = "semantic" constant Hybrid (line 22) | Hybrid QueryType = "hybrid" constant ContentTypeRawText (line 26) | ContentTypeRawText = "raw_text" constant ContentTypeQA (line 27) | ContentTypeQA = "qa" type CreateDocumentRequest (line 30) | type CreateDocumentRequest struct type DeleteDocumentRequest (line 39) | type DeleteDocumentRequest struct type GetDocumentListRequest (line 45) | type GetDocumentListRequest struct type CustomProcessRule (line 52) | type CustomProcessRule struct type CreateDocumentResponse (line 58) | type CreateDocumentResponse struct type GetDocumentListResponse (line 66) | type GetDocumentListResponse struct type Document (line 73) | type Document struct type DocumentMeta (line 82) | type DocumentMeta struct type UploadFileResponse (line 87) | type UploadFileResponse struct type KnowlegeBaseConfig (line 95) | type KnowlegeBaseConfig struct type KnowledgeBaseConfigIndex (line 100) | type KnowledgeBaseConfigIndex struct type KnowledgeBaseConfigCatalogue (line 108) | type KnowledgeBaseConfigCatalogue struct type KnowledgeBaseDetail (line 112) | type KnowledgeBaseDetail struct type ModifyKnowlegeBaseRequest (line 120) | type ModifyKnowlegeBaseRequest struct type DeleteKnowlegeBaseRequest (line 128) | type DeleteKnowlegeBaseRequest struct type GetKnowledgeBaseListRequest (line 133) | type GetKnowledgeBaseListRequest struct type GetKnowledgeBaseListResponse (line 139) | type GetKnowledgeBaseListResponse struct type DocumentsSourceUrlConfig (line 148) | type DocumentsSourceUrlConfig struct type DocumentsSource (line 152) | type DocumentsSource struct type DocumentsProcessOptionParser (line 159) | type DocumentsProcessOptionParser struct type DocumentsProcessOptionChunkerSeparator (line 163) | type DocumentsProcessOptionChunkerSeparator struct type DocumentsProcessOptionChunkerPattern (line 169) | type DocumentsProcessOptionChunkerPattern struct type DocumentsProcessOptionChunker (line 176) | type DocumentsProcessOptionChunker struct type DocumentsProcessOptionKnowledgeAugmentation (line 183) | type DocumentsProcessOptionKnowledgeAugmentation struct type DocumentsProcessOption (line 187) | type DocumentsProcessOption struct type CreateDocumentsRequest (line 194) | type CreateDocumentsRequest struct type CreateDocumentsResponse (line 202) | type CreateDocumentsResponse struct type UploadDocumentsResponse (line 207) | type UploadDocumentsResponse struct type CreateChunkRequest (line 212) | type CreateChunkRequest struct type CreateChunkResponse (line 219) | type CreateChunkResponse struct type ModifyChunkRequest (line 223) | type ModifyChunkRequest struct type DeleteChunkRequest (line 231) | type DeleteChunkRequest struct type DescribeChunkRequest (line 237) | type DescribeChunkRequest struct type DescribeChunkResponse (line 242) | type DescribeChunkResponse struct type DescribeDocumentsRequest (line 258) | type DescribeDocumentsRequest struct type DescribeDocumentResponse (line 264) | type DescribeDocumentResponse struct type DescribeDocumentMeta (line 274) | type DescribeDocumentMeta struct type DescribeDocumentsResponse (line 282) | type DescribeDocumentsResponse struct type DescribeChunksRequest (line 291) | type DescribeChunksRequest struct type DescribeChunksResponse (line 300) | type DescribeChunksResponse struct type MetadataFilter (line 308) | type MetadataFilter struct type MetadataFilters (line 314) | type MetadataFilters struct type PreRankingConfig (line 319) | type PreRankingConfig struct type ElasticSearchRetrieveConfig (line 327) | type ElasticSearchRetrieveConfig struct type VectorDBRetrieveConfig (line 334) | type VectorDBRetrieveConfig struct type SmallToBigConfig (line 341) | type SmallToBigConfig struct type RankingConfig (line 346) | type RankingConfig struct type QueryPipelineConfig (line 354) | type QueryPipelineConfig struct type QueryKnowledgeBaseRequest (line 359) | type QueryKnowledgeBaseRequest struct type RowLine (line 370) | type RowLine struct type ChunkLocation (line 378) | type ChunkLocation struct type Chunk (line 383) | type Chunk struct type QueryKnowledgeBaseResponse (line 402) | type QueryKnowledgeBaseResponse struct FILE: go/appbuilder/knowledge_base_test.go function TestAddDocumentError (line 27) | func TestAddDocumentError(t *testing.T) { function TestCreateKnowledgeBaseError (line 250) | func TestCreateKnowledgeBaseError(t *testing.T) { function TestChunkError (line 821) | func TestChunkError(t *testing.T) { function TestAddDocument (line 1101) | func TestAddDocument(t *testing.T) { function TestCreateKnowledgeBase (line 1177) | func TestCreateKnowledgeBase(t *testing.T) { function TestChunk (line 1417) | func TestChunk(t *testing.T) { function TestQueryKnowledgeBase (line 1522) | func TestQueryKnowledgeBase(t *testing.T) { FILE: go/appbuilder/rag.go function NewRAG (line 27) | func NewRAG(appID string, config *SDKConfig) (*RAG, error) { type RAG (line 41) | type RAG struct method Run (line 47) | func (t *RAG) Run(conversationID string, query string, stream bool) (R... FILE: go/appbuilder/rag_data.go type RAGRunResponse (line 24) | type RAGRunResponse struct type RAGResult (line 30) | type RAGResult struct type RAGEvent (line 36) | type RAGEvent struct type RAGAnswer (line 44) | type RAGAnswer struct method transform (line 50) | func (t *RAGAnswer) transform(res *RAGRunResponse) { type RAGIterator (line 59) | type RAGIterator interface type RAGStreamIterator (line 64) | type RAGStreamIterator struct method Next (line 70) | func (t *RAGStreamIterator) Next() (*RAGAnswer, error) { type RAGOnceIterator (line 101) | type RAGOnceIterator struct method Next (line 107) | func (t *RAGOnceIterator) Next() (*RAGAnswer, error) { FILE: go/appbuilder/rag_test.go function TestNewRAGError (line 26) | func TestNewRAGError(t *testing.T) { function TestNewRAG (line 84) | func TestNewRAG(t *testing.T) { FILE: go/appbuilder/util.go type SSEEvent (line 27) | type SSEEvent struct function checkHTTPResponse (line 33) | func checkHTTPResponse(rsp *http.Response) (string, error) { function NewSSEReader (line 49) | func NewSSEReader(bufSize int, reader *bufio.Reader) *sseReader { type sseReader (line 54) | type sseReader struct method ReadMessageLine (line 59) | func (t *sseReader) ReadMessageLine() ([]byte, error) { FILE: java/parse_tests_and_coverage.py function parse_surefire_reports (line 10) | def parse_surefire_reports(): function parse_jacoco (line 92) | def parse_jacoco(): function get_modified_files (line 246) | def get_modified_files(repo, base_branch, path_pattern='src/main/**/*.ja... function generate_incremental_coverage_report (line 302) | def generate_incremental_coverage_report(modified_files, coverage_data): function main (line 364) | def main(): FILE: java/src/main/java/com/baidubce/appbuilder/base/component/Component.java class Component (line 6) | public class Component { method Component (line 9) | public Component() { method Component (line 14) | public Component(String secretKey) { method Component (line 18) | public Component(String secretKey, String gateway) { method initClient (line 22) | private void initClient(String secretKey, String gateway) { method getEnvWithDefault (line 43) | private String getEnvWithDefault(String propertyKey, String currentVal... FILE: java/src/main/java/com/baidubce/appbuilder/base/config/AppBuilderConfig.java class AppBuilderConfig (line 3) | public class AppBuilderConfig { method AppBuilderConfig (line 110) | private AppBuilderConfig() {} FILE: java/src/main/java/com/baidubce/appbuilder/base/exception/AppBuilderServerException.java class AppBuilderServerException (line 3) | public class AppBuilderServerException extends Exception { method AppBuilderServerException (line 11) | public AppBuilderServerException(String requestId, int code, String me... method AppBuilderServerException (line 17) | public AppBuilderServerException(String requestId, int code, String me... method AppBuilderServerException (line 23) | public AppBuilderServerException(String requestId, int code, String me... method getRequestId (line 28) | public String getRequestId() { method getCode (line 32) | public int getCode() { method getMessage (line 36) | public String getMessage() { method getAppbuilderCode (line 40) | public int getAppbuilderCode() { method getAppbuilderMessage (line 44) | public String getAppbuilderMessage() { method getResponseBody (line 48) | public String getResponseBody() { method toString (line 52) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpClient.java class HttpClient (line 33) | public class HttpClient { method HttpClient (line 44) | public HttpClient(String secretKey, String gateway, String gatewayV2) { method createPostRequest (line 97) | public ClassicHttpRequest createPostRequest(String url, HttpEntity ent... method createPostRequestV2 (line 126) | public ClassicHttpRequest createPostRequestV2(String url, HttpEntity e... method createGetRequestV2 (line 148) | public ClassicHttpRequest createGetRequestV2(String url, Map HttpResponse execute(ClassicHttpRequest request, Type bo... method executeSSE (line 236) | public HttpResponse> executeSSE(ClassicHttpReque... method toQueryString (line 261) | private String toQueryString(Map map) { method buildCurlCommand (line 280) | private void buildCurlCommand(ClassicHttpRequest request) { FILE: java/src/main/java/com/baidubce/appbuilder/base/utils/http/HttpResponse.java class HttpResponse (line 5) | public class HttpResponse { method getCode (line 15) | public int getCode() { method setCode (line 19) | protected HttpResponse setCode(int code) { method getMessage (line 24) | public String getMessage() { method setMessage (line 28) | public HttpResponse setMessage(String message) { method getRequestId (line 33) | public String getRequestId() { method setRequestId (line 37) | public HttpResponse setRequestId(String requestId) { method getHeaders (line 42) | public Map getHeaders() { method setHeaders (line 46) | protected HttpResponse setHeaders(Map headers) { method getBody (line 51) | public T getBody() { method setBody (line 55) | protected HttpResponse setBody(T body) { method getStringBody (line 60) | public String getStringBody() { method setStringBody (line 64) | protected HttpResponse setStringBody(String stringBody) { FILE: java/src/main/java/com/baidubce/appbuilder/base/utils/iterator/StreamIterator.java class StreamIterator (line 14) | public class StreamIterator implements Iterator, AutoCloseable { method StreamIterator (line 21) | public StreamIterator(CloseableHttpResponse resp, Type type, HttpUriRe... method hasNext (line 28) | @Override method next (line 48) | @Override method close (line 61) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/base/utils/json/JsonUtils.java class JsonUtils (line 8) | public class JsonUtils { method serialize (line 11) | public static String serialize(Object object) { method deserialize (line 15) | public static T deserialize(String json, Type type) { FILE: java/src/main/java/com/baidubce/appbuilder/console/agentbuilder/AgentBuilder.java class AgentBuilder (line 23) | public class AgentBuilder extends Component { method AgentBuilder (line 26) | @Deprecated method AgentBuilder (line 32) | @Deprecated method AgentBuilder (line 38) | @Deprecated method createConversation (line 51) | public String createConversation() throws IOException, AppBuilderServe... method uploadLocalFile (line 76) | public String uploadLocalFile(String conversationId, String filePath) ... method run (line 107) | public AgentBuilderIterator run(String query, String conversationId, S... FILE: java/src/main/java/com/baidubce/appbuilder/console/aisearch/AISearch.java class AISearch (line 17) | public class AISearch extends Component { method AISearch (line 18) | public AISearch() { method AISearch (line 22) | public AISearch(String secretKey) { method AISearch (line 26) | public AISearch(String secretKey, String gateway) { method run (line 31) | public AISearchIterator run(AISearchRequest request) FILE: java/src/main/java/com/baidubce/appbuilder/console/appbuilderclient/App.java class App (line 17) | public class App extends Component { method App (line 18) | public App() { method describeApp (line 30) | public AppDescribeResponse describeApp(String appId) FILE: java/src/main/java/com/baidubce/appbuilder/console/appbuilderclient/AppBuilderClient.java class AppBuilderClient (line 21) | public class AppBuilderClient extends Component { method AppBuilderClient (line 24) | public AppBuilderClient(String appID) { method AppBuilderClient (line 29) | public AppBuilderClient(String appID, String secretKey) { method AppBuilderClient (line 34) | public AppBuilderClient(String appID, String secretKey, String gateway) { method createConversation (line 46) | public String createConversation() throws IOException, AppBuilderServe... method innerCreateConversation (line 50) | private String innerCreateConversation() throws IOException, AppBuilde... method uploadLocalFile (line 77) | public String uploadLocalFile(String conversationId, String filePath) method uploadFile (line 82) | public String uploadFile(String conversationId, String filePath, Strin... method innerUploadLocalFile (line 87) | private String innerUploadLocalFile(String conversationId, String file... method run (line 124) | public AppBuilderClientIterator run(String query, String conversationI... method run (line 153) | public AppBuilderClientIterator run(AppBuilderClientRunRequest request... method feedback (line 177) | public AppBuilderClientFeedbackResponse feedback(AppBuilderClientFeedb... FILE: java/src/main/java/com/baidubce/appbuilder/console/appbuilderclient/AppList.java class AppList (line 21) | public class AppList extends Component { method AppList (line 22) | public AppList() { method getAppList (line 36) | @Deprecated method describeApps (line 55) | public AppsDescribeResponse describeApps(AppsDescribeRequest request) FILE: java/src/main/java/com/baidubce/appbuilder/console/componentclient/ComponentClient.java class ComponentClient (line 21) | public class ComponentClient extends Component { method ComponentClient (line 22) | public ComponentClient() { method ComponentClient (line 26) | public ComponentClient(String secretKey) { method ComponentClient (line 30) | public ComponentClient(String secretKey, String gateway) { method run (line 47) | public ComponentClientIterator run(String componentId, String version,... FILE: java/src/main/java/com/baidubce/appbuilder/console/dataset/Dataset.java class Dataset (line 20) | public class Dataset extends Component { method Dataset (line 23) | @Deprecated method Dataset (line 28) | @Deprecated method Dataset (line 33) | @Deprecated method setDatasetId (line 39) | public void setDatasetId(String datasetId) { method createDataset (line 51) | public String createDataset(String datasetName) throws IOException, Ap... method uploadDocument (line 77) | private String uploadDocument(String filePath) throws IOException, App... method addDocuments (line 105) | public String[] addDocuments(List filePaths, boolean isCustomP... method getDocumentList (line 146) | public DocumentListResponse getDocumentList(int page, int limit, Strin... method deleteDocument (line 175) | public void deleteDocument(String documentId) throws IOException, AppB... method deleteDocuments (line 201) | public void deleteDocuments(String[] documentIds) throws IOException, ... FILE: java/src/main/java/com/baidubce/appbuilder/console/knowledgebase/Knowledgebase.java class Knowledgebase (line 19) | public class Knowledgebase extends Component { method Knowledgebase (line 22) | public Knowledgebase() { method Knowledgebase (line 26) | public Knowledgebase(String SecretKey) { method Knowledgebase (line 30) | public Knowledgebase(String knowledgeBaseId, String SecretKey) { method uploadFile (line 43) | @Deprecated method uploadFile (line 57) | @Deprecated method innerUploadFile (line 71) | private String innerUploadFile(String filePath, String clientToken) th... method addDocument (line 98) | @Deprecated method addDocument (line 113) | @Deprecated method innerAddDocument (line 128) | private String[] innerAddDocument(DocumentAddRequest req, String clien... method getDocumentList (line 154) | @Deprecated method describeDocuments (line 166) | public DocumentsDescribeResponse describeDocuments(DocumentsDescribeRe... method deleteDocument (line 190) | public void deleteDocument(DocumentDeleteRequest request) method deleteDocument (line 203) | public void deleteDocument(DocumentDeleteRequest request, String clien... method innerDeleteDocument (line 216) | private void innerDeleteDocument(DocumentDeleteRequest request, String... method createKnowledgeBase (line 238) | public KnowledgeBaseDetail createKnowledgeBase(KnowledgeBaseDetail req... method createKnowledgeBase (line 252) | public KnowledgeBaseDetail createKnowledgeBase(KnowledgeBaseDetail req... method innerCreateKnowledgeBase (line 266) | private KnowledgeBaseDetail innerCreateKnowledgeBase(KnowledgeBaseDeta... method getKnowledgeBaseDetail (line 287) | public KnowledgeBaseDetail getKnowledgeBaseDetail(String knowledgeBaseId) method deleteKnowledgeBase (line 309) | public void deleteKnowledgeBase(String knowledgeBaseId) method deleteKnowledgeBase (line 322) | public void deleteKnowledgeBase(String knowledgeBaseId, String clientT... method innerDeleteKnowledgeBase (line 335) | private void innerDeleteKnowledgeBase(String knowledgeBaseId, String c... method modifyKnowledgeBase (line 356) | public void modifyKnowledgeBase(KnowledgeBaseModifyRequest request) method modifyKnowledgeBase (line 369) | public void modifyKnowledgeBase(KnowledgeBaseModifyRequest request, St... method innerModifyKnowledgeBase (line 382) | private void innerModifyKnowledgeBase(KnowledgeBaseModifyRequest reque... method getKnowledgeBaseList (line 402) | public KnowledgeBaseListResponse getKnowledgeBaseList(KnowledgeBaseLis... method createDocuments (line 424) | public DocumentsCreateResponse createDocuments(DocumentsCreateRequest ... method createDocuments (line 438) | public DocumentsCreateResponse createDocuments(DocumentsCreateRequest ... method innerCreateDocuments (line 452) | private DocumentsCreateResponse innerCreateDocuments(DocumentsCreateRe... method uploadDocuments (line 478) | public DocumentsUploadResponse uploadDocuments(String filePath, Docume... method uploadDocuments (line 493) | public DocumentsUploadResponse uploadDocuments(String filePath, Docume... method innerUploadDocuments (line 508) | private DocumentsUploadResponse innerUploadDocuments(String filePath, ... method createChunk (line 536) | public String createChunk(String documentId, String content) method createChunk (line 551) | public String createChunk(String documentId, String content, String cl... method innerCreateChunk (line 566) | private String innerCreateChunk(String documentId, String content, Str... method modifyChunk (line 596) | public void modifyChunk(String chunkId, String content, boolean enable) method modifyChunk (line 611) | public void modifyChunk(String chunkId, String content, boolean enable... method innerModifyChunk (line 626) | private void innerModifyChunk(String chunkId, String content, boolean ... method deleteChunk (line 651) | public void deleteChunk(String chunkId) throws IOException, AppBuilder... method deleteChunk (line 663) | public void deleteChunk(String chunkId, String clientToken) throws IOE... method innderDeleteChunk (line 675) | private void innderDeleteChunk(String chunkId, String clientToken) thr... method describeChunk (line 699) | public ChunkDescribeResponse describeChunk(String chunkId) method describeChunks (line 728) | public ChunksDescribeResponse describeChunks(String documentId, String... method describeChunks (line 745) | public ChunksDescribeResponse describeChunks(ChunksDescribeRequest req... method queryKnowledgeBase (line 761) | public QueryKnowledgeBaseResponse queryKnowledgeBase(QueryKnowledgeBas... method queryKnowledgeBase (line 778) | public QueryKnowledgeBaseResponse queryKnowledgeBase(String query, Str... method queryKnowledgeBase (line 797) | public QueryKnowledgeBaseResponse queryKnowledgeBase(String query, Str... FILE: java/src/main/java/com/baidubce/appbuilder/console/rag/RAG.java class RAG (line 19) | public class RAG extends Component { method RAG (line 22) | public RAG(String appID) { method RAG (line 27) | public RAG(String appID, String secretKey) { method RAG (line 32) | public RAG(String appID, String secretKey, String gateway) { method run (line 47) | public RAGIterator run(String query, String conversationId, boolean st... FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/AgentBuilderIterator.java class AgentBuilderIterator (line 6) | public class AgentBuilderIterator { method AgentBuilderIterator (line 9) | public AgentBuilderIterator(StreamIterator itera... method hasNext (line 13) | public boolean hasNext() { method next (line 17) | public AgentBuilderResult next() { method close (line 35) | public void close(){ FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/AgentBuilderResponse.java class AgentBuilderResponse (line 7) | public class AgentBuilderResponse { method getRequestId (line 20) | public String getRequestId() { method setRequestId (line 24) | public void setRequestId(String requestId) { method getData (line 28) | public String getData() { method setData (line 32) | public void setData(String data) { method getAnswer (line 36) | public String getAnswer() { method setAnswer (line 40) | public void setAnswer(String answer) { method getConversationId (line 44) | public String getConversationId() { method setConversationId (line 48) | public void setConversationId(String conversationId) { method getMessageId (line 52) | public String getMessageId() { method setMessageId (line 56) | public void setMessageId(String messageId) { method isCompletion (line 60) | public boolean isCompletion() { method setCompletion (line 64) | public void setCompletion(boolean completion) { method getContent (line 68) | public EventContent[] getContent() { method setContent (line 72) | public void setContent(EventContent[] content) { method toString (line 76) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/AgentBuilderResult.java class AgentBuilderResult (line 6) | public class AgentBuilderResult { method getAnswer (line 10) | public String getAnswer() { method setAnswer (line 14) | public AgentBuilderResult setAnswer(String answer) { method getEvents (line 19) | public Event[] getEvents() { method setEvents (line 23) | public AgentBuilderResult setEvents(Event[] events) { method toString (line 28) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/ConversationResponse.java class ConversationResponse (line 5) | public class ConversationResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getConversationId (line 19) | public String getConversationId() { method setConversationId (line 23) | public void setConversationId(String conversationId) { method toString (line 27) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/Event.java class Event (line 5) | public class Event { method getCode (line 13) | public String getCode() { method setCode (line 17) | public Event setCode(String code) { method getMessage (line 22) | public String getMessage() { method setMessage (line 26) | public Event setMessage(String message) { method getEventType (line 31) | public String getEventType() { method setEventType (line 35) | public Event setEventType(String eventType) { method getStatus (line 40) | public String getStatus() { method setStatus (line 44) | public Event setStatus(String status) { method getContentType (line 49) | public String getContentType() { method setContentType (line 53) | public Event setContentType(String contentType) { method getDetail (line 58) | public Map getDetail() { method setDetail (line 62) | public Event setDetail(Map detail) { method toString (line 67) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/EventContent.java class EventContent (line 8) | public class EventContent { method getEventCode (line 23) | public String getEventCode() { method setEventCode (line 27) | public void setEventCode(String eventCode) { method getEnentMessage (line 31) | public String getEnentMessage() { method setEnentMessage (line 35) | public void setEnentMessage(String enentMessage) { method getEventType (line 39) | public String getEventType() { method setEventType (line 43) | public void setEventType(String eventType) { method getEventId (line 47) | public String getEventId() { method setEventId (line 51) | public void setEventId(String eventId) { method getEventStatus (line 55) | public String getEventStatus() { method setEventStatus (line 59) | public void setEventStatus(String eventStatus) { method getContentType (line 63) | public String getContentType() { method setContentType (line 67) | public void setContentType(String contentType) { method getOutputs (line 71) | public Map getOutputs() { method setOutputs (line 75) | public void setOutputs(Map outputs) { method toString (line 79) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/agentbuilder/FileUploadResponse.java class FileUploadResponse (line 5) | public class FileUploadResponse { method getRequestId (line 12) | public String getRequestId() { method setRequestId (line 16) | public void setRequestId(String requestId) { method getFileId (line 20) | public String getFileId() { method toString (line 24) | @Override method setFileId (line 33) | public void setFileId(String fileId) { method getConversationId (line 37) | public String getConversationId() { method setConversationId (line 41) | public void setConversationId(String conversationId) { FILE: java/src/main/java/com/baidubce/appbuilder/model/aisearch/AISearchIterator.java class AISearchIterator (line 5) | public class AISearchIterator { method AISearchIterator (line 8) | public AISearchIterator(StreamIterator iterator) { method hasNext (line 12) | public boolean hasNext() { method next (line 16) | public AISearchResponse next() { method close (line 20) | public void close(){ FILE: java/src/main/java/com/baidubce/appbuilder/model/aisearch/AISearchRequest.java class AISearchRequest (line 5) | public class AISearchRequest { class Message (line 56) | public static class Message { method Message (line 63) | public Message(String role, Object content) { method setRole (line 68) | public void setRole(String role) { method setContent (line 72) | public void setContent(Object content) { method getRole (line 76) | public String getRole() { method getContent (line 80) | public Object getContent() { class SearchResource (line 85) | public static class SearchResource { method SearchResource (line 92) | public SearchResource(int topK, String type) { method getTopK (line 97) | public int getTopK() { method getType (line 101) | public String getType() { method setTopK (line 105) | public void setTopK(int topK) { method setType (line 109) | public void setType(String type) { class SearchFilter (line 114) | public static class SearchFilter { method SearchFilter (line 121) | public SearchFilter(Range range, Match match) { method getRange (line 126) | public Range getRange() { method getMatch (line 130) | public Match getMatch() { method setRange (line 134) | public void setRange(Range range) { method setMatch (line 138) | public void setMatch(Match match) { class Range (line 143) | public static class Range { method Range (line 147) | public Range(PageTime pageTime) { method getPageTime (line 151) | public PageTime getPageTime() { method setPageTime (line 155) | public void setPageTime(PageTime pageTime) { class PageTime (line 160) | public static class PageTime { method PageTime (line 170) | public PageTime(String gth, String gt, String lth, String lt) { method getGth (line 178) | public String getGth() { method getGt (line 182) | public String getGt() { method getLth (line 186) | public String getLth() { method getLt (line 190) | public String getLt() { method setGth (line 194) | public void setGth(String gth) { method setGt (line 198) | public void setGt(String gt) { method setLth (line 202) | public void setLth(String lth) { method setLt (line 206) | public void setLt(String lt) { class Match (line 211) | public static class Match { method Match (line 215) | public Match(String[] site) { method getSite (line 219) | public String[] getSite() { method setSite (line 223) | public void setSite(String[] site) { class Knowledge (line 228) | public static class Knowledge { method Knowledge (line 238) | public Knowledge(Integer priority, String dataType, KnowledgeData da... method getPriority (line 244) | public Integer getPriority() { method getDataType (line 248) | public String getDataType() { method getData (line 252) | public KnowledgeData getData() { method setPriority (line 256) | public void setPriority(Integer priority) { method setDataType (line 260) | public void setDataType(String dataType) { method setData (line 264) | public void setData(KnowledgeData data) { class KnowledgeData (line 269) | public static class KnowledgeData { method KnowledgeData (line 282) | public KnowledgeData(String content, String title, String url, Strin... method getContent (line 289) | public String getContent() { method getTitle (line 293) | public String getTitle() { method getUrl (line 297) | public String getUrl() { method getReleaseDate (line 301) | public String getReleaseDate() { method setContent (line 305) | public void setContent(String content) { method setTitle (line 309) | public void setTitle(String title) { method setUrl (line 313) | public void setUrl(String url) { method setReleaseDate (line 317) | public void setReleaseDate(String releaseDate) { method getMessages (line 323) | public Message[] getMessages() { method setMessages (line 327) | public AISearchRequest setMessages(Message[] messages) { method getSearchSource (line 332) | public String getSearchSource() { method setSearchSource (line 336) | public AISearchRequest setSearchSource(String searchSource) { method getResourceTypeFilter (line 341) | public SearchResource[] getResourceTypeFilter() { method setResourceTypeFilter (line 345) | public AISearchRequest setResourceTypeFilter(SearchResource[] resource... method getSearchFilter (line 350) | public SearchFilter getSearchFilter() { method setSearchFilter (line 354) | public AISearchRequest setSearchFilter(SearchFilter searchFilter) { method getSearchRecencyFilter (line 359) | public String getSearchRecencyFilter() { method setSearchRecencyFilter (line 363) | public AISearchRequest setSearchRecencyFilter(String searchRecencyFilt... method getSearchDomainFilter (line 368) | public String[] getSearchDomainFilter() { method setSearchDomainFilter (line 372) | public AISearchRequest setSearchDomainFilter(String[] searchDomainFilt... method getModel (line 377) | public String getModel() { method setModel (line 381) | public AISearchRequest setModel(String model) { method getInstruction (line 386) | public String getInstruction() { method setInstruction (line 390) | public AISearchRequest setInstruction(String instruction) { method getTemperature (line 395) | public Double getTemperature() { method setTemperature (line 399) | public AISearchRequest setTemperature(Double temperature) { method getTopP (line 404) | public Double getTopP() { method setTopP (line 408) | public AISearchRequest setTopP(Double topP) { method getPromptTemplate (line 413) | public String getPromptTemplate() { method setPromptTemplate (line 417) | public AISearchRequest setPromptTemplate(String promptTemplate) { method getSearchMode (line 422) | public String getSearchMode() { method setSearchMode (line 426) | public AISearchRequest setSearchMode(String searchMode) { method getEnableReasoning (line 431) | public Boolean getEnableReasoning() { method setEnableReasoning (line 435) | public AISearchRequest setEnableReasoning(Boolean enableReasoning) { method getEnableDeepSearch (line 440) | public Boolean getEnableDeepSearch() { method setEnableDeepSearch (line 444) | public AISearchRequest setEnableDeepSearch(Boolean enableDeepSearch) { method getAdditionalKnowledge (line 449) | public Knowledge[] getAdditionalKnowledge() { method setAdditionalKnowledge (line 453) | public AISearchRequest setAdditionalKnowledge(Knowledge[] additionalKn... method getMaxCompletionTokens (line 458) | public Integer getMaxCompletionTokens() { method setMaxCompletionTokens (line 462) | public AISearchRequest setMaxCompletionTokens(Integer maxCompletionTok... method getResponseFormat (line 467) | public String getResponseFormat() { method setResponseFormat (line 471) | public AISearchRequest setResponseFormat(String responseFormat) { method getEnableCornerMarkers (line 476) | public Boolean getEnableCornerMarkers() { method setEnableCornerMarkers (line 480) | public AISearchRequest setEnableCornerMarkers(Boolean enableCornerMark... method getEnableFollowupQueries (line 485) | public Boolean getEnableFollowupQueries() { method setEnableFollowupQueries (line 489) | public AISearchRequest setEnableFollowupQueries(Boolean enableFollowup... method getStream (line 494) | public Boolean getStream() { method setStream (line 498) | public AISearchRequest setStream(Boolean stream) { method getSafetyLevel (line 503) | public String getSafetyLevel() { method setSafetyLevel (line 507) | public AISearchRequest setSafetyLevel(String safetyLevel) { method getMaxReferSearchItems (line 512) | public Integer getMaxReferSearchItems() { method setMaxReferSearchItems (line 516) | public AISearchRequest setMaxReferSearchItems(Integer maxReferSearchIt... method getConfigId (line 521) | public String getConfigId() { method setConfigId (line 525) | public AISearchRequest setConfigId(String configId) { method getModelAppid (line 530) | public String getModelAppid() { method setModelAppid (line 534) | public AISearchRequest setModelAppid(String modelAppid) { FILE: java/src/main/java/com/baidubce/appbuilder/model/aisearch/AISearchResponse.java class AISearchResponse (line 6) | public class AISearchResponse { method getRequestId (line 26) | public String getRequestId() { method setRequestId (line 30) | public AISearchResponse setRequestId(String requestId) { method getIsSafe (line 35) | public Boolean getIsSafe() { method setIsSafe (line 39) | public AISearchResponse setIsSafe(Boolean isSafe) { method getChoices (line 44) | public List getChoices() { method setChoices (line 48) | public AISearchResponse setChoices(List choices) { method getCode (line 53) | public String getCode() { method setCode (line 57) | public AISearchResponse setCode(String code) { method getMessage (line 62) | public String getMessage() { method setMessage (line 66) | public AISearchResponse setMessage(String message) { method getUsage (line 71) | public Usage getUsage() { method setUsage (line 75) | public AISearchResponse setUsage(Usage usage) { method getReferences (line 80) | public List getReferences() { method setReferences (line 84) | public AISearchResponse setReferences(List references) { method getFollowupQueries (line 89) | public List getFollowupQueries() { method setFollowupQueries (line 93) | public AISearchResponse setFollowupQueries(List followupQuerie... class Usage (line 99) | public static class Usage { method getCompletionTokens (line 109) | public Integer getCompletionTokens() { method setCompletionTokens (line 113) | public Usage setCompletionTokens(Integer completionTokens) { method getPromptTokens (line 118) | public Integer getPromptTokens() { method setPromptTokens (line 122) | public Usage setPromptTokens(Integer promptTokens) { method getTotalTokens (line 127) | public Integer getTotalTokens() { method setTotalTokens (line 131) | public Usage setTotalTokens(Integer totalTokens) { class VideoDetail (line 137) | public static class VideoDetail { method getUrl (line 147) | public String getUrl() { method setUrl (line 151) | public VideoDetail setUrl(String url) { method getHeight (line 156) | public String getHeight() { method setHeight (line 160) | public VideoDetail setHeight(String height) { method getWidth (line 165) | public String getWidth() { method setWidth (line 169) | public VideoDetail setWidth(String width) { method getSize (line 174) | public String getSize() { method setSize (line 178) | public VideoDetail setSize(String size) { method getDuration (line 183) | public String getDuration() { method setDuration (line 187) | public VideoDetail setDuration(String duration) { method getHoverPic (line 192) | @SerializedName("hover_pic") method setHoverPic (line 197) | public VideoDetail setHoverPic(String hoverPic) { class ImageDetail (line 203) | public static class ImageDetail { method getUrl (line 208) | public String getUrl() { method setUrl (line 212) | public ImageDetail setUrl(String url) { method getHeight (line 217) | public String getHeight() { method setHeight (line 221) | public ImageDetail setHeight(String height) { method getWidth (line 226) | public String getWidth() { method setWidth (line 230) | public ImageDetail setWidth(String width) { class Reference (line 236) | public static class Reference { method getId (line 253) | public Integer getId() { method setId (line 257) | public Reference setId(Integer id) { method getTitle (line 262) | public String getTitle() { method setTitle (line 266) | public Reference setTitle(String title) { method getUrl (line 271) | public String getUrl() { method setUrl (line 275) | public Reference setUrl(String url) { method getWebAnchor (line 280) | public String getWebAnchor() { method setWebAnchor (line 284) | public Reference setWebAnchor(String webAnchor) { method getIcon (line 289) | public String getIcon() { method setIcon (line 293) | public Reference setIcon(String icon) { method getContent (line 298) | public String getContent() { method setContent (line 302) | public Reference setContent(String content) { method getDate (line 307) | public String getDate() { method setDate (line 311) | public Reference setDate(String date) { method getType (line 316) | public String getType() { method setType (line 320) | public Reference setType(String type) { method getImage (line 325) | public ImageDetail getImage() { method setImage (line 329) | public Reference setImage(ImageDetail image) { method getVideo (line 334) | public VideoDetail getVideo() { method setVideo (line 338) | public Reference setVideo(VideoDetail video) { class Delta (line 344) | public static class Delta { method setContent (line 353) | public Delta setContent(String content) { method getContent (line 358) | public String getContent() { method getRole (line 362) | public String getRole() { method setRole (line 366) | public Delta setRole(String role) { method getReasoningContent (line 371) | public String getReasoningContent() { method setReasoningContent (line 375) | public Delta setReasoningContent(String reasoningContent) { class ChoiceMessage (line 381) | public static class ChoiceMessage { method getContent (line 389) | public String getContent() { method setContent (line 393) | public ChoiceMessage setContent(String content) { method getRole (line 398) | public String getRole() { method setRole (line 402) | public ChoiceMessage setRole(String role) { method getReasoningContent (line 407) | public String getReasoningContent() { method setReasoningContent (line 411) | public ChoiceMessage setReasoningContent(String reasoningContent) { class Choice (line 417) | public static class Choice { method getIndex (line 426) | public int getIndex() { method setIndex (line 430) | public Choice setIndex(int index) { method getFinishReason (line 435) | public String getFinishReason() { method setFinishReason (line 439) | public Choice setFinishReason(String finishReason) { method getMessage (line 444) | public ChoiceMessage getMessage() { method setMessage (line 448) | public Choice setMessage(ChoiceMessage message) { method getDelta (line 453) | public Delta getDelta() { method setDelta (line 457) | public Choice setDelta(Delta delta) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/App.java class App (line 3) | public class App { method getId (line 12) | public String getId() { method getName (line 16) | public String getName() { method getDescription (line 20) | public String getDescription() { method setId (line 25) | public void setId(String id) { method setName (line 29) | public void setName(String name) { method setDescription (line 33) | public void setDescription(String description) { method getAppType (line 37) | public String getAppType() { method setAppType (line 41) | public void setAppType(String appType) { method isPublic (line 45) | public boolean isPublic() { method setPublic (line 49) | public void setPublic(boolean aPublic) { method getUpdateTime (line 53) | public Integer getUpdateTime() { method setUpdateTime (line 57) | public void setUpdateTime(Integer updateTime) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppBuilderClientFeedbackRequest.java class AppBuilderClientFeedbackRequest (line 5) | public class AppBuilderClientFeedbackRequest { method AppBuilderClientFeedbackRequest (line 16) | public AppBuilderClientFeedbackRequest(String appId, String conversati... method getAppId (line 26) | public String getAppId() { method setAppId (line 30) | public void setAppId(String appId) { method getConversationId (line 34) | public String getConversationId() { method setConversationId (line 38) | public void setConversationId(String conversationId) { method getMessageId (line 42) | public String getMessageId() { method setMessageId (line 46) | public void setMessageId(String messageId) { method getType (line 50) | public String getType() { method setType (line 54) | public void setType(String type) { method getFlag (line 58) | public String[] getFlag() { method setFlag (line 62) | public void setFlag(String[] flag) { method getReason (line 66) | public String getReason() { method setReason (line 70) | public void setReason(String reason) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppBuilderClientFeedbackResponse.java class AppBuilderClientFeedbackResponse (line 5) | public class AppBuilderClientFeedbackResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getCode (line 19) | public String getCode() { method setCode (line 23) | public void setCode(String code) { method getMessage (line 27) | public String getMessage() { method setMessage (line 31) | public void setMessage(String message) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppBuilderClientIterator.java class AppBuilderClientIterator (line 6) | public class AppBuilderClientIterator { method AppBuilderClientIterator (line 9) | public AppBuilderClientIterator(StreamIterator> getMcpAuthorization() { method getParameters (line 152) | public Map getParameters() { method setParameters (line 156) | public void setParameters(Map parameters) { method setCustomMetadata (line 160) | public void setCustomMetadata(CustomMetadata customMetadata) { class Tool (line 164) | public static class Tool { method Tool (line 168) | public Tool(String type, Function function) { method getType (line 173) | public String getType() { method getFunction (line 177) | public Function getFunction() { class Function (line 182) | public static class Function { method Function (line 187) | public Function(String name, String description, Map getParameters() { class ToolOutput (line 207) | public static class ToolOutput { method ToolOutput (line 212) | public ToolOutput(String toolCallID, String output) { method getToolCallID (line 217) | public String getToolCallID() { method getOutput (line 221) | public String getOutput() { class ToolChoice (line 226) | public static class ToolChoice { method ToolChoice (line 230) | public ToolChoice(String type, Function function) { method getType (line 235) | public String getType() { method getFunction (line 239) | public Function getFunction() { class Function (line 243) | public static class Function { method Function (line 247) | public Function(String name, Map input) { method getName (line 252) | public String getName() { method getInput (line 256) | public Map getInput() { class Action (line 262) | public static class Action { method createAction (line 268) | public static Action createAction(String interruptId) { method createAction (line 272) | public static Action createAction(String actionType, String id, Stri... method Action (line 278) | public Action(String actionType, Parameters parameters) { method getActionType (line 283) | public String getActionType() { method getParameters (line 287) | public Parameters getParameters() { class Parameters (line 291) | public static class Parameters { method Parameters (line 295) | public Parameters(InterruptEvent interruptEvent) { method getInterruptEvent (line 299) | public InterruptEvent getInterruptEvent() { class InterruptEvent (line 303) | public static class InterruptEvent { method InterruptEvent (line 307) | public InterruptEvent(String id, String type) { method getId (line 312) | public String getId() { method getType (line 316) | public String getType() { class CustomMetadata (line 323) | public static class CustomMetadata{ method CustomMetadata (line 327) | public CustomMetadata(String overrideRoleInstruction) { method setOverrideRoleInstruction (line 331) | public void setOverrideRoleInstruction(String overrideRoleInstructio... method getOverrideRoleInstruction (line 335) | public String getOverrideRoleInstruction() { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppDescribeRequest.java class AppDescribeRequest (line 3) | public class AppDescribeRequest { method getId (line 6) | public String getId() { method setId (line 10) | public void setId(String id) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppDescribeResponse.java class AppDescribeResponse (line 3) | public class AppDescribeResponse { method getRequestId (line 18) | public String getRequestId() { method setRequestId (line 22) | public void setRequestId(String requestId) { method getId (line 26) | public String getId() { method setId (line 30) | public void setId(String id) { method getName (line 34) | public String getName() { method setName (line 38) | public void setName(String name) { method getDescription (line 42) | public String getDescription() { method setDescription (line 46) | public void setDescription(String description) { method getInstruction (line 50) | public String getInstruction() { method setInstruction (line 54) | public void setInstruction(String instruction) { method getPrologue (line 58) | public String getPrologue() { method setPrologue (line 62) | public void setPrologue(String prologue) { method getExampleQueries (line 66) | public String[] getExampleQueries() { method setExampleQueries (line 70) | public void setExampleQueries(String[] exampleQueries) { method getFollowUpQueries (line 74) | public FollowUpQueries getFollowUpQueries() { method setFollowUpQueries (line 78) | public void setFollowUpQueries(FollowUpQueries followUpQueries) { method getComponents (line 82) | public Component[] getComponents() { method setComponents (line 86) | public void setComponents(Component[] components) { method getKnowledgeBaseConfig (line 90) | public KnowledgeBaseConfig getKnowledgeBaseConfig() { method setKnowledgeBaseConfig (line 94) | public void setKnowledgeBaseConfig(KnowledgeBaseConfig knowledgeBaseCo... method getModelConfig (line 98) | public ModelConfig getModelConfig() { method setModelConfig (line 102) | public void setModelConfig(ModelConfig modelConfig) { method getBackground (line 106) | public BackgroundConfig getBackground() { method setBackground (line 110) | public void setBackground(BackgroundConfig background) { class FollowUpQueries (line 114) | public static class FollowUpQueries { method getType (line 120) | public String getType() { method setType (line 124) | public void setType(String type) { method getPrompt (line 128) | public String getPrompt() { method setPrompt (line 132) | public void setPrompt(String prompt) { method getRound (line 136) | public String getRound() { method setRound (line 140) | public void setRound(String round) { class Component (line 145) | public static class Component { method getName (line 151) | public String getName() { method setName (line 155) | public void setName(String name) { method getDescription (line 159) | public String getDescription() { method setDescription (line 163) | public void setDescription(String description) { method getCustomDesc (line 167) | public String getCustomDesc() { method setCustomDesc (line 171) | public void setCustomDesc(String customDesc) { class KnowledgeBaseConfig (line 176) | public static class KnowledgeBaseConfig { method getKnowledgeBases (line 181) | public KnowledgeBase[] getKnowledgeBases() { method setKnowledgeBases (line 185) | public void setKnowledgeBases(KnowledgeBase[] knowledgeBases) { method getRetrieval (line 189) | public RetrievalConfig getRetrieval() { method setRetrieval (line 193) | public void setRetrieval(RetrievalConfig retrieval) { class KnowledgeBase (line 197) | public static class KnowledgeBase { method getId (line 203) | public String getId() { method setId (line 207) | public void setId(String id) { method getName (line 211) | public String getName() { method setName (line 215) | public void setName(String name) { method getDescription (line 219) | public String getDescription() { method setDescription (line 223) | public void setDescription(String description) { class RetrievalConfig (line 228) | public static class RetrievalConfig { method getEnableWebSearch (line 236) | public Boolean getEnableWebSearch() { method setEnableWebSearch (line 240) | public void setEnableWebSearch(Boolean enableWebSearch) { method getOrder (line 244) | public String getOrder() { method setOrder (line 248) | public void setOrder(String order) { method getStrategy (line 252) | public String getStrategy() { method setStrategy (line 256) | public void setStrategy(String strategy) { method getTopK (line 260) | public Integer getTopK() { method setTopK (line 264) | public void setTopK(Integer topK) { method getThreshold (line 268) | public Float getThreshold() { method setThreshold (line 272) | public void setThreshold(Float threshold) { class ModelConfig (line 278) | public static class ModelConfig { method getPlan (line 283) | public PlanConfig getPlan() { method setPlan (line 287) | public void setPlan(PlanConfig plan) { method getChat (line 291) | public ChatConfig getChat() { method setChat (line 295) | public void setChat(ChatConfig chat) { class PlanConfig (line 299) | public static class PlanConfig { method getModelId (line 306) | public String getModelId() { method setModelId (line 310) | public void setModelId(String modelId) { method getModel (line 314) | public String getModel() { method setModel (line 318) | public void setModel(String model) { method getMaxRounds (line 322) | public Integer getMaxRounds() { method setMaxRounds (line 326) | public void setMaxRounds(Integer maxRounds) { method getConfig (line 330) | public Config getConfig() { method setConfig (line 334) | public void setConfig(Config config) { class Config (line 338) | public static class Config { method getTemperature (line 343) | public Float getTemperature() { method setTemperature (line 347) | public void setTemperature(Float temperature) { method getTopP (line 351) | public Float getTopP() { method setTopP (line 355) | public void setTopP(Float topP) { class ChatConfig (line 361) | public static class ChatConfig { method getModelId (line 368) | public String getModelId() { method setModelId (line 372) | public void setModelId(String modelId) { method getModel (line 376) | public String getModel() { method setModel (line 380) | public void setModel(String model) { method getHistoryChatRounds (line 384) | public Integer getHistoryChatRounds() { method setHistoryChatRounds (line 388) | public void setHistoryChatRounds(Integer historyChatRounds) { method getConfig (line 392) | public Config getConfig() { method setConfig (line 396) | public void setConfig(Config config) { class Config (line 400) | public static class Config { method getTemperature (line 405) | public Float getTemperature() { method setTemperature (line 409) | public void setTemperature(Float temperature) { method getTopP (line 413) | public Float getTopP() { method setTopP (line 417) | public void setTopP(Float topP) { class BackgroundConfig (line 424) | public static class BackgroundConfig { method getId (line 431) | public String getId() { method setId (line 435) | public void setId(String id) { method getPath (line 439) | public String getPath() { method setPath (line 443) | public void setPath(String path) { method getMobileConfig (line 447) | public MobileConfig getMobileConfig() { method setMobileConfig (line 451) | public void setMobileConfig(MobileConfig mobileConfig) { method getPcConfig (line 455) | public PcConfig getPcConfig() { method setPcConfig (line 459) | public void setPcConfig(PcConfig pcConfig) { class MobileConfig (line 463) | public static class MobileConfig { method getLeft (line 470) | public String getLeft() { method setLeft (line 474) | public void setLeft(String left) { method getTop (line 478) | public String getTop() { method setTop (line 482) | public void setTop(String top) { method getHeight (line 486) | public String getHeight() { method setHeight (line 490) | public void setHeight(String height) { method getColor (line 494) | public String getColor() { method setColor (line 498) | public void setColor(String color) { class PcConfig (line 503) | public static class PcConfig { method getLeft (line 510) | public String getLeft() { method setLeft (line 514) | public void setLeft(String left) { method getTop (line 518) | public String getTop() { method setTop (line 522) | public void setTop(String top) { method getHeight (line 526) | public String getHeight() { method setHeight (line 530) | public void setHeight(String height) { method getColor (line 534) | public String getColor() { method setColor (line 538) | public void setColor(String color) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppListRequest.java class AppListRequest (line 6) | public class AppListRequest { method getLimit (line 12) | public int getLimit() { method setLimit (line 16) | public void setLimit(int limit) { method getAfter (line 20) | public String getAfter() { method setAfter (line 24) | public void setAfter(String after) { method getBefore (line 28) | public String getBefore() { method setBefore (line 32) | public void setBefore(String before) { method toMap (line 36) | public Map toMap() { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppListResponse.java class AppListResponse (line 5) | public class AppListResponse { method getRequestId (line 12) | public String getRequestId() { method setRequestId (line 16) | public void setRequestId(String requestId) { method getData (line 20) | public App[] getData() { method setData (line 24) | public void setData(App[] data) { method getCode (line 28) | public String getCode() { method setCode (line 32) | public void setCode(String code) { method getMessage (line 36) | public String getMessage() { method setMessage (line 40) | public void setMessage(String message) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppsDescribeRequest.java class AppsDescribeRequest (line 3) | public class AppsDescribeRequest { method AppsDescribeRequest (line 7) | public AppsDescribeRequest(String marker, Integer maxKeys) { method AppsDescribeRequest (line 12) | public AppsDescribeRequest() { method AppsDescribeRequest (line 16) | public AppsDescribeRequest(Integer maxKeys) { method AppsDescribeRequest (line 20) | public AppsDescribeRequest(String marker) { method getMarker (line 24) | public String getMarker() { method getMaxKeys (line 28) | public Integer getMaxKeys() { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/AppsDescribeResponse.java class AppsDescribeResponse (line 3) | public class AppsDescribeResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getMarker (line 19) | public String getMarker() { method setMarker (line 23) | public void setMarker(String marker) { method getIsTruncated (line 27) | public Boolean getIsTruncated() { method setIsTruncated (line 31) | public void setIsTruncated(Boolean isTruncated) { method getNextMarker (line 35) | public String getNextMarker() { method setNextMarker (line 39) | public void setNextMarker(String nextMarker) { method getMaxKeys (line 43) | public Integer getMaxKeys() { method setMaxKeys (line 47) | public void setMaxKeys(Integer maxKeys) { method getData (line 51) | public App[] getData() { method setData (line 55) | public void setData(App[] data) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/ConversationResponse.java class ConversationResponse (line 5) | public class ConversationResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getConversationId (line 19) | public String getConversationId() { method setConversationId (line 23) | public void setConversationId(String conversationId) { method toString (line 27) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/Event.java class Event (line 6) | public class Event { method getCode (line 20) | public String getCode() { method setCode (line 24) | public Event setCode(String code) { method getMessage (line 29) | public String getMessage() { method setMessage (line 33) | public Event setMessage(String message) { method getEventType (line 38) | public String getEventType() { method setEventType (line 42) | public Event setEventType(String eventType) { method getStatus (line 47) | public String getStatus() { method setStatus (line 51) | public Event setStatus(String status) { method getContentType (line 56) | public String getContentType() { method setContentType (line 60) | public Event setContentType(String contentType) { method getDetail (line 65) | public Map getDetail() { method setDetail (line 69) | public Event setDetail(Map detail) { method getUsage (line 74) | public Map getUsage() { method setUsage (line 78) | public Event setUsage(Map usage) { method getToolCalls (line 83) | public ToolCall[] getToolCalls() { method setToolCalls (line 87) | public Event setToolCalls(ToolCall[] toolCalls) { method toString (line 92) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/EventContent.java class EventContent (line 7) | public class EventContent { method getEventCode (line 38) | public String getEventCode() { method setEventCode (line 42) | public void setEventCode(String eventCode) { method getEnentMessage (line 46) | public String getEnentMessage() { method setEnentMessage (line 50) | public void setEnentMessage(String enentMessage) { method getEventType (line 54) | public String getEventType() { method setEventType (line 58) | public void setEventType(String eventType) { method getEventId (line 62) | public String getEventId() { method setEventId (line 66) | public void setEventId(String eventId) { method getEventStatus (line 70) | public String getEventStatus() { method setEventStatus (line 74) | public void setEventStatus(String eventStatus) { method getContentType (line 78) | public String getContentType() { method setContentType (line 82) | public void setContentType(String contentType) { method getOutputs (line 86) | public Map getOutputs() { method setOutputs (line 90) | public void setOutputs(Map outputs) { method getUsage (line 94) | public Map getUsage() { method setUsage (line 98) | public void setUsage(Map usage) { method getToolCalls (line 102) | public ToolCall[] getToolCalls() { method setToolCalls (line 106) | public void setToolCalls(ToolCall[] toolCalls) { method toString (line 110) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/FileUploadResponse.java class FileUploadResponse (line 5) | public class FileUploadResponse { method getRequestId (line 12) | public String getRequestId() { method setRequestId (line 16) | public void setRequestId(String requestId) { method getFileId (line 20) | public String getFileId() { method toString (line 24) | @Override method setFileId (line 33) | public void setFileId(String fileId) { method getConversationId (line 37) | public String getConversationId() { method setConversationId (line 41) | public void setConversationId(String conversationId) { FILE: java/src/main/java/com/baidubce/appbuilder/model/appbuilderclient/ToolCall.java class ToolCall (line 3) | public class ToolCall { method getId (line 7) | public String getId() { method setId (line 11) | public void setId(String id) { method getType (line 15) | public String getType() { method setType (line 19) | public void setType(String type) { FILE: java/src/main/java/com/baidubce/appbuilder/model/componentclient/ComponentClientIterator.java class ComponentClientIterator (line 6) | public class ComponentClientIterator { method ComponentClientIterator (line 9) | public ComponentClientIterator(StreamIterator getParameters() { method setParameters (line 28) | public void setParameters(Map parameters) { FILE: java/src/main/java/com/baidubce/appbuilder/model/componentclient/ComponentClientRunResponse.java class ComponentClientRunResponse (line 9) | public class ComponentClientRunResponse { method getRequestID (line 29) | public String getRequestID() { method setRequestID (line 33) | public void setRequestID(String requestID) { method getCode (line 37) | public String getCode() { method setCode (line 41) | public void setCode(String code) { method getMessage (line 45) | public String getMessage() { method setMessage (line 49) | public void setMessage(String message) { method getConversationID (line 53) | public String getConversationID() { method setConversationID (line 57) | public void setConversationID(String conversationID) { method getMessageID (line 61) | public String getMessageID() { method setMessageID (line 65) | public void setMessageID(String messageID) { method getTraceID (line 69) | public String getTraceID() { method setTraceID (line 73) | public void setTraceID(String traceID) { method getUserID (line 77) | public String getUserID() { method setUserID (line 81) | public void setUserID(String userID) { method getEndUserID (line 85) | public String getEndUserID() { method setEndUserID (line 89) | public void setEndUserID(String endUserID) { method getStatus (line 93) | public String getStatus() { method setStatus (line 97) | public void setStatus(String status) { method getRole (line 101) | public String getRole() { method setRole (line 105) | public void setRole(String role) { method getContent (line 109) | public Content[] getContent() { method setContent (line 113) | public void setContent(Content[] content) { class Content (line 117) | public static class Content { method getName (line 130) | public String getName() { method setName (line 134) | public void setName(String name) { method getVisibleScope (line 138) | public String getVisibleScope() { method setVisibleScope (line 142) | public void setVisibleScope(String visibleScope) { method getRawData (line 146) | public Map getRawData() { method setRawData (line 150) | public void setRawData(Map rawData) { method getUsage (line 154) | public Map getUsage() { method setUsage (line 158) | public void setUsage(Map usage) { method getMetrics (line 162) | public Map getMetrics() { method setMetrics (line 166) | public void setMetrics(Map metrics) { method getType (line 170) | public String getType() { method setType (line 174) | public void setType(String type) { method getText (line 178) | public Map getText() { method setText (line 182) | public void setText(Map text) { method getEvent (line 186) | public ComponentEvent getEvent() { method setEvent (line 190) | public void setEvent(ComponentEvent event) { class ComponentEvent (line 194) | public static class ComponentEvent { method getId (line 206) | public String getId() { method setId (line 210) | public void setId(String id) { method getStatus (line 214) | public String getStatus() { method setStatus (line 218) | public void setStatus(String status) { method getName (line 222) | public String getName() { method setName (line 226) | public void setName(String name) { method getCreatedTime (line 230) | public String getCreatedTime() { method setCreatedTime (line 234) | public void setCreatedTime(String createdTime) { method getErrorCode (line 238) | public String getErrorCode() { method setErrorCode (line 242) | public void setErrorCode(String errorCode) { method getErrorMessage (line 246) | public String getErrorMessage() { method setErrorMessage (line 250) | public void setErrorMessage(String errorMessage) { FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DatasetCreateResponse.java class DatasetCreateResponse (line 3) | public class DatasetCreateResponse { method getCode (line 8) | public int getCode() { method setCode (line 12) | public void setCode(int code) { method getMessage (line 16) | public String getMessage() { method setMessage (line 20) | public void setMessage(String message) { method getResult (line 24) | public DatasetCreateResult getResult() { method setResult (line 28) | public void setResult(DatasetCreateResult result) { method toString (line 32) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DatasetCreateResult.java class DatasetCreateResult (line 5) | public class DatasetCreateResult { method getId (line 26) | public String getId() { method setId (line 30) | public void setId(String id) { method getName (line 34) | public String getName() { method setName (line 38) | public void setName(String name) { method getDescription (line 42) | public String getDescription() { method setDescription (line 46) | public void setDescription(String description) { method getIndexingTechnique (line 50) | public String getIndexingTechnique() { method setIndexingTechnique (line 54) | public void setIndexingTechnique(String indexingTechnique) { method getDocumentCount (line 58) | public int getDocumentCount() { method setDocumentCount (line 62) | public void setDocumentCount(int documentCount) { method getWordCount (line 66) | public int getWordCount() { method setWordCount (line 70) | public void setWordCount(int wordCount) { method getCreatedBy (line 74) | public String getCreatedBy() { method setCreatedBy (line 78) | public void setCreatedBy(String createdBy) { method getCreatedAt (line 82) | public long getCreatedAt() { method setCreatedAt (line 86) | public void setCreatedAt(long createdAt) { method getUpdatedBy (line 90) | public String getUpdatedBy() { method setUpdatedBy (line 94) | public void setUpdatedBy(String updatedBy) { method getUpdatedAt (line 98) | public long getUpdatedAt() { method setUpdatedAt (line 102) | public void setUpdatedAt(long updatedAt) { method isPriority (line 106) | public boolean isPriority() { method setPriority (line 110) | public void setPriority(boolean priority) { method toString (line 114) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentAddResponse.java class DocumentAddResponse (line 3) | public class DocumentAddResponse { method getCode (line 8) | public int getCode() { method setCode (line 12) | public void setCode(int code) { method getMessage (line 16) | public String getMessage() { method setMessage (line 20) | public void setMessage(String message) { method getResult (line 24) | public DocumentAddResult getResult() { method setResult (line 28) | public void setResult(DocumentAddResult result) { method toString (line 32) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentAddResult.java class DocumentAddResult (line 7) | public class DocumentAddResult { method getDatasetId (line 13) | public String getDatasetId() { method setDatasetId (line 17) | public void setDatasetId(String datasetId) { method getDocumentIds (line 21) | public String[] getDocumentIds() { method setDocumentIds (line 25) | public void setDocumentIds(String[] documentIds) { method toString (line 29) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentDeleteResponse.java class DocumentDeleteResponse (line 3) | public class DocumentDeleteResponse { method getCode (line 8) | public int getCode() { method setCode (line 12) | public void setCode(int code) { method getMessage (line 16) | public String getMessage() { method setMessage (line 20) | public void setMessage(String message) { method getResult (line 24) | public Object getResult() { method setResult (line 28) | public void setResult(Object result) { method toString (line 32) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentListData.java class DocumentListData (line 7) | public class DocumentListData { method getId (line 38) | public String getId() { method setId (line 42) | public void setId(String id) { method getName (line 46) | public String getName() { method setName (line 50) | public void setName(String name) { method getDatasetProcessRuleId (line 54) | public String getDatasetProcessRuleId() { method setDatasetProcessRuleId (line 58) | public void setDatasetProcessRuleId(String datasetProcessRuleId) { method getDataSourceType (line 62) | public String getDataSourceType() { method setDataSourceType (line 66) | public void setDataSourceType(String dataSourceType) { method getPosition (line 70) | public int getPosition() { method setPosition (line 74) | public void setPosition(int position) { method getDataSourceInfo (line 78) | public Map getDataSourceInfo() { method setDataSourceInfo (line 82) | public void setDataSourceInfo(Map dataSourceInfo) { method getCreatedFrom (line 86) | public String getCreatedFrom() { method setCreatedFrom (line 90) | public void setCreatedFrom(String createdFrom) { method getCreatedBy (line 94) | public String getCreatedBy() { method setCreatedBy (line 98) | public void setCreatedBy(String createdBy) { method getCreatedAt (line 102) | public long getCreatedAt() { method setCreatedAt (line 106) | public void setCreatedAt(long createdAt) { method getIndexingStatus (line 110) | public String getIndexingStatus() { method setIndexingStatus (line 114) | public void setIndexingStatus(String indexingStatus) { method getError (line 118) | public Object getError() { method setError (line 122) | public void setError(Object error) { method isEnabled (line 126) | public boolean isEnabled() { method setEnabled (line 130) | public void setEnabled(boolean enabled) { method getDisplayStatus (line 134) | public String getDisplayStatus() { method setDisplayStatus (line 138) | public void setDisplayStatus(String displayStatus) { method getWordCount (line 142) | public int getWordCount() { method setWordCount (line 146) | public void setWordCount(int wordCount) { method getEstimatedWaitingMinutes (line 150) | public int getEstimatedWaitingMinutes() { method setEstimatedWaitingMinutes (line 154) | public void setEstimatedWaitingMinutes(int estimatedWaitingMinutes) { method getDisabledAt (line 158) | public Object getDisabledAt() { method setDisabledAt (line 162) | public void setDisabledAt(Object disabledAt) { method getDisabledBy (line 166) | public Object getDisabledBy() { method setDisabledBy (line 170) | public void setDisabledBy(Object disabledBy) { method toString (line 174) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentListResponse.java class DocumentListResponse (line 3) | public class DocumentListResponse { method getCode (line 8) | public int getCode() { method setCode (line 12) | public void setCode(int code) { method getMessage (line 16) | public String getMessage() { method setMessage (line 20) | public void setMessage(String message) { method getResult (line 24) | public DocumentListResult getResult() { method setResult (line 28) | public void setResult(DocumentListResult result) { method toString (line 32) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/DocumentListResult.java class DocumentListResult (line 7) | public class DocumentListResult { method isHasMore (line 15) | public boolean isHasMore() { method setHasMore (line 19) | public void setHasMore(boolean hasMore) { method getLimit (line 23) | public int getLimit() { method setLimit (line 27) | public void setLimit(int limit) { method getPage (line 31) | public int getPage() { method setPage (line 35) | public void setPage(int page) { method getTotal (line 39) | public int getTotal() { method setTotal (line 43) | public void setTotal(int total) { method getData (line 47) | public DocumentListData[] getData() { method setData (line 51) | public void setData(DocumentListData[] data) { method toString (line 55) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/FileUploadResponse.java class FileUploadResponse (line 3) | public class FileUploadResponse { method getCode (line 8) | public int getCode() { method setCode (line 12) | public void setCode(int code) { method getMessage (line 16) | public String getMessage() { method setMessage (line 20) | public void setMessage(String message) { method getResult (line 24) | public FileUploadResult getResult() { method setResult (line 28) | public void setResult(FileUploadResult result) { method toString (line 32) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/dataset/FileUploadResult.java class FileUploadResult (line 5) | public class FileUploadResult { method getId (line 17) | public String getId() { method setId (line 21) | public void setId(String id) { method getName (line 25) | public String getName() { method setName (line 29) | public void setName(String name) { method getSize (line 33) | public int getSize() { method setSize (line 37) | public void setSize(int size) { method getExtension (line 41) | public String getExtension() { method setExtension (line 45) | public void setExtension(String extension) { method getMimeType (line 49) | public String getMimeType() { method setMimeType (line 53) | public void setMimeType(String mimeType) { method getCreatedBy (line 57) | public String getCreatedBy() { method setCreatedBy (line 61) | public void setCreatedBy(String createdBy) { method getCreatedAt (line 65) | public long getCreatedAt() { method setCreatedAt (line 69) | public void setCreatedAt(long createdAt) { method toString (line 73) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkCreateRequest.java class ChunkCreateRequest (line 3) | public class ChunkCreateRequest { method ChunkCreateRequest (line 9) | public ChunkCreateRequest(String documetId, String content) { method ChunkCreateRequest (line 14) | public ChunkCreateRequest(String knowledgeBaseId, String documetId, St... method getKnowledgeBaseId (line 20) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 24) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getDocumentId (line 28) | public String getDocumentId() { method setDocumentId (line 32) | public void setDocumentId(String documentId) { method getContent (line 36) | public String getContent() { method setContent (line 40) | public void setContent(String content) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkCreateResponse.java class ChunkCreateResponse (line 5) | public class ChunkCreateResponse { method setChunkId (line 9) | public void setChunkId(String chunkId) { method getChunkId (line 13) | public String getChunkId() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDeleteRequest.java class ChunkDeleteRequest (line 3) | public class ChunkDeleteRequest { method setKnowledgeBaseId (line 7) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getKnowledgeBaseId (line 11) | public String getKnowledgeBaseId() { method setChunkId (line 15) | public void setChunkId(String chunkId) { method getChunkId (line 19) | public String getChunkId() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDescribeRequest.java class ChunkDescribeRequest (line 3) | public class ChunkDescribeRequest { method setChunkId (line 7) | public void setChunkId(String chunkId) { method setKnowledgeBaseId (line 11) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getChunkId (line 15) | public String getChunkId() { method getKnowledgeBaseId (line 19) | public String getKnowledgeBaseId() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDescribeResponse.java class ChunkDescribeResponse (line 5) | public class ChunkDescribeResponse { method setChunkId (line 21) | public void setChunkId(String chunkId) { method getChunkId (line 25) | public String getChunkId() { method setType (line 29) | public void setType(String type) { method getType (line 33) | public String getType() { method setKnowledgeBaseId (line 37) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getKnowledgeBaseId (line 41) | public String getKnowledgeBaseId() { method setDocumentId (line 45) | public void setDocumentId(String documentId) { method getDocumentId (line 49) | public String getDocumentId() { method setContent (line 53) | public void setContent(String content) { method getContent (line 57) | public String getContent() { method setWordCount (line 61) | public void setWordCount(Integer wordCount) { method getWordCount (line 65) | public Integer getWordCount() { method setTokenCount (line 69) | public void setTokenCount(Integer tokenCount) { method getTokenCount (line 73) | public Integer getTokenCount() { method setEnabled (line 77) | public void setEnabled(boolean enabled) { method getEnabled (line 81) | public boolean getEnabled() { method setStatus (line 85) | public void setStatus(String status) { method getStatus (line 89) | public String getStatus() { method setStatusMessage (line 93) | public void setStatusMessage(String statusMessage) { method getStatusMessage (line 97) | public String getStatusMessage() { method setImageUrls (line 101) | public void setImageUrls(String[] imageUrls) { method getImageUrls (line 105) | public String[] getImageUrls() { method setCreateTime (line 109) | public void setCreateTime(Integer createTime) { method getCreateTime (line 113) | public Integer getCreateTime() { method setUpdateTime (line 117) | public void setUpdateTime(Integer updateTime) { method getUpdateTime (line 121) | public Integer getUpdateTime() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunkModifyRequest.java class ChunkModifyRequest (line 3) | public class ChunkModifyRequest { method ChunkModifyRequest (line 9) | public ChunkModifyRequest(String chunkId, String content, boolean enab... method ChunkModifyRequest (line 15) | public ChunkModifyRequest(String knowledgeBaseId, String chunkId, Stri... method getKnowledgeBaseId (line 22) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 26) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getChunkId (line 30) | public String getChunkId() { method setChunkId (line 34) | public void setChunkId(String chunkId) { method getContent (line 38) | public String getContent() { method setContent (line 42) | public void setContent(String content) { method getEnable (line 46) | public boolean getEnable() { method setEnable (line 50) | public void setEnable(boolean enable) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunksDescribeRequest.java class ChunksDescribeRequest (line 3) | public class ChunksDescribeRequest { method ChunksDescribeRequest (line 11) | public ChunksDescribeRequest(String documentId, String marker, Integer... method ChunksDescribeRequest (line 18) | public ChunksDescribeRequest(String knowledgeBaseId, String documentId... method ChunksDescribeRequest (line 27) | public ChunksDescribeRequest(String knowledgeBaseId, String documentId... method getKnowledgeBaseId (line 37) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 41) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getDocumentId (line 45) | public String getDocumentId() { method setDocumentId (line 49) | public void setDocumentId(String documentId) { method getMarker (line 53) | public String getMarker() { method setMarker (line 57) | public void setMarker(String marker) { method getMaxKeys (line 61) | public Integer getMaxKeys() { method setMaxKeys (line 65) | public void setMaxKeys(Integer maxKeys) { method getType (line 69) | public String getType() { method setType (line 73) | public void setType(String type) { method setKeyword (line 77) | public void setKeyword(String keyword) { method getKeyword (line 81) | public String getKeyword() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/ChunksDescribeResponse.java class ChunksDescribeResponse (line 3) | public class ChunksDescribeResponse { method getData (line 10) | public ChunkDescribeResponse[] getData() { method setData (line 14) | public void setData(ChunkDescribeResponse[] data) { method getMarker (line 18) | public String getMarker() { method setMarker (line 22) | public void setMarker(String marker) { method isTruncated (line 26) | public boolean isTruncated() { method setTruncated (line 30) | public void setTruncated(boolean isTruncated) { method getNextMarker (line 34) | public String getNextMarker() { method setNextMarker (line 38) | public void setNextMarker(String nextMarker) { method getMaxKeys (line 42) | public Integer getMaxKeys() { method setMaxKeys (line 46) | public void setMaxKeys(Integer maxKeys) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/Document.java class Document (line 5) | public class Document { method getId (line 15) | public String getId() { method setId (line 19) | public void setId(String id) { method getName (line 23) | public String getName() { method setName (line 27) | public void setName(String name) { method getCreatedAt (line 31) | public String getCreatedAt() { method setCreatedAt (line 35) | public void setCreatedAt(String createdAt) { method getWordCount (line 39) | public int getWordCount() { method setWordCount (line 43) | public void setWordCount(int wordCount) { method isEnabled (line 47) | public boolean isEnabled() { method setEnabled (line 51) | public void setEnabled(boolean enabled) { method getMeta (line 55) | public Meta getMeta() { method setMeta (line 59) | public void setMeta(Meta meta) { class Meta (line 63) | public static class Meta { method getSource (line 68) | public String getSource() { method setSource (line 72) | public void setSource(String source) { method getFileId (line 76) | public String getFileId() { method setFileId (line 80) | public void setFileId(String fileId) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentAddRequest.java class DocumentAddRequest (line 5) | public class DocumentAddRequest { method getKnowledgeBaseId (line 17) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 21) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getContentType (line 25) | public String getContentType() { method setContentType (line 29) | public void setContentType(String contentType) { method isEnhanced (line 33) | public boolean isEnhanced() { method setEnhanced (line 37) | public void setEnhanced(boolean enhanced) { method getFileIds (line 41) | public String[] getFileIds() { method setFileIds (line 45) | public void setFileIds(String[] fileIds) { method getCustomProcessRule (line 49) | public CustomProcessRule getCustomProcessRule() { method setCustomProcessRule (line 53) | public void setCustomProcessRule(CustomProcessRule customProcessRule) { class CustomProcessRule (line 57) | public static class CustomProcessRule { method getSeparators (line 65) | public String[] getSeparators() { method setSeparators (line 69) | public void setSeparators(String[] separators) { method getTargetLength (line 73) | public int getTargetLength() { method setTargetLength (line 77) | public void setTargetLength(int targetLength) { method getOverlapRate (line 81) | public double getOverlapRate() { method setOverlapRate (line 85) | public void setOverlapRate(double overlapRate) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentAddResponse.java class DocumentAddResponse (line 5) | public class DocumentAddResponse { method getRequestId (line 15) | public String getRequestId() { method setRequestId (line 19) | public void setRequestId(String requestId) { method getKnowledgeBaseId (line 23) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 27) | public void setKnowledgeBaseId(String id) { method getDocumentIds (line 31) | public String[] getDocumentIds() { method setDocumentIds (line 35) | public void setDocumentIds(String[] documentIds) { method getCode (line 39) | public String getCode() { method setCode (line 43) | public void setCode(String code) { method getMessage (line 47) | public String getMessage() { method setMessage (line 51) | public void setMessage(String message) { method toString (line 55) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentDeleteRequest.java class DocumentDeleteRequest (line 8) | public class DocumentDeleteRequest { method getKonwledgeBaseId (line 15) | public String getKonwledgeBaseId() { method setKonwledgeBaseId (line 19) | public void setKonwledgeBaseId(String konwledgeBaseId) { method getDocumentId (line 23) | public String getDocumentId() { method setDocumentId (line 27) | public void setDocumentId(String documentId) { method toMap (line 31) | public Map toMap() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentDeleteResponse.java class DocumentDeleteResponse (line 5) | public class DocumentDeleteResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getCode (line 19) | public String getCode() { method setCode (line 23) | public void setCode(String code) { method getMessage (line 27) | public String getMessage() { method setMessage (line 31) | public void setMessage(String message) { method toString (line 35) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentDescribeResponse.java class DocumentDescribeResponse (line 3) | public class DocumentDescribeResponse { method getId (line 12) | public String getId() { method setId (line 16) | public void setId(String id) { method getName (line 20) | public String getName() { method setName (line 24) | public void setName(String name) { method getCreatedAt (line 28) | public String getCreatedAt() { method setCreatedAt (line 32) | public void setCreatedAt(String createdAt) { method getDisplayStatus (line 36) | public String getDisplayStatus() { method setDisplayStatus (line 40) | public void setDisplayStatus(String displayStatus) { method getWordCount (line 44) | public Integer getWordCount() { method setWordCount (line 48) | public void setWordCount(Integer wordCount) { method getEnabled (line 52) | public Boolean getEnabled() { method setEnabled (line 56) | public void setEnabled(Boolean enabled) { method getMeta (line 60) | public Meta getMeta() { method setMeta (line 64) | public void setMeta(Meta meta) { class Meta (line 68) | public static class Meta { method getSource (line 76) | public String getSource() { method setSource (line 80) | public void setSource(String source) { method getFileId (line 84) | public String getFileId() { method setFileId (line 88) | public void setFileId(String fileId) { method getUrl (line 92) | public String getUrl() { method setUrl (line 96) | public void setUrl(String url) { method getMimeType (line 100) | public String getMimeType() { method setMimeType (line 104) | public void setMimeType(String mime_type) { method getFileSize (line 108) | public Integer getFileSize() { method setFileSize (line 112) | public void setFileSize(Integer file_size) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentListRequest.java class DocumentListRequest (line 8) | public class DocumentListRequest { method getKonwledgeBaseId (line 16) | public String getKonwledgeBaseId() { method setKonwledgeBaseId (line 20) | public void setKonwledgeBaseId(String konwledgeBaseId) { method getLimit (line 24) | public int getLimit() { method setLimit (line 28) | public void setLimit(int limit) { method getAfter (line 32) | public String getAfter() { method setAfter (line 36) | public void setAfter(String after) { method getBefore (line 40) | public String getBefore() { method setBefore (line 44) | public void setBefore(String before) { method toMap (line 48) | public Map toMap() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentListResponse.java class DocumentListResponse (line 5) | public class DocumentListResponse { method getRequestId (line 12) | public String getRequestId() { method setRequestId (line 16) | public void setRequestId(String requestId) { method getData (line 20) | public Document[] getData() { method setData (line 24) | public void setData(Document[] data) { method getCode (line 28) | public String getCode() { method setCode (line 32) | public void setCode(String code) { method getMessage (line 36) | public String getMessage() { method setMessage (line 40) | public void setMessage(String message) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsCreateRequest.java class DocumentsCreateRequest (line 5) | public class DocumentsCreateRequest { method DocumentsCreateRequest (line 12) | public DocumentsCreateRequest(String knowledgeBaseId, String contentFo... method getKnowledgeBaseId (line 20) | public String getKnowledgeBaseId() { method getContentFormat (line 24) | public String getContentFormat() { method getSource (line 28) | public Source getSource() { method getProcessOption (line 32) | public ProcessOption getProcessOption() { class Source (line 36) | public static class Source { method Source (line 42) | public Source(String type, String[] urls, Integer urlDepth) { method Source (line 48) | public Source(String type, String[] urls, Integer urlDepth, UrlConfi... method getType (line 55) | public String getType() { method getUrls (line 59) | public String[] getUrls() { method getUrlDepth (line 63) | public Integer getUrlDepth() { method getUrlConfigs (line 67) | public UrlConfig[] getUrlConfigs() { method setUrlConfigs (line 71) | public void setUrlConfigs(UrlConfig[] urlConfigs) { class UrlConfig (line 75) | public static class UrlConfig { method UrlConfig (line 78) | public UrlConfig(Integer frequency) { method getFrequency (line 82) | public Integer getFrequency() { method setFrequency (line 86) | public void setFrequency(Integer frequency) { class ProcessOption (line 92) | public static class ProcessOption { method ProcessOption (line 98) | public ProcessOption(String template, Parser parser, Chunker chunker, method getTemplate (line 106) | public String getTemplate() { method getParser (line 110) | public Parser getParser() { method getChunker (line 114) | public Chunker getChunker() { method getKnowledgeAugmentation (line 118) | public KnowledgeAugmentation getKnowledgeAugmentation() { class Parser (line 122) | public static class Parser { method Parser (line 125) | public Parser(String[] choices) { method getChoices (line 129) | public String[] getChoices() { class Chunker (line 134) | public static class Chunker { method Chunker (line 140) | public Chunker(String[] choices, Separator separator, Pattern patt... method getChoices (line 148) | public String[] getChoices() { method getSeparator (line 152) | public Separator getSeparator() { method getPattern (line 156) | public Pattern getPattern() { method getPrependInfo (line 160) | public String[] getPrependInfo() { class Separator (line 164) | public static class Separator { method Separator (line 169) | public Separator(String[] separators, Integer targetLength, Doub... method getSeparators (line 175) | public String[] getSeparators() { method getTargetLength (line 179) | public Integer getTargetLength() { method getOverlapRate (line 183) | public Double getOverlapRate() { class Pattern (line 188) | public static class Pattern { method Pattern (line 194) | public Pattern(String markPosition, String regex, Integer target... method getMarkPosition (line 202) | public String getMarkPosition() { method getRegex (line 206) | public String getRegex() { method getTargetLength (line 210) | public Integer getTargetLength() { method getOverlapRate (line 214) | public Double getOverlapRate() { class KnowledgeAugmentation (line 220) | public static class KnowledgeAugmentation { method KnowledgeAugmentation (line 223) | public KnowledgeAugmentation(String[] choices) { method getChoices (line 227) | public String[] getChoices() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsCreateResponse.java class DocumentsCreateResponse (line 3) | public class DocumentsCreateResponse { method getRequestId (line 6) | public String getRequestId() { method setRequestId (line 9) | public void setRequestId(String requestId) { method getDocumentIds (line 12) | public String[] getDocumentIds() { method setDocumentIds (line 15) | public void setDocumentIds(String[] documentIds) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsDescribeRequest.java class DocumentsDescribeRequest (line 3) | public class DocumentsDescribeRequest { method DocumentsDescribeRequest (line 8) | public DocumentsDescribeRequest(String marker, Integer maxKeys) { method DocumentsDescribeRequest (line 13) | public DocumentsDescribeRequest(String knowledgeBaseId, String marker,... method getKnowledgeBaseId (line 19) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 23) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getMarker (line 27) | public String getMarker() { method setMarker (line 31) | public void setMarker(String marker) { method getMaxKeys (line 35) | public Integer getMaxKeys() { method setMaxKeys (line 39) | public void setMaxKeys(Integer maxKeys) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsDescribeResponse.java class DocumentsDescribeResponse (line 3) | public class DocumentsDescribeResponse { method getData (line 10) | public DocumentDescribeResponse[] getData() { method setData (line 14) | public void setData(DocumentDescribeResponse[] data) { method getMarker (line 18) | public String getMarker() { method setMarker (line 22) | public void setMarker(String marker) { method isTruncated (line 26) | public boolean isTruncated() { method setTruncated (line 30) | public void setTruncated(boolean isTruncated) { method getNextMarker (line 34) | public String getNextMarker() { method setNextMarker (line 38) | public void setNextMarker(String nextMarker) { method getMaxKeys (line 42) | public Integer getMaxKeys() { method setMaxKeys (line 46) | public void setMaxKeys(Integer maxKeys) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsUploadResponse.java class DocumentsUploadResponse (line 3) | public class DocumentsUploadResponse { method getRequestId (line 7) | public String getRequestId() { method setRequestId (line 11) | public void setRequestId(String requestId) { method getDocumentId (line 15) | public String getDocumentId() { method setDocumentId (line 19) | public void setDocumentId(String documentId) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/FileUploadResponse.java class FileUploadResponse (line 5) | public class FileUploadResponse { method getRequestId (line 12) | public String getRequestId() { method setRequestId (line 16) | public void setRequestId(String requestId) { method getId (line 20) | public String getId() { method setId (line 24) | public void setId(String id) { method getCode (line 28) | public String getCode() { method setCode (line 32) | public void setCode(String code) { method getMessage (line 36) | public String getMessage() { method setMessage (line 40) | public void setMessage(String message) { method toString (line 44) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseConfig.java class KnowledgeBaseConfig (line 3) | public class KnowledgeBaseConfig { method KnowledgeBaseConfig (line 7) | public KnowledgeBaseConfig(Index index) { method KnowledgeBaseConfig (line 11) | public KnowledgeBaseConfig(Index index, Catalogue catalogue) { method getIndex (line 16) | public Index getIndex() { method setIndex (line 20) | public void setIndex(Index index) { method setCatalogue (line 24) | public void setCatalogue(Catalogue catalogue) { method getCatalogue (line 28) | public Catalogue getCatalogue() { class Index (line 32) | public static class Index { method Index (line 39) | public Index(String type, String clusterId, String username, String ... method getType (line 47) | public String getType() { method getClusterId (line 51) | public String getClusterId() { method getUsername (line 55) | public String getUsername() { method getPassword (line 59) | public String getPassword() { method getLocation (line 63) | public String getLocation() { class Catalogue (line 68) | public static class Catalogue { method setPathPrefix (line 71) | public void setPathPrefix(String pathPrefix) { method getPathPrefix (line 75) | public String getPathPrefix() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseDetail.java class KnowledgeBaseDetail (line 3) | public class KnowledgeBaseDetail { method getId (line 9) | public String getId() { method setId (line 13) | public void setId(String id) { method getConfig (line 17) | public KnowledgeBaseConfig getConfig() { method setConfig (line 21) | public void setConfig(KnowledgeBaseConfig config) { method getName (line 25) | public String getName() { method setName (line 29) | public void setName(String name) { method getDescription (line 33) | public String getDescription() { method setDescription (line 37) | public void setDescription(String description) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseDetailRequest.java class KnowledgeBaseDetailRequest (line 5) | public class KnowledgeBaseDetailRequest { method getKnowledgeBaseId (line 9) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 13) | public void setKnowledgeBaseId(String knowledgeBaseId) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseListRequest.java class KnowledgeBaseListRequest (line 3) | public class KnowledgeBaseListRequest { method KnowledgeBaseListRequest (line 11) | public KnowledgeBaseListRequest(String marker, Integer maxKeys, String... method getMarker (line 17) | public String getMarker() { method getMaxKeys (line 21) | public int getMaxKeys() { method getKeyword (line 25) | public String getKeyword() { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseListResponse.java class KnowledgeBaseListResponse (line 3) | public class KnowledgeBaseListResponse { method getRequestId (line 11) | public String getRequestId() { method setRequestId (line 15) | public void setRequestId(String requestId) { method getData (line 19) | public KnowledgeBaseDetail[] getData() { method setData (line 23) | public void setData(KnowledgeBaseDetail[] data) { method getMarker (line 27) | public String getMarker() { method setMarker (line 31) | public void setMarker(String marker) { method isTruncated (line 35) | public boolean isTruncated() { method setTruncated (line 39) | public void setTruncated(boolean isTruncated) { method getNextMarker (line 43) | public String getNextMarker() { method setNextMarker (line 47) | public void setNextMarker(String nextMarker) { method getMaxKeys (line 51) | public int getMaxKeys() { method setMaxKeys (line 55) | public void setMaxKeys(int maxKeys) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseModifyRequest.java class KnowledgeBaseModifyRequest (line 5) | public class KnowledgeBaseModifyRequest { method getKnowledgeBaseId (line 12) | public String getKnowledgeBaseId() { method setKnowledgeBaseId (line 16) | public void setKnowledgeBaseId(String knowledgeBaseId) { method getName (line 20) | public String getName() { method setName (line 24) | public void setName(String name) { method getDescription (line 28) | public String getDescription() { method setDescription (line 32) | public void setDescription(String description) { method getConfig (line 36) | public KnowledgeBaseConfig getConfig() { method setConfig (line 40) | public void setConfig(KnowledgeBaseConfig config) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/QueryKnowledgeBaseRequest.java class QueryKnowledgeBaseRequest (line 5) | public class QueryKnowledgeBaseRequest { method QueryKnowledgeBaseRequest (line 15) | public QueryKnowledgeBaseRequest(String query, String type, Float rank... method getQuery (line 28) | public String getQuery() { method setQuery (line 32) | public void setQuery(String query) { method getType (line 36) | public String getType() { method setType (line 40) | public void setType(String type) { method getRank_score_threshold (line 44) | public Float getRank_score_threshold() { method setRank_score_threshold (line 48) | public void setRank_score_threshold(Float rank_score_threshold) { method getTop (line 52) | public Integer getTop() { method setTop (line 56) | public void setTop(Integer top) { method getSkip (line 60) | public Integer getSkip() { method setSkip (line 64) | public void setSkip(Integer skip) { method getKnowledgebase_ids (line 68) | public String[] getKnowledgebase_ids() { method setKnowledgebase_ids (line 72) | public void setKnowledgebase_ids(String[] knowledgebase_ids) { method getMetadata_filters (line 76) | public MetadataFilters getMetadata_filters() { method setMetadata_filters (line 80) | public void setMetadata_filters(MetadataFilters metadata_filters) { method getPipeline_config (line 84) | public QueryPipelineConfig getPipeline_config() { method setPipeline_config (line 88) | public void setPipeline_config(QueryPipelineConfig pipeline_config) { class MetadataFilter (line 92) | public static class MetadataFilter { method getOperator (line 97) | public String getOperator() { method setOperator (line 101) | public void setOperator(String operator) { method getField (line 105) | public String getField() { method setField (line 109) | public void setField(String field) { method getValue (line 113) | public Object getValue() { method setValue (line 117) | public void setValue(Object value) { class MetadataFilters (line 122) | public static class MetadataFilters { method getFilters (line 126) | public List getFilters() { method setFilters (line 130) | public void setFilters(List filters) { method getCondition (line 134) | public String getCondition() { method setCondition (line 138) | public void setCondition(String condition) { class PreRankingConfig (line 143) | public static class PreRankingConfig { method getBm25_weight (line 150) | public Double getBm25_weight() { method setBm25_weight (line 154) | public void setBm25_weight(Double bm25_weight) { method getVec_weight (line 158) | public Double getVec_weight() { method setVec_weight (line 162) | public void setVec_weight(Double vec_weight) { method getBm25_b (line 166) | public Double getBm25_b() { method setBm25_b (line 170) | public void setBm25_b(Double bm25_b) { method getBm25_k1 (line 174) | public Double getBm25_k1() { method setBm25_k1 (line 178) | public void setBm25_k1(Double bm25_k1) { method getBm25_max_score (line 182) | public Double getBm25_max_score() { method setBm25_max_score (line 186) | public void setBm25_max_score(Double bm25_max_score) { class ElasticSearchRetrieveConfig (line 191) | public static class ElasticSearchRetrieveConfig { method getName (line 197) | public String getName() { method setName (line 201) | public void setName(String name) { method getType (line 205) | public String getType() { method setType (line 209) | public void setType(String type) { method getThreshold (line 213) | public Double getThreshold() { method setThreshold (line 217) | public void setThreshold(Double threshold) { method getTop (line 221) | public Integer getTop() { method setTop (line 225) | public void setTop(Integer top) { class VectorDBRetrieveConfig (line 230) | public static class VectorDBRetrieveConfig { method getName (line 236) | public String getName() { method setName (line 240) | public void setName(String name) { method getType (line 244) | public String getType() { method setType (line 248) | public void setType(String type) { method getThreshold (line 252) | public Double getThreshold() { method setThreshold (line 256) | public void setThreshold(Double threshold) { method getTop (line 260) | public Integer getTop() { method setTop (line 264) | public void setTop(Integer top) { class RankingConfig (line 270) | public static class RankingConfig { method getName (line 277) | public String getName() { method setName (line 281) | public void setName(String name) { method getType (line 285) | public String getType() { method setType (line 289) | public void setType(String type) { method getInputs (line 293) | public List getInputs() { method setInputs (line 297) | public void setInputs(List inputs) { method getModel_name (line 301) | public String getModel_name() { method setModel_name (line 305) | public void setModel_name(String model_name) { method getTop (line 309) | public Integer getTop() { method setTop (line 313) | public void setTop(Integer top) { class SmallToBigConfig (line 318) | public static class SmallToBigConfig { method getName (line 322) | public String getName() { method setName (line 326) | public void setName(String name) { method getType (line 330) | public String getType() { method setType (line 334) | public void setType(String type) { class QueryPipelineConfig (line 340) | public static class QueryPipelineConfig { method getId (line 344) | public String getId() { method setId (line 348) | public void setId(String id) { method getPipeline (line 352) | public List getPipeline() { method setPipeline (line 356) | public void setPipeline(List pipeline) { FILE: java/src/main/java/com/baidubce/appbuilder/model/knowledgebase/QueryKnowledgeBaseResponse.java class QueryKnowledgeBaseResponse (line 6) | public class QueryKnowledgeBaseResponse { method getRequestId (line 13) | public String getRequestId() { return requestId; } method setRequestId (line 15) | public void setRequestId(String requestId) { this.requestId = requestI... method getCode (line 17) | public String getCode() { return code; } method setCode (line 19) | public void setCode(String code) { this.code = code; } method getMessage (line 21) | public String getMessage() { return message; } method setMessage (line 23) | public void setMessage(String message) { this.message = message; } method getChunks (line 25) | public List getChunks() { return chunks; } method setChunks (line 27) | public void setChunks(List chunks) { this.chunks = chunks; } method getTotal_count (line 29) | public int getTotal_count() { return total_count; } method setTotal_count (line 31) | public void setTotal_count(int total_count) { this.total_count = total... class Chunk (line 33) | public static class Chunk { method getChunk_id (line 51) | public String getChunk_id() { return chunk_id; } method setChunk_id (line 53) | public void setChunk_id(String chunk_id) { this.chunk_id = chunk_id; } method getKnowledgebase_id (line 55) | public String getKnowledgebase_id() { return knowledgebase_id; } method setKnowledgebase_id (line 57) | public void setKnowledgebase_id(String knowledgebase_id) { this.know... method getDocument_id (line 59) | public String getDocument_id() { return document_id; } method setDocument_id (line 61) | public void setDocument_id(String document_id) { this.document_id = ... method getDocument_name (line 63) | public String getDocument_name() { return document_name; } method setDocument_name (line 65) | public void setDocument_name(String document_name) { this.document_n... method getMeta (line 67) | public Map getMeta() { return meta; } method setMeta (line 69) | public void setMeta(Map meta) { this.meta = meta; } method getType (line 71) | public String getType() { return type; } method setType (line 73) | public void setType(String type) { this.type = type; } method getContent (line 75) | public String getContent() { return content; } method setContent (line 77) | public void setContent(String content) { this.content = content; } method getCreate_time (line 79) | public String getCreate_time() { return create_time; } method setCreate_time (line 81) | public void setCreate_time(String create_time) { this.create_time = ... method getUpdate_time (line 83) | public String getUpdate_time() { return update_time; } method setUpdate_time (line 85) | public void setUpdate_time(String update_time) { this.update_time = ... method getRetrieval_score (line 87) | public float getRetrieval_score() { return retrieval_score; } method setRetrieval_score (line 89) | public void setRetrieval_score(float retrieval_score) { this.retriev... method getRank_score (line 91) | public float getRank_score() { return rank_score; } method setRank_score (line 93) | public void setRank_score(float rank_score) { this.rank_score = rank... method getLocations (line 95) | public ChunkLocation getLocations() { return locations; } method setLocations (line 97) | public void setLocations(ChunkLocation locations) { this.locations =... method getChildren (line 99) | public List getChildren() { return children; } method setChildren (line 101) | public void setChildren(List children) { this.children = chil... method getNeighbour_chunks (line 103) | public List getNeighbour_chunks() { return neighbour_chunks; } method setNeighbour_chunks (line 105) | public void setNeighbour_chunks(List neighbour_chunks) { this... method getOriginal_chunk_id (line 107) | public String getOriginal_chunk_id() { return original_chunk_id; } method setOriginal_chunk_id (line 109) | public void setOriginal_chunk_id(String original_chunk_id) { this.or... method getOriginal_chunk_offset (line 111) | public Integer getOriginal_chunk_offset() { return original_chunk_of... method setOriginal_chunk_offset (line 113) | public void setOriginal_chunk_offset(Integer original_chunk_offset) ... class ChunkLocation (line 116) | public static class ChunkLocation { method getPaget_num (line 120) | public List getPaget_num() { method setPaget_num (line 124) | public void setPaget_num(List paget_num) { method getBox (line 128) | public List> getBox() { method setBox (line 132) | public void setBox(List> box) { FILE: java/src/main/java/com/baidubce/appbuilder/model/rag/EventContent.java class EventContent (line 9) | public class EventContent { method getEventCode (line 32) | public String getEventCode() { method setEventCode (line 36) | public void setEventCode(String eventCode) { method getEnentMessage (line 40) | public String getEnentMessage() { method setEnentMessage (line 44) | public void setEnentMessage(String enentMessage) { method getNodeName (line 48) | public String getNodeName() { method setNodeName (line 52) | public void setNodeName(String nodeName) { method getDependencyNodes (line 56) | public String[] getDependencyNodes() { method setDependencyNodes (line 60) | public void setDependencyNodes(String[] dependencyNodes) { method getEventType (line 64) | public String getEventType() { method setEventType (line 68) | public void setEventType(String eventType) { method getEventId (line 72) | public String getEventId() { method setEventId (line 76) | public void setEventId(String eventId) { method getEventStatus (line 80) | public String getEventStatus() { method setEventStatus (line 84) | public void setEventStatus(String eventStatus) { method getContentType (line 88) | public String getContentType() { method setContentType (line 92) | public void setContentType(String contentType) { method getOutputs (line 96) | public Map getOutputs() { method setOutputs (line 100) | public void setOutputs(Map outputs) { method getDetail (line 104) | public HashMap getDetail() { method setDetail (line 108) | public void setDetail(HashMap detail) { method toString (line 112) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/rag/RAGIterator.java class RAGIterator (line 7) | public class RAGIterator { method RAGIterator (line 11) | public RAGIterator(HttpResponse> resp) { method hasNext (line 16) | public boolean hasNext() { method next (line 20) | public RAGResponse next() throws AppBuilderServerException { method close (line 29) | public void close(){ FILE: java/src/main/java/com/baidubce/appbuilder/model/rag/RAGResponse.java class RAGResponse (line 5) | public class RAGResponse { method getTraceId (line 13) | public String getTraceId() { method setTraceId (line 17) | public void setTraceId(String traceId) { method getTime (line 21) | public long getTime() { method setTime (line 25) | public void setTime(int time) { method getResult (line 29) | public RAGResult getResult() { method setResult (line 33) | public void setResult(RAGResult result) { method getCode (line 37) | public int getCode() { method setCode (line 41) | public void setCode(int code) { method getMessage (line 45) | public String getMessage() { method setMessage (line 49) | public void setMessage(String message) { method toString (line 53) | @Override FILE: java/src/main/java/com/baidubce/appbuilder/model/rag/RAGResult.java class RAGResult (line 7) | public class RAGResult { method getAnswer (line 20) | public String getAnswer() { method setAnswer (line 24) | public void setAnswer(String answer) { method getConversationId (line 28) | public String getConversationId() { method setConversationId (line 32) | public void setConversationId(String conversationId) { method getMessageId (line 36) | public String getMessageId() { method setMessageId (line 40) | public void setMessageId(String messageId) { method getIsCompletion (line 44) | public Object getIsCompletion() { method setIsCompletion (line 48) | public void setIsCompletion(Object isCompletion) { method getPrototype (line 52) | public String getPrototype() { method setPrototype (line 56) | public void setPrototype(String prototype) { method getContent (line 60) | public EventContent[] getContent() { method setContent (line 64) | public void setContent(EventContent[] content) { method toString (line 68) | @Override FILE: java/src/test/java/com/baidubce/appbuilder/AISearchTest.java class AISearchTest (line 17) | public class AISearchTest { method setUp (line 18) | @Before method TestBaseSearch (line 24) | @Test method TestAISearch (line 40) | @Test method TestAISearchStream (line 56) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/AgentBuilderTest.java class AgentBuilderTest (line 16) | public class AgentBuilderTest{ method setUp (line 19) | @Before method testAgentBuilder (line 26) | @Test method testCreateConversation_AppBuilderServerException (line 42) | @Test(expected = AppBuilderServerException.class) FILE: java/src/test/java/com/baidubce/appbuilder/AppBuilderClientTest.java class AppBuilderClientTest (line 31) | public class AppBuilderClientTest { method setUp (line 37) | @Before method GetAppsTest (line 47) | @Test method DescribeAppTest (line 55) | @Test method DescribeAppsTest (line 66) | @Test method AppBuilderClientRunTest (line 73) | @Test method testCreateConversation_AppBuilderServerException (line 118) | @Test(expected = AppBuilderServerException.class) method AppBuilderClientRunFuncTest (line 125) | @Test method AppBuilderClientRunToolChoiceTest (line 157) | @Test method AppBuilderClientRunParametersTest (line 179) | @Test method AppBuilderClientRunChatflowTest (line 200) | @Test method AppBuilderClientFeedbackTest (line 296) | @Test method AppBuilderClientRunCustomMetadataTest (line 321) | @Test method AppBuilderClientClose (line 351) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/ComponentClientTest.java class ComponentClientTest (line 17) | public class ComponentClientTest { method setUp (line 20) | @Before method TestComponentClientRun (line 27) | @Test method TestComponentClientRunStream (line 39) | @Test method TestComponentClientHeaderRun (line 55) | @Test method TestComponentClientHeaderRunStream (line 68) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/DatasetTest.java class DatasetTest (line 15) | public class DatasetTest { method setUp (line 17) | @Before FILE: java/src/test/java/com/baidubce/appbuilder/KnowledgebaseTest.java class KnowledgebaseTest (line 20) | public class KnowledgebaseTest { method setUp (line 21) | @Before method testAddDocument (line 27) | @Test method testCreateKnowledgebase (line 70) | @Test method testCreateChunk (line 153) | @Test method testQueryKnowledgeBase (line 185) | @Test method testQueryKnowledgeBaseV2 (line 198) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/RAGTest.java class RAGTest (line 17) | public class RAGTest { method setUp (line 20) | @Before FILE: java/src/test/java/com/baidubce/appbuilder/base/exception/AppBuilderServerExceptionTest.java class AppBuilderServerExceptionTest (line 6) | public class AppBuilderServerExceptionTest { method testConstructorWithBasicFields (line 8) | @Test method testConstructorWithAppbuilderFields (line 20) | @Test method testConstructorWithResponseBody (line 32) | @Test method testToString (line 44) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/base/utils/json/JsonUtilsTest.java class JsonUtilsTest (line 8) | public class JsonUtilsTest { method testSerialize (line 10) | @Test method testDeserialize (line 25) | @Test method testDeserializeToMap (line 38) | @Test class TestObject (line 52) | static class TestObject { method TestObject (line 56) | public TestObject(String name, int value) { method getName (line 61) | public String getName() { method getValue (line 65) | public int getValue() { FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/AgentBuilderResponseTest.java class AgentBuilderResponseTest (line 7) | public class AgentBuilderResponseTest { method setUp (line 10) | @Before method testRequestId (line 15) | @Test method testData (line 21) | @Test method testAnswer (line 27) | @Test method testConversationId (line 33) | @Test method testMessageId (line 39) | @Test method testIsCompletion (line 45) | @Test method testContent (line 54) | @Test method testToString (line 61) | @Test method testNullContent (line 79) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/AgentBuilderResultTest.java class AgentBuilderResultTest (line 7) | public class AgentBuilderResultTest { method setUp (line 12) | @Before method testGetAnswer (line 24) | @Test method testGetEvents (line 29) | @Test method testToString (line 40) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/ConversationResponseTest.java class ConversationResponseTest (line 7) | public class ConversationResponseTest { method setUp (line 10) | @Before method testRequestId (line 17) | @Test method testConversationId (line 22) | @Test method testToString (line 27) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/EventContentTest.java class EventContentTest (line 10) | public class EventContentTest { method setUp (line 13) | @Before method testEventCode (line 30) | @Test method testEnentMessage (line 35) | @Test method testEventType (line 40) | @Test method testEventId (line 45) | @Test method testEventStatus (line 50) | @Test method testContentType (line 55) | @Test method testOutputs (line 60) | @Test method testToString (line 69) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/EventTest.java class EventTest (line 10) | public class EventTest { method setUp (line 13) | @Before method testCode (line 29) | @Test method testMessage (line 34) | @Test method testEventType (line 39) | @Test method testStatus (line 44) | @Test method testContentType (line 49) | @Test method testDetail (line 54) | @Test method testToString (line 63) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/agentbuilder/FileUploadResponseTest.java class FileUploadResponseTest (line 7) | public class FileUploadResponseTest { method setUp (line 10) | @Before method testGetRequestId (line 18) | @Test method testGetFileId (line 23) | @Test method testGetConversationId (line 28) | @Test method testToString (line 33) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/AppBuilderClientResponseTest.java class AppBuilderClientResponseTest (line 7) | public class AppBuilderClientResponseTest { method setUp (line 10) | @Before method testRequestId (line 15) | @Test method testData (line 21) | @Test method testAnswer (line 27) | @Test method testConversationId (line 33) | @Test method testMessageId (line 39) | @Test method testIsCompletion (line 45) | @Test method testContent (line 51) | @Test method testToString (line 58) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/AppBuilderClientRunRequestTest.java class AppBuilderClientRunRequestTest (line 10) | public class AppBuilderClientRunRequestTest { method setUp (line 18) | @Before method testAppId (line 47) | @Test method testQuery (line 52) | @Test method testStream (line 57) | @Test method testConversationID (line 62) | @Test method testEndUserId (line 67) | @Test method testTools (line 72) | @Test method testToolOutputs (line 81) | @Test method testToolChoice (line 88) | @Test method testToolFunction (line 95) | @Test method testToolChoiceFunction (line 102) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/AppListRequestTest.java class AppListRequestTest (line 10) | public class AppListRequestTest { method setUp (line 14) | @Before method testGetLimit (line 19) | @Test method testSetLimit (line 25) | @Test method testGetAfter (line 31) | @Test method testSetAfter (line 37) | @Test method testGetBefore (line 43) | @Test method testSetBefore (line 49) | @Test method testToMap_WithLimit (line 55) | @Test method testToMap_WithoutLimit (line 70) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/AppListResponseTest.java class AppListResponseTest (line 7) | public class AppListResponseTest { method setUp (line 11) | @Before method testGetSetRequestId (line 16) | @Test method testGetSetData (line 22) | @Test method testGetSetCode (line 31) | @Test method testGetSetMessage (line 37) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/AppTest.java class AppTest (line 7) | public class AppTest { method setUp (line 11) | @Before method testSetGetId (line 16) | @Test method testSetGetName (line 22) | @Test method testSetGetDescription (line 28) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/ConversationResponseTest.java class ConversationResponseTest (line 7) | public class ConversationResponseTest { method setUp (line 11) | @Before method testSetGetRequestId (line 16) | @Test method testSetGetConversationId (line 22) | @Test method testToString (line 28) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/EventContentTest.java class EventContentTest (line 11) | public class EventContentTest { method setUp (line 16) | @Before method testGetSetEventCode (line 22) | @Test method testGetSetEventMessage (line 28) | @Test method testGetSetEventType (line 34) | @Test method testGetSetEventId (line 40) | @Test method testGetSetEventStatus (line 46) | @Test method testGetSetContentType (line 52) | @Test method testGetSetOutputs (line 58) | @Test method testGetSetUsage (line 66) | @Test method testGetSetToolCalls (line 74) | @Test method testToString (line 80) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/EventTest.java class EventTest (line 11) | public class EventTest { method setUp (line 18) | @Before method testGetCode (line 41) | @Test method testGetMessage (line 46) | @Test method testGetEventType (line 51) | @Test method testGetStatus (line 56) | @Test method testGetContentType (line 61) | @Test method testGetDetail (line 66) | @Test method testGetUsage (line 71) | @Test method testGetToolCalls (line 76) | @Test method testToString (line 81) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/FileUploadResponseTest.java class FileUploadResponseTest (line 8) | public class FileUploadResponseTest { method setUp (line 12) | @Before method testSetGetRequestId (line 17) | @Test method testSetGetFileId (line 23) | @Test method testSetGetConversationId (line 29) | @Test method testToString (line 35) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/appbuilderclient/ToolCallTest.java class ToolCallTest (line 8) | public class ToolCallTest { method setUp (line 12) | @Before method testGetId (line 17) | @Test method testSetId (line 23) | @Test method testGetType (line 29) | @Test method testSetType (line 35) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/DatasetCreateResultTest.java class DatasetCreateResultTest (line 7) | public class DatasetCreateResultTest { method setUp (line 10) | @Before method testId (line 15) | @Test method testName (line 21) | @Test method testDescription (line 27) | @Test method testIndexingTechnique (line 33) | @Test method testDocumentCount (line 39) | @Test method testWordCount (line 45) | @Test method testCreatedBy (line 51) | @Test method testCreatedAt (line 57) | @Test method testUpdatedBy (line 63) | @Test method testUpdatedAt (line 69) | @Test method testIsPriority (line 75) | @Test method testToString (line 84) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/DocumentAddResultTest.java class DocumentAddResultTest (line 8) | public class DocumentAddResultTest { method setUp (line 11) | @Before method testGetDatasetId (line 18) | @Test method testSetDatasetId (line 23) | @Test method testGetDocumentIds (line 29) | @Test method testSetDocumentIds (line 36) | @Test method testToString (line 42) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/DocumentListDataTest.java class DocumentListDataTest (line 9) | public class DocumentListDataTest { method setUp (line 12) | @Before method testId (line 17) | @Test method testName (line 23) | @Test method testDatasetProcessRuleId (line 29) | @Test method testDataSourceType (line 35) | @Test method testPosition (line 41) | @Test method testDataSourceInfo (line 47) | @Test method testCreatedFrom (line 55) | @Test method testCreatedBy (line 61) | @Test method testCreatedAt (line 67) | @Test method testIndexingStatus (line 73) | @Test method testError (line 79) | @Test method testEnabled (line 86) | @Test method testDisplayStatus (line 95) | @Test method testWordCount (line 101) | @Test method testEstimatedWaitingMinutes (line 107) | @Test method testDisabledAt (line 113) | @Test method testDisabledBy (line 120) | @Test method testToString (line 127) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/DocumentListResponseTest.java class DocumentListResponseTest (line 7) | public class DocumentListResponseTest { method setUp (line 11) | @Before method testCode (line 21) | @Test method testMessage (line 27) | @Test method testResult (line 33) | @Test method testToString (line 41) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/DocumentListResultTest.java class DocumentListResultTest (line 7) | public class DocumentListResultTest { method setUp (line 10) | @Before method testHasMore (line 15) | @Test method testLimit (line 24) | @Test method testPage (line 30) | @Test method testTotal (line 36) | @Test method testData (line 42) | @Test method testToString (line 62) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/FileUploadResponseTest.java class FileUploadResponseTest (line 7) | public class FileUploadResponseTest { method setUp (line 11) | @Before method testCode (line 24) | @Test method testMessage (line 30) | @Test method testResult (line 36) | @Test method testToString (line 49) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/FileUploadResultTest.java class FileUploadResultTest (line 7) | public class FileUploadResultTest { method setUp (line 10) | @Before method testId (line 15) | @Test method testName (line 21) | @Test method testSize (line 27) | @Test method testExtension (line 33) | @Test method testMimeType (line 39) | @Test method testCreatedBy (line 45) | @Test method testCreatedAt (line 51) | @Test method testToString (line 57) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/dataset/ResponseTest.java class ResponseTest (line 7) | public class ResponseTest { method setUp (line 12) | @Before method testDatasetCreateResponse (line 35) | @Test method testDocumentAddResponse (line 49) | @Test method testDocumentDeleteResponse (line 63) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkCreateRequestTest.java class ChunkCreateRequestTest (line 7) | public class ChunkCreateRequestTest { method setUp (line 11) | @Before method testGetDocumentId (line 16) | @Test method testGetContent (line 21) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkCreateResponseTest.java class ChunkCreateResponseTest (line 7) | public class ChunkCreateResponseTest { method setUp (line 11) | @Before method testSetAndGetChunkId (line 17) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDeleteRequestTest.java class ChunkDeleteRequestTest (line 7) | public class ChunkDeleteRequestTest { method setUp (line 11) | @Before method testSetAndGetChunkId (line 16) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDescribeRequestTest.java class ChunkDescribeRequestTest (line 7) | public class ChunkDescribeRequestTest { method setUp (line 11) | @Before method testSetAndGetChunkId (line 17) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkDescribeResponseTest.java class ChunkDescribeResponseTest (line 7) | public class ChunkDescribeResponseTest { method setUp (line 10) | @Before method testChunkId (line 15) | @Test method testType (line 21) | @Test method testKnowledgeBaseId (line 27) | @Test method testDocumentId (line 33) | @Test method testContent (line 39) | @Test method testWordCount (line 45) | @Test method testTokenCount (line 51) | @Test method testEnabled (line 57) | @Test method testStatus (line 66) | @Test method testStatusMessage (line 72) | @Test method testCreateTime (line 78) | @Test method testUpdateTime (line 84) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunkModifyRequestTest.java class ChunkModifyRequestTest (line 7) | public class ChunkModifyRequestTest { method setUp (line 11) | @Before method testGetChunkId (line 17) | @Test method testGetContent (line 22) | @Test method testGetEnable (line 27) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunksDescribeRequestTest.java class ChunksDescribeRequestTest (line 7) | public class ChunksDescribeRequestTest { method setUp (line 11) | @Before method testGetDocumentId (line 17) | @Test method testGetMarker (line 22) | @Test method testGetMaxKeys (line 27) | @Test method testGetType (line 32) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/ChunksDescribeResponseTest.java class ChunksDescribeResponseTest (line 7) | public class ChunksDescribeResponseTest { method setUp (line 12) | @Before method testData (line 32) | @Test method testMarker (line 43) | @Test method testIsTruncated (line 48) | @Test method testNextMarker (line 53) | @Test method testMaxKeys (line 58) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentAddRequestTest.java class DocumentAddRequestTest (line 9) | public class DocumentAddRequestTest { method setUp (line 14) | @Before method testSetAndGetKnowledgeBaseId (line 20) | @Test method testSetAndGetContentType (line 27) | @Test method testSetAndGetIsEnhanced (line 34) | @Test method testSetAndGetFileIds (line 41) | @Test method testSetAndGetCustomProcessRule (line 48) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentDeleteRequestTest.java class DocumentDeleteRequestTest (line 10) | public class DocumentDeleteRequestTest { method setUp (line 14) | @Before method testSetAndGetKonwledgeBaseId (line 20) | @Test method testSetAndGetDocumentId (line 29) | @Test method testToMap (line 38) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentDeleteResponseTest.java class DocumentDeleteResponseTest (line 8) | public class DocumentDeleteResponseTest { method setUp (line 12) | @Before method testGetSetRequestId (line 17) | @Test method testGetSetCode (line 23) | @Test method testGetSetMessage (line 29) | @Test method testToString (line 35) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentListRequestTest.java class DocumentListRequestTest (line 11) | public class DocumentListRequestTest { method setUp (line 15) | @Before method testGetSetKonwledgeBaseId (line 20) | @Test method testGetSetLimit (line 26) | @Test method testGetSetAfter (line 32) | @Test method testGetSetBefore (line 38) | @Test method testToMapWithAllValues (line 44) | @Test method testToMapWithLimitZero (line 60) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentListResponseTest.java class DocumentListResponseTest (line 7) | public class DocumentListResponseTest { method setUp (line 12) | @Before method testRequestId (line 31) | @Test method testData (line 36) | @Test method testCode (line 47) | @Test method testMessage (line 52) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentTest.java class DocumentTest (line 7) | public class DocumentTest { method setUp (line 11) | @Before method testId (line 17) | @Test method testName (line 23) | @Test method testCreatedAt (line 29) | @Test method testWordCount (line 35) | @Test method testEnabled (line 41) | @Test method testMeta (line 50) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/DocumentsCreateRequestTest.java class DocumentsCreateRequestTest (line 7) | public class DocumentsCreateRequestTest { method setUp (line 17) | @Before method testKnowledgeBaseId (line 39) | @Test method testContentFormat (line 44) | @Test method testSource (line 49) | @Test method testProcessOption (line 56) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/FileUploadResponseTest.java class FileUploadResponseTest (line 7) | public class FileUploadResponseTest { method setUp (line 11) | @Before method testSetGetRequestId (line 16) | @Test method testSetGetId (line 22) | @Test method testSetGetCode (line 28) | @Test method testSetGetMessage (line 34) | @Test method testToString (line 40) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseConfigTest.java class KnowledgeBaseConfigTest (line 10) | public class KnowledgeBaseConfigTest { method setUp (line 15) | @Before method testGetIndex (line 21) | @Test method testIndexType (line 26) | @Test method testIndexClusterId (line 31) | @Test method testIndexUsername (line 36) | @Test method testIndexPassword (line 41) | @Test method testIndexLocation (line 46) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseDetailRequestTest.java class KnowledgeBaseDetailRequestTest (line 8) | public class KnowledgeBaseDetailRequestTest { method setUp (line 12) | @Before method testGetKnowledgeBaseId (line 17) | @Test method testSetKnowledgeBaseId (line 23) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseDetailTest.java class KnowledgeBaseDetailTest (line 7) | public class KnowledgeBaseDetailTest { method setUp (line 12) | @Before method testSetGetId (line 18) | @Test method testSetGetName (line 24) | @Test method testSetGetDescription (line 30) | @Test method testSetGetConfig (line 36) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseListRequestTest.java class KnowledgeBaseListRequestTest (line 7) | public class KnowledgeBaseListRequestTest { method setUp (line 11) | @Before method testGetMarker (line 17) | @Test method testGetMaxKeys (line 22) | @Test method testGetKeyword (line 27) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseListResponseTest.java class KnowledgeBaseListResponseTest (line 7) | public class KnowledgeBaseListResponseTest { method setUp (line 12) | @Before method testRequestId (line 33) | @Test method testData (line 38) | @Test method testMarker (line 49) | @Test method testIsTruncated (line 54) | @Test method testNextMarker (line 59) | @Test method testMaxKeys (line 64) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/knowledgebase/KnowledgeBaseModifyRequestTest.java class KnowledgeBaseModifyRequestTest (line 8) | public class KnowledgeBaseModifyRequestTest { method setUp (line 12) | @Before method testSetGetKnowledgeBaseId (line 17) | @Test method testSetGetName (line 23) | @Test method testSetGetDescription (line 29) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/rag/EventContentTest.java class EventContentTest (line 11) | public class EventContentTest { method setUp (line 15) | @Before method testGetSetEventCode (line 20) | @Test method testGetSetEnentMessage (line 26) | @Test method testGetSetNodeName (line 32) | @Test method testGetSetDependencyNodes (line 38) | @Test method testGetSetEventType (line 45) | @Test method testGetSetEventId (line 51) | @Test method testGetSetEventStatus (line 57) | @Test method testGetSetContentType (line 63) | @Test method testGetSetOutputs (line 69) | @Test method testGetSetDetail (line 77) | @Test method testToString (line 85) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/rag/RAGResponseTest.java class RAGResponseTest (line 8) | public class RAGResponseTest { method setUp (line 12) | @Before method testSetGetCode (line 17) | @Test method testSetGetMessage (line 23) | @Test method testSetGetTraceId (line 29) | @Test method testSetGetTime (line 35) | @Test method testSetGetResult (line 41) | @Test method testToString (line 48) | @Test FILE: java/src/test/java/com/baidubce/appbuilder/model/rag/RAGResultTest.java class RAGResultTest (line 11) | public class RAGResultTest { method setUp (line 15) | @Before method testSetGetAnswer (line 20) | @Test method testSetGetConversationId (line 26) | @Test method testSetGetMessageId (line 32) | @Test method testSetGetIsCompletion (line 38) | @Test method testSetGetPrototype (line 44) | @Test method testSetGetContent (line 50) | @Test method testToString (line 62) | @Test FILE: python/__init__.py class PythonVersionChecker (line 24) | class PythonVersionChecker: method __init__ (line 25) | def __init__(self): method check_version (line 30) | def check_version(self): class SDKReportConfig (line 42) | class SDKReportConfig(pydantic.BaseModel): function get_default_header (line 49) | def get_default_header(mcp_context: str = None): FILE: python/core/_client.py class HTTPClient (line 40) | class HTTPClient: method __init__ (line 43) | def __init__( method _init_gateway_url (line 67) | def _init_gateway_url(self, gateway: str): method _init_gateway_url_v2 (line 75) | def _init_gateway_url_v2(self, gateway_v2: str): method _init_secret_key (line 92) | def _init_secret_key(self, secret_key: str): method check_response_header (line 110) | def check_response_header(response: requests.Response): method service_url (line 169) | def service_url(self, sub_path: str, prefix: str = None): method service_url_v2 (line 181) | def service_url_v2(self, sub_path: str, client_token: str = None): method check_response_json (line 202) | def check_response_json(data: dict): method check_console_response (line 213) | def check_console_response(response: requests.Response): method auth_header (line 224) | def auth_header(self, request_id: Optional[str] = None): method auth_header_v2 (line 236) | def auth_header_v2(self, request_id: Optional[str] = None, mcp_context... method response_request_id (line 249) | def response_request_id(response: requests.Response): method check_param (line 254) | def check_param(func): method classify_exception (line 275) | def classify_exception(e): class AsyncHTTPClient (line 298) | class AsyncHTTPClient(HTTPClient): method __init__ (line 299) | def __init__(self, secret_key=None, gateway="", gateway_v2=""): method check_response_header (line 304) | async def check_response_header(response: ClientResponse): method response_request_id (line 359) | async def response_request_id(response: ClientResponse): method classify_exception (line 364) | async def classify_exception(e): class AssistantHTTPClient (line 385) | class AssistantHTTPClient(HTTPClient): method service_url (line 386) | def service_url(self, sub_path: str, prefix: str = None): method auth_header (line 400) | def auth_header(self, request_id: Optional[str] = None): method check_assistant_response (line 421) | def check_assistant_response(request_id, data): FILE: python/core/_exception.py class BaseRPCException (line 20) | class BaseRPCException(Exception): class BadRequestException (line 26) | class BadRequestException(BaseRPCException): class UnAuthorizedException (line 32) | class UnAuthorizedException(BaseRPCException): class ForbiddenException (line 38) | class ForbiddenException(BaseRPCException): class NotFoundException (line 44) | class NotFoundException(BaseRPCException): class MethodNotAllowedException (line 49) | class MethodNotAllowedException(BaseRPCException): class ConflictException (line 55) | class ConflictException(BaseRPCException): class MissingContentLengthException (line 61) | class MissingContentLengthException(BaseRPCException): class PreconditionFailedException (line 67) | class PreconditionFailedException(BaseRPCException): class UnprocessableEntityException (line 73) | class UnprocessableEntityException(BaseRPCException): class DependencyFailedException (line 79) | class DependencyFailedException(BaseRPCException): class TooManyRequestsException (line 85) | class TooManyRequestsException(BaseRPCException): class InternalServerErrorException (line 90) | class InternalServerErrorException(BaseRPCException): class InsufficientStorageException (line 96) | class InsufficientStorageException(BaseRPCException): class HTTPConnectionException (line 101) | class HTTPConnectionException(BaseRPCException): class ModelNotSupportedException (line 107) | class ModelNotSupportedException(BaseRPCException): class TypeNotSupportedException (line 113) | class TypeNotSupportedException(BaseRPCException): class AppBuilderServerException (line 119) | class AppBuilderServerException(BaseRPCException): method __init__ (line 125) | def __init__(self, request_id="", code="", message="", service_err_cod... method __str__ (line 130) | def __str__(self): class AssistantServerException (line 133) | class AssistantServerException(BaseRPCException): method __init__ (line 139) | def __init__(self, request_id= "", code="", message="", type="", param... method __str__ (line 144) | def __str__(self): class InvalidRequestArgumentError (line 148) | class InvalidRequestArgumentError(BaseRPCException): method __init__ (line 154) | def __init__(self, message="", request_id= "", code=""): method __str__ (line 159) | def __str__(self): class RiskInputException (line 163) | class RiskInputException(BaseRPCException): class AppbuilderBuildexException (line 169) | class AppbuilderBuildexException(BaseRPCException): class AppbuilderTraceException (line 175) | class AppbuilderTraceException(BaseRPCException): class RetryableExecption (line 180) | class RetryableExecption(Exception): class InternalServerException (line 185) | class InternalServerException(BaseRPCException): class NoFileUploadedExecption (line 190) | class NoFileUploadedExecption(Exception): class CustomError (line 195) | class CustomError(Exception): method __init__ (line 198) | def __init__(self, code, message=""): method __str__ (line 210) | def __str__(self): FILE: python/core/_session.py class InnerSession (line 23) | class InnerSession(requests.sessions.Session): method __init__ (line 25) | def __init__(self, *args, **kwargs): method build_curl (line 31) | def build_curl(self, request: requests.PreparedRequest) -> str: method send (line 55) | def send(self, request, **kwargs): method post (line 63) | def post(self, url, data=None, json=None, **kwargs): method delete (line 67) | def delete(self, url, **kwargs): method get (line 71) | def get(self, url, **kwargs): method put (line 75) | def put(self, url, data=None, **kwargs): class AsyncInnerSession (line 79) | class AsyncInnerSession(ClientSession): method __init__ (line 81) | def __init__(self, *args, **kwargs): method build_curl (line 87) | async def build_curl(self, method, url, data=None, json_data=None, **k... method post (line 112) | async def post(self, url, data=None, json=None, **kwargs): method delete (line 116) | async def delete(self, url, **kwargs): method get (line 120) | async def get(self, url, **kwargs): method put (line 124) | async def put(self, url, data=None, **kwargs): FILE: python/core/agent.py class AgentRuntime (line 35) | class AgentRuntime(BaseModel): class Config (line 206) | class Config: method init (line 219) | def init(cls, values: Dict) -> Dict: method chat (line 236) | def chat(self, message: Message, stream: bool = False, **args) -> Mess... method create_flask_app (line 250) | def create_flask_app(self, url_rule="/chat"): method serve (line 435) | def serve(self, host='0.0.0.0', debug=True, port=8092, url_rule="/chat"): method prepare_chainlit_readme (line 451) | def prepare_chainlit_readme(self): method chainlit_demo (line 484) | def chainlit_demo(self, host='0.0.0.0', port=8091): method chainlit_agent (line 532) | def chainlit_agent(self, host='0.0.0.0', port=8091): FILE: python/core/assistant/assistants/assistants.py class Assistants (line 24) | class Assistants(object): method __init__ (line 25) | def __init__(self): method files (line 29) | def files(self): method create (line 43) | def create(self, method update (line 106) | def update(self, method list (line 173) | def list(self, method query (line 220) | def query(self, method delete (line 258) | def delete(self, method mount_files (line 296) | def mount_files(self, method mounted_files_list (line 347) | def mounted_files_list(self, method unmount_files (line 394) | def unmount_files(self, FILE: python/core/assistant/assistants/files.py class Files (line 27) | class Files(object): method __init__ (line 28) | def __init__(self): method create (line 32) | def create(self, file_path: str, purpose: str = "assistant") -> assist... method list (line 77) | def list(self) -> assistant_type.AssistantFilesListResponse: method query (line 128) | def query(self, method delete (line 173) | def delete(self, method download (line 205) | def download(self, method content (line 273) | def content(self, FILE: python/core/assistant/base.py class BetaAssistant (line 16) | class BetaAssistant(object): method assistants (line 18) | def assistants(self): method threads (line 23) | def threads(self): method type (line 28) | def type(self): method assistant_type (line 33) | def assistant_type(self): method thread_type (line 38) | def thread_type(self): method public_type (line 43) | def public_type(self): FILE: python/core/assistant/threads/messages/messages.py class Messages (line 22) | class Messages(object): method __init__ (line 23) | def __init__(self): method create (line 27) | def create(self, method update (line 73) | def update(self, method list (line 117) | def list(self, method query (line 164) | def query(self, method files (line 201) | def files(self, FILE: python/core/assistant/threads/runs/runs.py class Runs (line 29) | class Runs(): method __init__ (line 30) | def __init__(self) -> None: method steps (line 34) | def steps(self) -> Steps: method run (line 48) | def run(self, method _stream (line 146) | def _stream(self, method stream_run (line 246) | def stream_run(self, method stream_run_with_handler (line 312) | def stream_run_with_handler(self, method _iterate_events (line 379) | def _iterate_events(self, events): method submit_tool_outputs (line 414) | def submit_tool_outputs(self, method cancel (line 456) | def cancel(self, run_id: str, thread_id: str, sync: bool = False) -> t... method list (line 494) | def list(self, thread_id: str, limit: int = 20, method query (line 539) | def query(self, thread_id: str, run_id: str) -> thread_type.RunResult: FILE: python/core/assistant/threads/runs/steps.py class Steps (line 23) | class Steps(): method __init__ (line 24) | def __init__(self) -> None: method list (line 28) | def list(self, thread_id: str, run_id: str, limit: int = 20, method query (line 68) | def query(self, thread_id: str, run_id: str, step_id: str) -> thread_t... FILE: python/core/assistant/threads/runs/stream_helper.py class StreamRunContext (line 22) | class StreamRunContext(object): method __init__ (line 42) | def __init__(self) -> None: method current_event (line 57) | def current_event(self) -> Union[thread_type.StreamRunStatus, method set_current_event (line 73) | def set_current_event(self, event): method current_tool_calls (line 94) | def current_tool_calls(self) -> Union[list[thread_type.ToolCall], None]: method set_current_tool_calls (line 107) | def set_current_tool_calls(self, tool_calls): method current_run_id (line 130) | def current_run_id(self) -> Union[str, None]: method set_current_run_id (line 143) | def set_current_run_id(self, run_id): method current_run_step_id (line 165) | def current_run_step_id(self) -> Union[str, None]: method set_current_run_step_id (line 178) | def set_current_run_step_id(self, run_step_id): method current_thread_id (line 201) | def current_thread_id(self) -> Union[str, None]: method set_current_thread_id (line 214) | def set_current_thread_id(self, thread_id): method current_assistant_id (line 236) | def current_assistant_id(self) -> Union[str, None]: method set_current_assistant_id (line 249) | def set_current_assistant_id(self, assistant_id): method reset_step_context (line 270) | def reset_step_context(self): class AssistantEventHandler (line 286) | class AssistantEventHandler(): method _init (line 304) | def _init(self, response): method __stream__ (line 311) | def __stream__(self) -> Iterator[Union[ method __stream_event_process__ (line 334) | def __stream_event_process__(self, event) -> Union[ method __timeout_process__ (line 400) | def __timeout_process__(self, event): method __next__ (line 404) | def __next__(self) -> Optional[str]: method __iter__ (line 407) | def __iter__(self): method until_done (line 411) | def until_done(self): method _before_run_begin (line 428) | def _before_run_begin(self, stream_run_status): method _before_tool_calls (line 436) | def _before_tool_calls(self, stream_run_status): method _before_tool_step (line 440) | def _before_tool_step(self, stream_run_status): method messages (line 444) | def messages(self, messages_event: thread_type.StreamRunMessage): method tool_calls (line 459) | def tool_calls(self, status_event: thread_type.StreamRunStatus): method tool_submitted_output (line 474) | def tool_submitted_output(self, status_event: thread_type.StreamRunSta... method message_creation (line 489) | def message_creation(self, status_event: thread_type.StreamRunStatus): method run_begin (line 504) | def run_begin(self, status_event: thread_type.StreamRunStatus): method run_end (line 519) | def run_end(self, status_event: thread_type.StreamRunStatus): method tool_step_begin (line 534) | def tool_step_begin(self, status_event: thread_type.StreamRunStatus): method tool_step_end (line 549) | def tool_step_end(self, status_event: thread_type.StreamRunStatus): method run_cancelling (line 564) | def run_cancelling(self, status_event: thread_type.StreamRunStatus): class AssistantStreamManager (line 580) | class AssistantStreamManager(AssistantEventHandler): method __init__ (line 581) | def __init__( method __enter__ (line 590) | def __enter__(self) -> AssistantEventHandler: method __exit__ (line 593) | def __exit__(self, exc_type, exc_value, traceback) -> None: FILE: python/core/assistant/threads/threads.py class Threads (line 22) | class Threads(): method __init__ (line 23) | def __init__(self) -> None: method messages (line 27) | def messages(self) -> Messages: method runs (line 41) | def runs(self) -> Runs: method create (line 54) | def create(self, messages: Optional[list[thread_type.AssistantMessage]... method query (line 93) | def query(self, method delete (line 128) | def delete(self, method update (line 160) | def update(self, FILE: python/core/assistant/type/assistant_type.py class AssistantFilesCreateResponse (line 25) | class AssistantFilesCreateResponse(BaseModel): class AuditStatus (line 34) | class AuditStatus(int,Enum): class AssistantFilesListData (line 44) | class AssistantFilesListData(BaseModel): class AssistantFilesListResponse (line 56) | class AssistantFilesListResponse(BaseModel): class AssistantFilesQueryResponse (line 61) | class AssistantFilesQueryResponse(BaseModel): class AssistantFilesDeleteResponse (line 72) | class AssistantFilesDeleteResponse(BaseModel): class AssistantCreateRequest (line 78) | class AssistantCreateRequest(BaseModel): class AssistantCreateResponse (line 92) | class AssistantCreateResponse(BaseModel): class AssistantUpdateRequest (line 106) | class AssistantUpdateRequest(BaseModel): class AssistantUpdateResponse (line 119) | class AssistantUpdateResponse(BaseModel): class AssistantListRole (line 134) | class AssistantListRole(str, Enum): class AssistantListRequest (line 138) | class AssistantListRequest(BaseModel): class AssistantListResponse (line 144) | class AssistantListResponse(BaseModel): class AssistantQueryRequest (line 151) | class AssistantQueryRequest(BaseModel): class AssistantQueryResponse (line 154) | class AssistantQueryResponse(BaseModel): class AssistantDeleteRequest (line 169) | class AssistantDeleteRequest(BaseModel): class AssistantDeleteResponse (line 173) | class AssistantDeleteResponse(BaseModel): class AssistantFilesRequest (line 178) | class AssistantFilesRequest(BaseModel): class AssistantFilesResponse (line 182) | class AssistantFilesResponse(BaseModel): class AssistantMountedFilesListRequest (line 188) | class AssistantMountedFilesListRequest(BaseModel): class AssistantMountedFilesListResponse (line 195) | class AssistantMountedFilesListResponse(BaseModel): class AssistantFilesDeleteRequest (line 202) | class AssistantFilesDeleteRequest(BaseModel): class AssistantFilesContentResponse (line 207) | class AssistantFilesContentResponse(BaseModel): FILE: python/core/assistant/type/public_type.py class AssistantFunctionCall (line 21) | class AssistantFunctionCall(BaseModel): class AssistantExample (line 34) | class AssistantExample(BaseModel): class AssistantFunctionJsonSchema (line 49) | class AssistantFunctionJsonSchema(BaseModel): class AssistantFunction (line 64) | class AssistantFunction(BaseModel): class AssistantTool (line 83) | class AssistantTool(BaseModel): class ResponseFormat (line 96) | class ResponseFormat(str, Enum): class AssistantText (line 109) | class AssistantText(BaseModel): class AssistantContent (line 122) | class AssistantContent(BaseModel): class AssistantChatParameters (line 135) | class AssistantChatParameters(BaseModel): class AssistantThoughtParameters (line 149) | class AssistantThoughtParameters(BaseModel): class AssistantModelParameters (line 163) | class AssistantModelParameters(BaseModel): class AssistantUserInfo (line 177) | class AssistantUserInfo(BaseModel): class AssistantUserLoc (line 197) | class AssistantUserLoc(BaseModel): FILE: python/core/assistant/type/thread_type.py class AssistantMessageRole (line 30) | class AssistantMessageRole(str, Enum): class AssistantMessage (line 34) | class AssistantMessage(BaseModel): class AssistantMessageCreateRequest (line 41) | class AssistantMessageCreateRequest(BaseModel): class AssistantMessageCreateResponse (line 49) | class AssistantMessageCreateResponse(BaseModel): class AssistantMessageListRole (line 62) | class AssistantMessageListRole(str, Enum): class AssistantMessageListRequest (line 67) | class AssistantMessageListRequest(BaseModel): class AssistantMessageListResponseData (line 76) | class AssistantMessageListResponseData(BaseModel): class AssistantMessageListResponse (line 88) | class AssistantMessageListResponse(BaseModel): class AssistantMessageQueryRequest (line 95) | class AssistantMessageQueryRequest(BaseModel): class AssistantMessageQueryResponse (line 99) | class AssistantMessageQueryResponse(BaseModel): class AssistantMessageUpdateRequest (line 111) | class AssistantMessageUpdateRequest(BaseModel): class AssistantMessageUpdateResponse (line 118) | class AssistantMessageUpdateResponse(BaseModel): class AssistantMessageFilesRequest (line 129) | class AssistantMessageFilesRequest(BaseModel): class AssistantContentFilesData (line 138) | class AssistantContentFilesData(BaseModel): class AssistantMessageFilesResponse (line 144) | class AssistantMessageFilesResponse(BaseModel): class AssistantThread (line 152) | class AssistantThread(BaseModel): class ThreadCreateResponse (line 156) | class ThreadCreateResponse(BaseModel): class ThreadCreateRequest (line 162) | class ThreadCreateRequest(BaseModel): class ThreadQueryRequest (line 165) | class ThreadQueryRequest(BaseModel): class ThreadQueryResponse (line 168) | class ThreadQueryResponse(BaseModel): class ThreadDeleteRequest (line 174) | class ThreadDeleteRequest(BaseModel): class ThreadDeleteResponse (line 177) | class ThreadDeleteResponse(BaseModel): class ThreadUpdateRequest (line 182) | class ThreadUpdateRequest(BaseModel): class ThreadUpdateResponse (line 186) | class ThreadUpdateResponse(BaseModel): class AssistantThread (line 192) | class AssistantThread(BaseModel): class RunActionInfo (line 196) | class RunActionInfo(BaseModel): class FunctionCall (line 202) | class FunctionCall(BaseModel): class ToolCall (line 208) | class ToolCall(BaseModel): class SubmitToolOutput (line 214) | class SubmitToolOutput(BaseModel): class RequiredAction (line 218) | class RequiredAction(BaseModel): class LastError (line 223) | class LastError(BaseModel): class FinalAnswerMessage (line 227) | class FinalAnswerMessage(BaseModel): class FinalAnswer (line 231) | class FinalAnswer(BaseModel): class RunResult (line 235) | class RunResult(BaseModel): class RunMessageCreation (line 260) | class RunMessageCreation(BaseModel): class ToolInfo (line 265) | class ToolInfo(BaseModel): class RunStepDetail (line 272) | class RunStepDetail(BaseModel): class RunStepResult (line 280) | class RunStepResult(BaseModel): class StreamRunDetail (line 298) | class StreamRunDetail(BaseModel): class StreamRunStatus (line 307) | class StreamRunStatus(BaseModel): class StreamRunMessage (line 316) | class StreamRunMessage(BaseModel): class ToolOutput (line 326) | class ToolOutput(BaseModel): class AssistantRunModel (line 331) | class AssistantRunModel(str,Enum): class AssistantRunRequest (line 335) | class AssistantRunRequest(BaseModel): class Config (line 346) | class Config: class AssistantSubmitToolOutputsRequest (line 356) | class AssistantSubmitToolOutputsRequest(BaseModel): class AssistantRunCancelRequest (line 362) | class AssistantRunCancelRequest(BaseModel): class RunListOrderEnum (line 368) | class RunListOrderEnum(str, Enum): class AssistantRunListRequest (line 372) | class AssistantRunListRequest(BaseModel): class RunListResponse (line 379) | class RunListResponse(BaseModel): class AssistantRunQueryRequest (line 386) | class AssistantRunQueryRequest(BaseModel): class AssistantRunStepListRequest (line 390) | class AssistantRunStepListRequest(BaseModel): class RunStepListResponse (line 398) | class RunStepListResponse(BaseModel): class AssistantRunStepQueryRequest (line 405) | class AssistantRunStepQueryRequest(BaseModel): FILE: python/core/component.py class ComponentArguments (line 29) | class ComponentArguments(BaseModel): method extract_values_to_dict (line 40) | def extract_values_to_dict(self): class Text (line 63) | class Text(BaseModel, extra='allow'): class Code (line 67) | class Code(BaseModel, extra='allow'): class Files (line 71) | class Files(BaseModel, extra='allow'): class Urls (line 77) | class Urls(BaseModel, extra='allow'): class OralText (line 81) | class OralText(BaseModel, extra='allow'): class ReasoningContent (line 85) | class ReasoningContent(BaseModel, extra="allow"): class VideoDetail (line 89) | class VideoDetail(BaseModel): class ImageDetail (line 98) | class ImageDetail(BaseModel): class References (line 104) | class References(BaseModel, extra='allow'): class Image (line 125) | class Image(BaseModel, extra='allow'): class Chart (line 133) | class Chart(BaseModel, extra='allow'): class Audio (line 138) | class Audio(BaseModel, extra='allow'): class PlanStep (line 146) | class PlanStep(BaseModel, extra='allow'): class Task (line 152) | class Task(BaseModel, extra='allow'): class Plan (line 162) | class Plan(BaseModel, extra='allow'): class FunctionCall (line 171) | class FunctionCall(BaseModel, extra='allow'): class Json (line 177) | class Json(BaseModel, extra='allow'): class Browser (line 181) | class Browser(BaseModel, extra='allow'): class Computer (line 182) | class Computer(BaseModel, extra='allow'): class Result (line 186) | class Result(BaseModel, extra='allow'): class Screenshot (line 191) | class Screenshot(BaseModel, extra='allow'): class Thought (line 202) | class Thought(BaseModel, extra='allow'): class Progress (line 214) | class Progress(BaseModel, extra='allow'): class Content (line 221) | class Content(BaseModel): method set_text (line 238) | def set_text(cls, v, values, **kwargs): class ComponentOutput (line 273) | class ComponentOutput(BaseModel): class Component (line 280) | class Component: method __init__ (line 293) | def __init__( method set_secret_key_and_gateway (line 321) | def set_secret_key_and_gateway(self, secret_key: Optional[str] = None,... method set_model_info (line 347) | def set_model_info(self, model_name: str, model_url: str): method http_client (line 352) | def http_client(self): method __call__ (line 371) | def __call__(self, *inputs, **kwargs): method tool_eval (line 375) | def tool_eval(self, *input, **kwargs) -> Generator: method run (line 392) | def run(self, *inputs, **kwargs) -> Message: method batch (line 402) | def batch(self, *args, **kwargs) -> List[Message]: method non_stream_tool_eval (line 418) | def non_stream_tool_eval(self, *args, **kwargs) -> Union[ComponentOutp... method atool_eval (line 439) | async def atool_eval(self, *args, **kwargs) -> AsyncGenerator: method arun (line 449) | async def arun(self, *args, **kwargs) -> Optional[Message]: method abatch (line 459) | async def abatch(self, *args, **kwargs) -> List[Message]: method _trace (line 469) | def _trace(self, **data) -> None: method _debug (line 473) | def _debug(self, **data) -> None: method tool_desc (line 477) | def tool_desc(self) -> List[str]: method tool_name (line 489) | def tool_name(self) -> List[str]: method create_langchain_tool (line 501) | def create_langchain_tool(self, tool_name="", **kwargs): method _has_implemented_tool_eval (line 576) | def _has_implemented_tool_eval(self): method _langchain_run_implement (line 588) | def _langchain_run_implement(self, **kwargs): method _langchain_tool_eval_implement (line 593) | def _langchain_tool_eval_implement(self, **kwargs): method create_output (line 610) | def create_output(cls, type, text, role="tool", name="", visible_scope... FILE: python/core/components/animal_recognize/component.py class AnimalRecognition (line 32) | class AnimalRecognition(Component): method run (line 86) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 112) | def _recognize( method tool_eval (line 146) | def tool_eval( method _recognize_w_post_process (line 175) | def _recognize_w_post_process(self, img_name, img_url, file_urls, requ... method _check_service_error (line 201) | def _check_service_error(request_id: str, data: dict): FILE: python/core/components/animal_recognize/model.py class AnimalRecognitionRequest (line 22) | class AnimalRecognitionRequest(proto.Message): class AnimalRecognitionResponse (line 54) | class AnimalRecognitionResponse(proto.Message): class AnimalRecognitionRes (line 77) | class AnimalRecognitionRes(proto.Message): class AnimalBaikeInfo (line 100) | class AnimalBaikeInfo(proto.Message): class AnimalRecognitionInMsg (line 122) | class AnimalRecognitionInMsg(BaseModel): class AnimalRes (line 133) | class AnimalRes(BaseModel): class AnimalRecognitionOutMsg (line 144) | class AnimalRecognitionOutMsg(BaseModel): FILE: python/core/components/asr/component.py class ASR (line 38) | class ASR(Component): method run (line 99) | def run(self, message: Message, audio_format: str = "pcm", rate: int =... method _recognize (line 126) | def _recognize( method _check_service_error (line 165) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 182) | def tool_eval(self, name: str, streaming: bool, **kwargs): function _convert (line 243) | def _convert(path, file_type): FILE: python/core/components/asr/model.py class ShortSpeechRecognitionRequest (line 23) | class ShortSpeechRecognitionRequest(proto.Message): class ShortSpeechRecognitionResponse (line 59) | class ShortSpeechRecognitionResponse(proto.Message): class ASRInMsg (line 104) | class ASRInMsg(BaseModel): class ASROutMsg (line 114) | class ASROutMsg(BaseModel): FILE: python/core/components/dish_recognize/component.py class DishRecognition (line 31) | class DishRecognition(Component): method run (line 54) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 78) | def _recognize(self, request: DishRecognitionRequest, timeout: float =... FILE: python/core/components/dish_recognize/model.py class DishRecognitionRequest (line 25) | class DishRecognitionRequest(proto.Message): class DishRecognitionResponse (line 62) | class DishRecognitionResponse(proto.Message): class DishRecognitionRes (line 91) | class DishRecognitionRes(proto.Message): class DishBaikeInfo (line 125) | class DishBaikeInfo(proto.Message): class DishRecognitionInMsg (line 148) | class DishRecognitionInMsg(pydantic.BaseModel): class DishRecognitionResult (line 162) | class DishRecognitionResult(pydantic.BaseModel): class DishRecognitionOutMsg (line 174) | class DishRecognitionOutMsg(pydantic.BaseModel): FILE: python/core/components/doc_crop_enhance/component.py class DocCropEnhance (line 30) | class DocCropEnhance(Component): method run (line 53) | def run(self, message: Message, enhance_type: int = 0, timeout: float ... method _recognize (line 88) | def _recognize(self, request: DocCropEnhanceRequest, timeout: float = ... method _check_service_error (line 116) | def _check_service_error(request_id: str, data: dict): FILE: python/core/components/doc_crop_enhance/model.py class DocCropEnhanceRequest (line 22) | class DocCropEnhanceRequest(proto.Message): class DocCropEnhanceResponse (line 61) | class DocCropEnhanceResponse(proto.Message): class DocLocation (line 91) | class DocLocation(proto.Message): class DocCropEnhanceInMsg (line 108) | class DocCropEnhanceInMsg(BaseModel): class DocCropEnhanceOutMsg (line 125) | class DocCropEnhanceOutMsg(BaseModel): FILE: python/core/components/doc_format_converter/component.py class DocFormatConverter (line 38) | class DocFormatConverter(Component): method run (line 91) | def run(self, message: Message, timeout: float = None, retry: int = 0,... method submitDocFormatConverterTask (line 157) | def submitDocFormatConverterTask( method queryDocFormatConverterTask (line 186) | def queryDocFormatConverterTask( method tool_eval (line 218) | def tool_eval(self, streaming: bool, origin_query: str, **kwargs,): FILE: python/core/components/doc_format_converter/model.py class DocFormatConverterInMessage (line 23) | class DocFormatConverterInMessage(BaseModel): class DocFormatConverterOutMessage (line 33) | class DocFormatConverterOutMessage(BaseModel): class DocFormatConverterSubmitRequest (line 43) | class DocFormatConverterSubmitRequest(proto.Message): class DocFormatConverterSubmitResponse (line 70) | class DocFormatConverterSubmitResponse(proto.Message): class Result (line 72) | class Result(proto.Message): class DocFormatConverterQueryRequest (line 87) | class DocFormatConverterQueryRequest(proto.Message): class DocFormatConverterQueryResponse (line 98) | class DocFormatConverterQueryResponse(proto.Message): class Result (line 100) | class Result(proto.Message): class ResultData (line 102) | class ResultData(proto.Message): FILE: python/core/components/doc_parser/base.py class Position (line 25) | class Position(BaseModel): class Layout (line 33) | class Layout(BaseModel): class Table (line 43) | class Table(BaseModel): class ParaNode (line 53) | class ParaNode(BaseModel): class PageContent (line 66) | class PageContent(BaseModel): class ParseResult (line 80) | class ParseResult(BaseModel): class ParserConfig (line 90) | class ParserConfig(BaseModel): class DocSegment (line 101) | class DocSegment(BaseModel): FILE: python/core/components/doc_parser/component.py class DocParser (line 37) | class DocParser(Component): method set_config (line 77) | def set_config(self, config: ParserConfig): method make_parse_result (line 89) | def make_parse_result(self, response: Dict): method run (line 166) | def run(self, input_message: Message, return_raw=False) -> Message: method tool_eval (line 222) | def tool_eval(self, streaming: bool = False, **kwargs): FILE: python/core/components/doc_splitter/component.py class DocSplitter (line 30) | class DocSplitter(Component): method __init__ (line 43) | def __init__(self, splitter_type, max_segment_length=800, overlap=200, method run (line 70) | def run(self, message: Message): class ChunkSplitter (line 116) | class ChunkSplitter(Component): method __init__ (line 139) | def __init__(self, max_segment_length=800, overlap=200, method run (line 169) | def run(self, message: Message): class TitleSplitter (line 226) | class TitleSplitter(Component): method _get_title (line 254) | def _get_title(self, nodes, parent_id, titles): method run (line 275) | def run(self, input_message: Message) -> Message: FILE: python/core/components/document_understanding/base.py class DocumentUnderstandingArgs (line 24) | class DocumentUnderstandingArgs(ComponentArguments): FILE: python/core/components/document_understanding/component.py class DocumentUnderstanding (line 29) | class DocumentUnderstanding(Component): method __init__ (line 67) | def __init__( method get_addition_instruction (line 98) | def get_addition_instruction(self, addition_instruction: str): method get_conversation_id (line 103) | def get_conversation_id(self, app_id: str): method get_file_id (line 117) | def get_file_id(self, conversation_id: str, app_id: str, file_path: str): method run (line 133) | def run(self, method tool_eval (line 198) | def tool_eval(self, FILE: python/core/components/embeddings/base.py class EmbeddingBaseComponent (line 24) | class EmbeddingBaseComponent(Component): method run (line 37) | def run(self, text: Union[Message[str], str]) -> Message[List[float]]: method arun (line 45) | async def arun(self, text: Union[Message[str], str]) -> Message[List[f... method batch (line 57) | def batch(self, texts: Union[Message[List[str]], List[str]]) -> Messag... method abatch (line 65) | def abatch(self, texts: Union[Message[List[str]], List[str]]) -> Messa... class EmbeddingArgs (line 77) | class EmbeddingArgs(ComponentArguments): FILE: python/core/components/embeddings/component.py class Embedding (line 27) | class Embedding(EmbeddingBaseComponent): method __init__ (line 62) | def __init__(self, method _check_response_json (line 78) | def _check_response_json(self, data: dict): method _request (line 90) | def _request(self, payload: dict) -> dict: method _batchify (line 106) | def _batchify(self, texts: List[str], batch_size: int = 16) -> List[Li... method _batch (line 117) | def _batch(self, texts: List[str]) -> Message[List[List[float]]]: method run (line 131) | def run(self, text: Union[Message[str], str]) -> Message[List[float]]: method batch (line 145) | def batch(self, texts: Union[Message[List[str]], List[str]]) -> Messag... FILE: python/core/components/extract_table/component.py class ExtractTableFromDoc (line 27) | class ExtractTableFromDoc(Component): method _input_check (line 63) | def _input_check(self, message: Message, table_max_size, doc_node_num_... method _post_process (line 74) | def _post_process(self, resp): method run (line 100) | def run(self, message: Message, table_max_size: int = 800, doc_node_nu... FILE: python/core/components/gbi/basic.py class NL2SqlResult (line 24) | class NL2SqlResult(BaseModel): class SessionRecord (line 32) | class SessionRecord(BaseModel): class ColumnItem (line 39) | class ColumnItem(BaseModel): FILE: python/core/components/gbi/nl2sql/base.py class NL2SqlArgs (line 22) | class NL2SqlArgs(ComponentArguments): FILE: python/core/components/gbi/nl2sql/component.py class NL2Sql (line 29) | class NL2Sql(Component): method __init__ (line 35) | def __init__(self, method run (line 81) | def run(self, method _run_nl2sql (line 116) | def _run_nl2sql(self, query: str, session: List[SessionRecord], table_... FILE: python/core/components/gbi/select_table/base.py class SelectTableArgs (line 21) | class SelectTableArgs(ComponentArguments): FILE: python/core/components/gbi/select_table/component.py class SelectTable (line 28) | class SelectTable(Component): method __init__ (line 33) | def __init__(self, method run (line 79) | def run(self, method _run_select_table (line 115) | def _run_select_table(self, query: str, session: List[SessionRecord], FILE: python/core/components/general_ocr/component.py class GeneralOCR (line 30) | class GeneralOCR(Component): method run (line 97) | def run(self, message: Message, timeout: float = None, retry: int = 0,... method _recognize (line 132) | def _recognize( method _check_service_error (line 167) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 182) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/general_ocr/model.py class GeneralOCRRequest (line 23) | class GeneralOCRRequest(proto.Message): class GeneralOCRResponse (line 130) | class GeneralOCRResponse(proto.Message): class WordResult (line 202) | class WordResult(proto.Message): class Probability (line 222) | class Probability(proto.Message): class ParagraphResult (line 245) | class ParagraphResult(proto.Message): class GeneralOCRInMsg (line 255) | class GeneralOCRInMsg(BaseModel): class Words (line 271) | class Words(BaseModel): class GeneralOCROutMsg (line 280) | class GeneralOCROutMsg(BaseModel): FILE: python/core/components/handwrite_ocr/component.py class HandwriteOCR (line 23) | class HandwriteOCR(Component): method run (line 70) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method tool_eval (line 107) | def tool_eval(self, name: str, streaming: bool, **kwargs): method _recognize (line 164) | def _recognize( method _check_service_error (line 197) | def _check_service_error(request_id: str, data: dict): FILE: python/core/components/handwrite_ocr/model.py class HandwriteOCRRequest (line 21) | class HandwriteOCRRequest(proto.Message): class HandwriteLocation (line 100) | class HandwriteLocation(proto.Message): class HandwriteWordResult (line 127) | class HandwriteWordResult(proto.Message): class HandwriteProbability (line 144) | class HandwriteProbability(proto.Message): class HandwriteOCRResponse (line 167) | class HandwriteOCRResponse(proto.Message): class HandwriteOCRInMsg (line 210) | class HandwriteOCRInMsg(BaseModel): class Position (line 221) | class Position(BaseModel): class Content (line 237) | class Content(BaseModel): class HandwriteOCROutMsg (line 248) | class HandwriteOCROutMsg(BaseModel): FILE: python/core/components/image_understand/component.py class ImageUnderstand (line 28) | class ImageUnderstand(Component): method run (line 86) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method __recognize (line 123) | def __recognize( method tool_eval (line 174) | def tool_eval( method _recognize_w_post_process (line 220) | def _recognize_w_post_process( method __check_service_error (line 255) | def __check_service_error(request_id: str, data: dict): method __check_create_task_service_error (line 272) | def __check_create_task_service_error(request_id: str, data: dict): FILE: python/core/components/image_understand/model.py class ImageUnderstandRequest (line 24) | class ImageUnderstandRequest(proto.Message): class ImageUnderstandTask (line 58) | class ImageUnderstandTask(proto.Message): class ImageUnderstandLocation (line 82) | class ImageUnderstandLocation(proto.Message): class ImageUnderstandSubject (line 109) | class ImageUnderstandSubject(proto.Message): class ImageUnderstandOCR (line 126) | class ImageUnderstandOCR(proto.Message): class ImageUnderstandResult (line 146) | class ImageUnderstandResult(proto.Message): class ImageUnderstandResponse (line 192) | class ImageUnderstandResponse(proto.Message): class ImageUnderstandInMsg (line 214) | class ImageUnderstandInMsg(BaseModel): class ImageUnderstandOutMsg (line 227) | class ImageUnderstandOutMsg(BaseModel): FILE: python/core/components/landmark_recognize/component.py class LandmarkRecognition (line 26) | class LandmarkRecognition(Component): method run (line 46) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method __recognize (line 70) | def __recognize(self, request: LandmarkRecognitionRequest, timeout: fl... method __check_service_error (line 98) | def __check_service_error(request_id: str, data: dict): FILE: python/core/components/landmark_recognize/model.py class LandmarkRecognitionRequest (line 24) | class LandmarkRecognitionRequest(proto.Message): class LandmarkRecognitionResponse (line 43) | class LandmarkRecognitionResponse(proto.Message): class LandmarkRecognitionInMsg (line 66) | class LandmarkRecognitionInMsg(BaseModel): class LandmarkRecognitionOutMsg (line 77) | class LandmarkRecognitionOutMsg(BaseModel): FILE: python/core/components/llms/base.py class LLMMessage (line 38) | class LLMMessage(Message): method __str__ (line 43) | def __str__(self): method __deepcopy__ (line 47) | def __deepcopy__(self, memo): class CompletionRequest (line 58) | class CompletionRequest(object): method __init__ (line 63) | def __init__(self, params: Dict[str, Any] = None, response_mode: str =... class ModelArgsConfig (line 70) | class ModelArgsConfig(BaseModel): class CompletionResponse (line 80) | class CompletionResponse(object): method __init__ (line 89) | def __init__(self, response, stream: bool = False): method parse_stream_data (line 140) | def parse_stream_data(self, event): method get_stream_data (line 169) | def get_stream_data(self): method to_message (line 173) | def to_message(self): method message_iterable_wrapper (line 187) | def message_iterable_wrapper(self, message): class ResultProcessor (line 228) | class ResultProcessor: method process (line 230) | def process(key, result_list): class CompletionBaseComponent (line 250) | class CompletionBaseComponent(Component): method __init__ (line 270) | def __init__( method set_secret_key_and_gateway (line 297) | def set_secret_key_and_gateway(self, secret_key: Optional[str] = None,... method set_model_info (line 304) | def set_model_info(self, model_name: str, model_url: str): method _check_model_and_get_model_url (line 310) | def _check_model_and_get_model_url(self, model, model_type): method gene_request (line 325) | def gene_request(self, query, inputs, response_mode, message_id, model... method gene_response (line 339) | def gene_response(self, response, stream: bool = False): method run (line 344) | def run(self, *args, **kwargs): method get_compeliton_params (line 388) | def get_compeliton_params(self, specific_inputs, model_config_inputs): method get_model_config (line 402) | def get_model_config(self, model_config_inputs: ModelArgsConfig, other... method completion (line 430) | def completion( method check_service_error (line 455) | def check_service_error(data: dict): FILE: python/core/components/llms/dialog_summary/base.py class DialogSummaryArgs (line 20) | class DialogSummaryArgs(ComponentArguments): FILE: python/core/components/llms/dialog_summary/component.py class DialogSummary (line 22) | class DialogSummary(CompletionBaseComponent): method __init__ (line 65) | def __init__( method run (line 89) | def run(self, message, stream=False, temperature=1e-10, top_p=0): method tool_eval (line 110) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/hallucination_detection/base.py class HallucinationDetectionArgs (line 20) | class HallucinationDetectionArgs(ComponentArguments): FILE: python/core/components/llms/hallucination_detection/component.py class HallucinationDetection (line 25) | class HallucinationDetection(CompletionBaseComponent): method __init__ (line 95) | def __init__( method completion (line 121) | def completion(self, version, base_url, request, timeout: float = None, method run (line 148) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 188) | def tool_eval(self, name: str, stream: bool = False, **kwargs): FILE: python/core/components/llms/is_complex_query/base.py class IsComplexQueryMeta (line 20) | class IsComplexQueryMeta(ComponentArguments): FILE: python/core/components/llms/is_complex_query/component.py class IsComplexQuery (line 27) | class IsComplexQuery(CompletionBaseComponent): method __init__ (line 72) | def __init__( method run (line 96) | def run(self, message, stream=False, temperature=1e-10, top_p=0): method tool_eval (line 112) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/mrc/base.py class MrcArgs (line 20) | class MrcArgs(ComponentArguments): FILE: python/core/components/llms/mrc/component.py class MRC (line 25) | class MRC(CompletionBaseComponent): method __init__ (line 107) | def __init__( method __get_instruction_set (line 130) | def __get_instruction_set(self): method run (line 146) | def run(self, message, context_list, reject=False, clarify=False, method tool_eval (line 192) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/nl2pandas/base.py class Nl2pandasArgs (line 19) | class Nl2pandasArgs(ComponentArguments): FILE: python/core/components/llms/nl2pandas/component.py class Nl2pandasComponent (line 21) | class Nl2pandasComponent(CompletionBaseComponent): method __init__ (line 74) | def __init__( method run (line 98) | def run(self, message, table_info=None, stream=False, temperature=1e-1... method tool_eval (line 115) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/oral_query_generation/base.py class QueryTypeChoices (line 19) | class QueryTypeChoices(Enum): method to_chinese (line 24) | def to_chinese(self): class OutputFormatChoices (line 43) | class OutputFormatChoices(Enum): method to_chinese (line 47) | def to_chinese(self): class OralQueryGenerationArgs (line 65) | class OralQueryGenerationArgs(ComponentArguments): FILE: python/core/components/llms/oral_query_generation/component.py class OralQueryGeneration (line 26) | class OralQueryGeneration(CompletionBaseComponent): method __init__ (line 80) | def __init__( method regenerate_output (line 103) | def regenerate_output(self, model_output, output_format): method completion (line 132) | def completion(self, version, base_url, request, timeout: float = None, method run (line 147) | def run(self, message, query_type='全部', output_format='str', stream=Fa... method tool_eval (line 188) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/playground/base.py class PlaygroundArgs (line 20) | class PlaygroundArgs(ComponentArguments): FILE: python/core/components/llms/playground/component.py class Playground (line 22) | class Playground(CompletionBaseComponent): method __init__ (line 45) | def __init__( method run (line 77) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0, max... method __parse__ (line 118) | def __parse__(self, prompt_template): FILE: python/core/components/llms/qa_pair_mining/base.py class QAPairMiningMeta (line 20) | class QAPairMiningMeta(ComponentArguments): FILE: python/core/components/llms/qa_pair_mining/component.py class QAPairMining (line 24) | class QAPairMining(CompletionBaseComponent): method __init__ (line 70) | def __init__( method run (line 94) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 110) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/query_decomposition/base.py class QueryDecompositionMeta (line 20) | class QueryDecompositionMeta(ComponentArguments): FILE: python/core/components/llms/query_decomposition/component.py class QueryDecomposition (line 26) | class QueryDecomposition(CompletionBaseComponent): method __init__ (line 70) | def __init__( method run (line 94) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 110) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/query_rewrite/base.py class RewriteTypeChoices (line 19) | class RewriteTypeChoices(Enum): method to_chinese (line 26) | def to_chinese(self): class QueryRewriteArgs (line 44) | class QueryRewriteArgs(ComponentArguments): FILE: python/core/components/llms/query_rewrite/component.py class QueryRewrite (line 26) | class QueryRewrite(CompletionBaseComponent): method __init__ (line 78) | def __init__( method run (line 102) | def run(self, message, rewrite_type="带机器人回复", stream=False, temperatur... method tool_eval (line 143) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/similar_question/base.py class SimilarQuestionMeta (line 20) | class SimilarQuestionMeta(ComponentArguments): FILE: python/core/components/llms/similar_question/component.py class SimilarQuestion (line 25) | class SimilarQuestion(CompletionBaseComponent): method __init__ (line 69) | def __init__( method run (line 93) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0, req... method tool_eval (line 109) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/style_rewrite/base.py class StyleChoices (line 22) | class StyleChoices(Enum): method to_chinese (line 39) | def to_chinese(self): class StyleRewriteArgs (line 60) | class StyleRewriteArgs(ComponentArguments): FILE: python/core/components/llms/style_rewrite/component.py class StyleRewrite (line 22) | class StyleRewrite(CompletionBaseComponent): method __init__ (line 66) | def __init__( method run (line 91) | def run(self, message, style="营销话术", stream=False, temperature=1e-10, ... method tool_eval (line 109) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/style_writing/base.py class StyleQueryChoices (line 22) | class StyleQueryChoices(Enum): method to_chinese (line 35) | def to_chinese(self): class LengthChoices (line 54) | class LengthChoices(Enum): method to_chinese (line 59) | def to_chinese(self): class StyleWritingArgs (line 78) | class StyleWritingArgs(ComponentArguments): FILE: python/core/components/llms/style_writing/component.py class StyleWritingArgs (line 25) | class StyleWritingArgs(ComponentArguments): class StyleWriting (line 45) | class StyleWriting(CompletionBaseComponent): method __init__ (line 96) | def __init__( method run (line 121) | def run(self, message, style_query="通用", length=100, stream=False, tem... method tool_eval (line 141) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/llms/tag_extraction/base.py class TagExtractionArgs (line 21) | class TagExtractionArgs(ComponentArguments): FILE: python/core/components/llms/tag_extraction/component.py class TagExtraction (line 23) | class TagExtraction(CompletionBaseComponent): method __init__ (line 63) | def __init__( method run (line 87) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 107) | def tool_eval(self, name: str, streaming: bool = False, **kwargs): FILE: python/core/components/matching/base.py class MatchingArgs (line 28) | class MatchingArgs(ComponentArguments): class MatchingBaseComponent (line 35) | class MatchingBaseComponent(Component): method run (line 45) | def run( FILE: python/core/components/matching/component.py class Matching (line 27) | class Matching(MatchingBaseComponent): method __init__ (line 58) | def __init__( method run (line 71) | def run( method _cosine_similarity (line 101) | def _cosine_similarity(self, X, Y): method semantics (line 116) | def semantics( FILE: python/core/components/mix_card_ocr/component.py class MixCardOCR (line 26) | class MixCardOCR(Component): method run (line 75) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 116) | def _recognize(self, request: MixCardOCRRequest, timeout: float = None... method _check_service_error (line 143) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 158) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/mix_card_ocr/model.py class MixCardOCRRequest (line 21) | class MixCardOCRRequest(proto.Message): class MixCardOCRLocation (line 64) | class MixCardOCRLocation(proto.Message): class MixCardOCRInfo (line 91) | class MixCardOCRInfo(proto.Message): class MixCardOCRResult (line 123) | class MixCardOCRResult(proto.Message): class MixOCRCardInfoResult (line 141) | class MixOCRCardInfoResult(proto.Message): class MixCardOCRResponse (line 159) | class MixCardOCRResponse(proto.Message): class MixCardOCRInMsg (line 188) | class MixCardOCRInMsg(BaseModel): class MixCardPosition (line 199) | class MixCardPosition(BaseModel): class MixCardField (line 215) | class MixCardField(BaseModel): class MixCardContent (line 229) | class MixCardContent(BaseModel): class MixCardOCROutMsg (line 240) | class MixCardOCROutMsg(BaseModel): FILE: python/core/components/object_recognize/component.py class ObjectRecognition (line 27) | class ObjectRecognition(Component): method run (line 83) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 110) | def _recognize(self, request: ObjectRecognitionRequest, timeout: float... method _check_service_error (line 138) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 153) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/object_recognize/model.py class ObjectRecognitionRequest (line 23) | class ObjectRecognitionRequest(proto.Message): class ObjectRecognitionResponse (line 49) | class ObjectRecognitionResponse(proto.Message): class ObjectResult (line 77) | class ObjectResult(proto.Message): class BaikeInfo (line 105) | class BaikeInfo(proto.Message): class ObjectRecognitionInMsg (line 127) | class ObjectRecognitionInMsg(BaseModel): class Object (line 138) | class Object(BaseModel): class ObjectRecognitionOutMsg (line 153) | class ObjectRecognitionOutMsg(BaseModel): FILE: python/core/components/plant_recognize/component.py class PlantRecognition (line 29) | class PlantRecognition(Component): method run (line 93) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method __recognize (line 120) | def __recognize( method tool_eval (line 152) | def tool_eval( method _recognize_w_post_process (line 181) | def _recognize_w_post_process(self, img_name, img_url, file_urls, requ... method __check_service_error (line 207) | def __check_service_error(request_id: str, data: dict): FILE: python/core/components/plant_recognize/model.py class PlantBaikeInfo (line 27) | class PlantBaikeInfo(proto.Message): class Plant (line 50) | class Plant(proto.Message): class PlantRecognitionRequest (line 73) | class PlantRecognitionRequest(proto.Message): class PlantRecognitionResponse (line 102) | class PlantRecognitionResponse(proto.Message): class PlantRecognitionInMsg (line 124) | class PlantRecognitionInMsg(BaseModel): class PlantScore (line 135) | class PlantScore(BaseModel): class PlantRecognitionOutMsg (line 145) | class PlantRecognitionOutMsg(BaseModel): FILE: python/core/components/ppt_generation_from_file/base.py class PPTGenerationFromFileArgs (line 27) | class PPTGenerationFromFileArgs(ComponentArguments): method convert_params_to_dict (line 37) | def convert_params_to_dict(self): FILE: python/core/components/ppt_generation_from_file/component.py class PPTGenerationFromFile (line 29) | class PPTGenerationFromFile(Component): method __init__ (line 77) | def __init__( method ppt_generation (line 100) | def ppt_generation(self, method get_ppt_generation_status (line 135) | def get_ppt_generation_status(self, method get_ppt_download_link (line 203) | def get_ppt_download_link(self, method run (line 237) | def run(self, message: Message, poll_request_times=60, poll_request_in... method tool_eval (line 277) | def tool_eval(self, stream: bool = False, **kwargs): FILE: python/core/components/ppt_generation_from_instruction/base.py class ComplexChoices (line 26) | class ComplexChoices(Enum): class FontNameChoices (line 32) | class FontNameChoices(Enum): class PPTGenerationFromInstructionArgs (line 41) | class PPTGenerationFromInstructionArgs(ComponentArguments): method convert_params_to_dict (line 60) | def convert_params_to_dict(self): FILE: python/core/components/ppt_generation_from_instruction/component.py class PPTGenerationFromInstruction (line 29) | class PPTGenerationFromInstruction(Component): method __init__ (line 81) | def __init__( method ppt_generation (line 104) | def ppt_generation(self, method get_ppt_generation_status (line 139) | def get_ppt_generation_status(self, method get_ppt_download_link (line 211) | def get_ppt_download_link(self, method run (line 244) | def run(self, message: Message, poll_request_times=60, poll_request_in... method tool_eval (line 290) | def tool_eval(self, stream: bool = False, **kwargs): FILE: python/core/components/ppt_generation_from_paper/base.py class StyleChoices (line 26) | class StyleChoices(Enum): class ColorChoices (line 36) | class ColorChoices(Enum): class FontNameChoices (line 47) | class FontNameChoices(Enum): class PPTGenerationFromPaperArgs (line 56) | class PPTGenerationFromPaperArgs(ComponentArguments): method convert_params_to_dict (line 87) | def convert_params_to_dict(self): FILE: python/core/components/ppt_generation_from_paper/component.py class PPTGenerationFromPaper (line 29) | class PPTGenerationFromPaper(Component): method __init__ (line 77) | def __init__( method ppt_generation (line 100) | def ppt_generation(self, method get_ppt_generation_status (line 135) | def get_ppt_generation_status(self, method get_ppt_download_link (line 206) | def get_ppt_download_link(self, method run (line 240) | def run(self, message: Message, poll_request_times=60, poll_request_in... method tool_eval (line 287) | def tool_eval(self, stream: bool = False, **kwargs): FILE: python/core/components/qrcode_ocr/component.py class QRcodeOCR (line 29) | class QRcodeOCR(Component): method run (line 77) | def run(self, message: Message, location: str = "true", timeout: float... method _recognize (line 112) | def _recognize(self, request: QRcodeRequest, timeout: float = None, method _check_service_error (line 143) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 158) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/qrcode_ocr/model.py class QRcodeRequest (line 22) | class QRcodeRequest(proto.Message): class QRcodeResponse (line 50) | class QRcodeResponse(proto.Message): class QRcodeRes (line 78) | class QRcodeRes(proto.Message): class QRcodeLocation (line 105) | class QRcodeLocation(proto.Message): class QRcodeInMsg (line 132) | class QRcodeInMsg(BaseModel): class QRcodeOCRLocation (line 143) | class QRcodeOCRLocation(BaseModel): class QRcodeOCRRes (line 158) | class QRcodeOCRRes(BaseModel): class QRcodeOutMsg (line 171) | class QRcodeOutMsg(BaseModel): FILE: python/core/components/rag_with_baidu_search/component.py class RAGWithBaiduSearch (line 25) | class RAGWithBaiduSearch(CompletionBaseComponent): method __init__ (line 30) | def __init__( method __get_instruction_set (line 72) | def __get_instruction_set(): method _get_search_input (line 88) | def _get_search_input(self, text): method run (line 107) | def run( FILE: python/core/components/rag_with_baidu_search/model.py class RAGWithBaiduSearchArgs (line 19) | class RAGWithBaiduSearchArgs(ComponentArguments): FILE: python/core/components/rag_with_baidu_search_pro/component.py class RagWithBaiduSearchProRequest (line 27) | class RagWithBaiduSearchProRequest(BaseModel): class RagWithBaiduSearchProArgs (line 50) | class RagWithBaiduSearchProArgs(ComponentArguments): class RagWithBaiduSearchPro (line 60) | class RagWithBaiduSearchPro(Component): method __init__ (line 68) | def __init__( method set_secret_key_and_gateway (line 85) | def set_secret_key_and_gateway(self, secret_key: Optional[str] = None,... method run (line 102) | def run( FILE: python/core/components/rag_with_baidu_search_pro/model.py class ParseRagProResponse (line 19) | class ParseRagProResponse(CompletionResponse): method __init__ (line 21) | def __init__(self, response, stream: bool = False): method message_iterable_wrapper (line 81) | def message_iterable_wrapper(self, message): FILE: python/core/components/retriever/baidu_vdb/component.py function _try_import (line 30) | def _try_import() -> None: class TableParams (line 39) | class TableParams: method __init__ (line 57) | def __init__( class BaiduVDBVectorStoreIndex (line 78) | class BaiduVDBVectorStoreIndex: method __init__ (line 84) | def __init__( method _init_client (line 127) | def _init_client(self, instance_id, account, api_key): method _create_database_if_not_exists (line 149) | def _create_database_if_not_exists(self, database_name: str) -> None: method _create_table (line 157) | def _create_table(self, table_params: TableParams) -> None: method _create_table_in_db (line 173) | def _create_table_in_db( method _get_index_params (line 229) | def _get_index_params(index_type: Any, table_params: TableParams) -> N... method _get_index_type (line 247) | def _get_index_type(index_type_value: str) -> Any: method _get_metric_type (line 263) | def _get_metric_type(metric_type_value: str) -> Any: method client (line 279) | def client(self) -> Any: method as_retriever (line 291) | def as_retriever(self): method add_segments (line 307) | def add_segments(self, segments: Message, metadata=""): method from_params (line 343) | def from_params( class BaiduVDBRetriever (line 406) | class BaiduVDBRetriever(Component): method __init__ (line 434) | def __init__(self, method run (line 445) | def run(self, query: Message, top_k: int = 1): FILE: python/core/components/retriever/bes/component.py class BESVectorStoreIndex (line 34) | class BESVectorStoreIndex: method __init__ (line 40) | def __init__(self, cluster_id, user_name, password, embedding=None, in... method es (line 56) | def es(self): method helpers (line 71) | def helpers(self): method _lazy_import_es (line 85) | def _lazy_import_es(self): method generate_id (line 96) | def generate_id(length=16): method _create_bes_client (line 109) | def _create_bes_client(self, cluster_id, user_name, password): method as_retriever (line 150) | def as_retriever(self): method create_index_mappings (line 165) | def create_index_mappings(index_type, vector_dims): method add_segments (line 191) | def add_segments(self, segments: Message, metadata=""): method from_segments (line 218) | def from_segments(cls, segments, cluster_id, user_name, password, embe... method delete_all_segments (line 245) | def delete_all_segments(self): method get_all_segments (line 264) | def get_all_segments(self): class BESRetriever (line 275) | class BESRetriever(Component): method __init__ (line 299) | def __init__(self, method run (line 314) | def run(self, query: Message, top_k: int = 1): FILE: python/core/components/retriever/reranker/component.py class Reranker (line 29) | class Reranker(Component): method __init__ (line 56) | def __init__(self, method _check_response_json (line 72) | def _check_response_json(self, data: dict): method _request (line 84) | def _request(self, payload: dict) -> dict: method _batch (line 100) | def _batch(self, query, texts: List[str]) -> List[dict]: method run (line 121) | def run(self, query: Union[Message[str], str], FILE: python/core/components/retriever/reranker/model.py class RerankerArgs (line 22) | class RerankerArgs(ComponentArguments): FILE: python/core/components/table_ocr/component.py class TableOCR (line 29) | class TableOCR(Component): method run (line 73) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 111) | def _recognize(self, request: TableOCRRequest, timeout: float = None, method _check_service_error (line 141) | def _check_service_error(request_id: str, data: dict): method get_table_markdown (line 155) | def get_table_markdown(self, tables_result): method tool_eval (line 191) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/table_ocr/model.py class TableOCRRequest (line 22) | class TableOCRRequest(proto.Message): class TableOCRResponse (line 50) | class TableOCRResponse(proto.Message): class TableRes (line 78) | class TableRes(proto.Message): class Header (line 109) | class Header(proto.Message): class Body (line 127) | class Body(proto.Message): class Footer (line 170) | class Footer(proto.Message): class Location (line 188) | class Location(proto.Message): class TableOCRInMsg (line 205) | class TableOCRInMsg(BaseModel): class PyHeader (line 216) | class PyHeader(BaseModel): class PyBody (line 227) | class PyBody(BaseModel): class PyFooter (line 246) | class PyFooter(BaseModel): class TableOCRRes (line 257) | class TableOCRRes(BaseModel): class TableOCROutMsg (line 271) | class TableOCROutMsg(BaseModel): FILE: python/core/components/text_to_image/component.py class Text2Image (line 30) | class Text2Image(Component): method run (line 69) | def run( method submitText2ImageTask (line 158) | def submitText2ImageTask( method queryText2ImageData (line 191) | def queryText2ImageData( method extract_img_urls (line 227) | def extract_img_urls(self, response: Text2ImageQueryResponse): method check_service_error (line 249) | def check_service_error(request_id: str, data: dict): FILE: python/core/components/text_to_image/model.py class Text2ImageSubmitRequest (line 25) | class Text2ImageSubmitRequest(BaseModel): class Text2ImageSubmitErrorDetail (line 40) | class Text2ImageSubmitErrorDetail(BaseModel): class Text2ImageSubmitResponseData (line 45) | class Text2ImageSubmitResponseData(BaseModel): class Text2ImageSubmitResponse (line 50) | class Text2ImageSubmitResponse(BaseModel): class Text2ImageQueryRequest (line 58) | class Text2ImageQueryRequest(BaseModel): class FinalImage (line 62) | class FinalImage(BaseModel): class SubTaskResult (line 69) | class SubTaskResult(BaseModel): class Text2ImageQueryResponseData (line 77) | class Text2ImageQueryResponseData(BaseModel): class Text2ImageQueryResponse (line 85) | class Text2ImageQueryResponse(BaseModel): class Text2ImageInMessage (line 90) | class Text2ImageInMessage(BaseModel): class Text2ImageOutMessage (line 99) | class Text2ImageOutMessage(BaseModel): FILE: python/core/components/translate/component.py class Translation (line 30) | class Translation(Component): method run (line 87) | def run(self, message: Message, from_lang: str = "auto", to_lang: str ... method _translate (line 113) | def _translate(self, request: TranslateRequest, timeout: float = None, method tool_eval (line 152) | def tool_eval(self, name: str, streaming: bool, **kwargs): FILE: python/core/components/translate/model.py class TranslateRequest (line 26) | class TranslateRequest(proto.Message): class TranslateResponse (line 51) | class TranslateResponse(proto.Message): class TranslateRes (line 70) | class TranslateRes(proto.Message): class TranslateResMeta (line 97) | class TranslateResMeta(proto.Message): class TranslateResult (line 115) | class TranslateResult(BaseModel): class TranslateOutMsg (line 127) | class TranslateOutMsg(BaseModel): FILE: python/core/components/tree_mind/component.py class TreeMind (line 28) | class TreeMind(Component): method _post (line 66) | def _post(self, query, **kwargs): method tool_eval (line 87) | def tool_eval( method run (line 121) | def run(self, message: Message, **kwargs) -> Message: FILE: python/core/components/tree_mind/model.py class TreeMindRequest (line 23) | class TreeMindRequest(BaseModel): class FileInfo (line 26) | class FileInfo(BaseModel): class DownloadInfo (line 31) | class DownloadInfo(BaseModel): class Info (line 35) | class Info(BaseModel): class TreeMindResponse (line 38) | class TreeMindResponse(BaseModel): FILE: python/core/components/tts/component.py class TTS (line 29) | class TTS(Component): method __init__ (line 56) | def __init__(self, *args, **kwargs): method run (line 71) | def run(self, method __synthesis (line 149) | def __synthesis(self, method __check_service_error (line 210) | def __check_service_error(request_id: str, data: dict): function _iterate_chunk (line 230) | def _iterate_chunk(request_id, response): FILE: python/core/components/tts/model.py class TTSRequest (line 20) | class TTSRequest(proto.Message): method __validate (line 105) | def __validate(self): method validate_baidu_tts (line 116) | def validate_baidu_tts(self): method validate_paddle_speech_tts (line 132) | def validate_paddle_speech_tts(self): class TTSResponse (line 141) | class TTSResponse(proto.Message): class TTSInMsg (line 163) | class TTSInMsg(BaseModel): class TTSOutMsg (line 173) | class TTSOutMsg(BaseModel): FILE: python/core/components/v2/animal_recognize/component.py class AnimalRecognition (line 34) | class AnimalRecognition(Component): method run (line 88) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 114) | def _recognize( method tool_eval (line 148) | def tool_eval( method _recognize_w_post_process (line 172) | def _recognize_w_post_process(self, img_name, img_url, file_urls, requ... method _check_service_error (line 199) | def _check_service_error(request_id: str, data: dict): FILE: python/core/components/v2/asr/component.py class ASR (line 41) | class ASR(Component): method run (line 102) | def run(self, message: Message, audio_format: str = "pcm", rate: int =... method _recognize (line 129) | def _recognize( method _check_service_error (line 169) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 186) | def tool_eval(self, function _convert (line 244) | def _convert(path, file_type): FILE: python/core/components/v2/general_ocr/component.py class GeneralOCR (line 32) | class GeneralOCR(Component): method run (line 136) | def run(self, message: Message, timeout: float = None, retry: int = 0,... method _recognize (line 171) | def _recognize( method _check_service_error (line 206) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 221) | def tool_eval( FILE: python/core/components/v2/handwrite_ocr/component.py class HandwriteOCR (line 27) | class HandwriteOCR(Component): method run (line 92) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method tool_eval (line 129) | def tool_eval(self, method _recognize (line 254) | def _recognize( method _check_service_error (line 287) | def _check_service_error(request_id: str, data: dict): FILE: python/core/components/v2/handwrite_ocr/model.py class HandwriteOCRRequest (line 20) | class HandwriteOCRRequest(BaseModel): class HandwriteLocation (line 68) | class HandwriteLocation(BaseModel): class HandwriteWordResult (line 83) | class HandwriteWordResult(BaseModel): class HandwriteProbability (line 94) | class HandwriteProbability(BaseModel): class HandwriteOCRResponse (line 107) | class HandwriteOCRResponse(BaseModel): class HandwriteOCRInMsg (line 130) | class HandwriteOCRInMsg(BaseModel): class Position (line 141) | class Position(BaseModel): class Content (line 157) | class Content(BaseModel): class HandwriteOCROutMsg (line 168) | class HandwriteOCROutMsg(BaseModel): FILE: python/core/components/v2/image_understand/component.py class ImageUnderstand (line 32) | class ImageUnderstand(Component): method run (line 90) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method __recognize (line 127) | def __recognize( method tool_eval (line 184) | def tool_eval( method _recognize_w_post_process (line 269) | def _recognize_w_post_process( method __check_service_error (line 304) | def __check_service_error(request_id: str, data: dict): method __check_create_task_service_error (line 321) | def __check_create_task_service_error(request_id: str, data: dict): FILE: python/core/components/v2/llms/dialog_summary/component.py class DialogSummary (line 23) | class DialogSummary(CompletionBaseComponent): method __init__ (line 66) | def __init__( method run (line 91) | def run(self, message, stream=False, temperature=1e-10, top_p=0): method tool_eval (line 112) | def tool_eval(self, query: str, **kwargs): FILE: python/core/components/v2/llms/hallucination_detection/component.py class HallucinationDetection (line 25) | class HallucinationDetection(CompletionBaseComponent): method __init__ (line 95) | def __init__( method completion (line 121) | def completion(self, version, base_url, request, timeout: float = None, method run (line 148) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 188) | def tool_eval(self, FILE: python/core/components/v2/llms/is_complex_query/component.py class IsComplexQuery (line 25) | class IsComplexQuery(CompletionBaseComponent): method __init__ (line 70) | def __init__( method run (line 95) | def run(self, message, stream=False, temperature=1e-10, top_p=0): method tool_eval (line 111) | def tool_eval(self, query: str, **kwargs): FILE: python/core/components/v2/llms/mrc/component.py class MRC (line 24) | class MRC(CompletionBaseComponent): method __init__ (line 106) | def __init__( method __get_instruction_set (line 129) | def __get_instruction_set(self): method run (line 145) | def run(self, message, context_list, reject=False, clarify=False, method tool_eval (line 191) | def tool_eval(self, FILE: python/core/components/v2/llms/nl2pandas/component.py class Nl2pandasComponent (line 22) | class Nl2pandasComponent(CompletionBaseComponent): method __init__ (line 75) | def __init__( method run (line 99) | def run(self, message, table_info=None, stream=False, temperature=1e-1... method tool_eval (line 116) | def tool_eval(self, query: str, table_info: str, **kwargs): FILE: python/core/components/v2/llms/oral_query_generation/component.py class OralQueryGeneration (line 26) | class OralQueryGeneration(CompletionBaseComponent): method __init__ (line 80) | def __init__( method regenerate_output (line 104) | def regenerate_output(self, model_output, output_format): method completion (line 133) | def completion(self, version, base_url, request, timeout: float = None, method run (line 148) | def run(self, message, query_type='全部', output_format='str', stream=Fa... method tool_eval (line 189) | def tool_eval(self, FILE: python/core/components/v2/llms/qa_pair_mining/component.py class QAPairMining (line 22) | class QAPairMining(CompletionBaseComponent): method __init__ (line 68) | def __init__( method run (line 93) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 109) | def tool_eval(self, query: str, **kwargs): FILE: python/core/components/v2/llms/query_decomposition/component.py class QueryDecomposition (line 24) | class QueryDecomposition(CompletionBaseComponent): method __init__ (line 68) | def __init__( method run (line 93) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 109) | def tool_eval(self, query: str, **kwargs): FILE: python/core/components/v2/llms/query_rewrite/component.py class QueryRewrite (line 25) | class QueryRewrite(CompletionBaseComponent): method __init__ (line 78) | def __init__( method run (line 103) | def run(self, message, rewrite_type="带机器人回复", stream=False, temperatur... method tool_eval (line 145) | def tool_eval(self, FILE: python/core/components/v2/llms/similar_question/component.py class SimilarQuestion (line 25) | class SimilarQuestion(CompletionBaseComponent): method __init__ (line 69) | def __init__( method run (line 95) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0, req... method tool_eval (line 111) | def tool_eval(self, FILE: python/core/components/v2/llms/style_rewrite/component.py class StyleRewrite (line 22) | class StyleRewrite(CompletionBaseComponent): method __init__ (line 66) | def __init__( method run (line 92) | def run(self, message, style="营销话术", stream=False, temperature=1e-10, ... method tool_eval (line 110) | def tool_eval(self, query: str, style: str = "营销话术", **kwargs): FILE: python/core/components/v2/llms/style_writing/component.py class StyleWritingArgs (line 25) | class StyleWritingArgs(ComponentArguments): class StyleWriting (line 45) | class StyleWriting(CompletionBaseComponent): method __init__ (line 96) | def __init__( method run (line 122) | def run(self, message, style_query="通用", length=100, stream=False, tem... method tool_eval (line 142) | def tool_eval(self, FILE: python/core/components/v2/llms/tag_extraction/component.py class TagExtraction (line 22) | class TagExtraction(CompletionBaseComponent): method __init__ (line 62) | def __init__( method run (line 87) | def run(self, message, stream=False, temperature=1e-10, top_p=0.0): method tool_eval (line 107) | def tool_eval(self, query: str, **kwargs): FILE: python/core/components/v2/mix_card_ocr/component.py class MixCardOCR (line 26) | class MixCardOCR(Component): method run (line 76) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 119) | def _recognize(self, request: MixCardOCRRequest, timeout: float = None... method _check_service_error (line 148) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 163) | def tool_eval(self, FILE: python/core/components/v2/mix_card_ocr/model.py class MixCardOCRRequest (line 21) | class MixCardOCRRequest(BaseModel): class MixCardOCRLocation (line 50) | class MixCardOCRLocation(BaseModel): class MixCardOCRInfo (line 65) | class MixCardOCRInfo(BaseModel): class MixCardOCRResult (line 86) | class MixCardOCRResult(BaseModel): class MixOCRCardInfoResult (line 98) | class MixOCRCardInfoResult(BaseModel): class MixCardOCRResponse (line 111) | class MixCardOCRResponse(BaseModel): class MixCardOCRInMsg (line 130) | class MixCardOCRInMsg(BaseModel): class MixCardPosition (line 141) | class MixCardPosition(BaseModel): class MixCardField (line 157) | class MixCardField(BaseModel): class MixCardContent (line 171) | class MixCardContent(BaseModel): class MixCardOCROutMsg (line 182) | class MixCardOCROutMsg(BaseModel): FILE: python/core/components/v2/object_recognize/component.py class ObjectRecognition (line 28) | class ObjectRecognition(Component): method run (line 84) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 111) | def _recognize(self, request: ObjectRecognitionRequest, timeout: float... method _check_service_error (line 139) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 154) | def tool_eval(self, FILE: python/core/components/v2/plant_recognize/component.py class PlantRecognition (line 29) | class PlantRecognition(Component): method run (line 93) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method __recognize (line 120) | def __recognize( method tool_eval (line 152) | def tool_eval( method _recognize_w_post_process (line 180) | def _recognize_w_post_process(self, img_name, img_url, file_urls, requ... method __check_service_error (line 206) | def __check_service_error(request_id: str, data: dict): FILE: python/core/components/v2/qrcode_ocr/component.py class QRcodeOCR (line 30) | class QRcodeOCR(Component): method run (line 78) | def run(self, message: Message, location: str = "true", timeout: float... method _recognize (line 112) | def _recognize(self, request: QRcodeRequest, timeout: float = None, method _check_service_error (line 145) | def _check_service_error(request_id: str, data: dict): method tool_eval (line 160) | def tool_eval(self, file_names:Optional[list]=[], location: Optional[s... FILE: python/core/components/v2/qrcode_ocr/model.py class QRcodeRequest (line 22) | class QRcodeRequest(BaseModel): class QRcodeLocation (line 41) | class QRcodeLocation(BaseModel): class QRcodeRes (line 55) | class QRcodeRes(BaseModel): class QRcodeResponse (line 75) | class QRcodeResponse(BaseModel): class QRcodeInMsg (line 89) | class QRcodeInMsg(BaseModel): class QRcodeOCRLocation (line 100) | class QRcodeOCRLocation(BaseModel): class QRcodeOCRRes (line 115) | class QRcodeOCRRes(BaseModel): class QRcodeOutMsg (line 128) | class QRcodeOutMsg(BaseModel): FILE: python/core/components/v2/table_ocr/component.py class TableOCR (line 33) | class TableOCR(Component): method run (line 95) | def run(self, message: Message, timeout: float = None, retry: int = 0)... method _recognize (line 133) | def _recognize(self, request: TableOCRRequest, timeout: float = None, method _check_service_error (line 163) | def _check_service_error(request_id: str, data: dict): method get_table_markdown (line 177) | def get_table_markdown(self, tables_result): method tool_eval (line 213) | def tool_eval(self, FILE: python/core/components/v2/text_to_image/component.py class Text2Image (line 31) | class Text2Image(Component): method run (line 70) | def run( method tool_eval (line 133) | def tool_eval( method _recognize (line 208) | def _recognize( method queryText2ImageData (line 312) | def queryText2ImageData( method extract_img_urls (line 348) | def extract_img_urls(self, response: Text2ImageQueryResponse): method check_service_error (line 370) | def check_service_error(request_id: str, data: dict): FILE: python/core/components/v2/translate/component.py class Translation (line 30) | class Translation(Component): method run (line 87) | def run(self, message: Message, from_lang: str = "auto", to_lang: str ... method _translate (line 113) | def _translate(self, request: TranslateRequest, timeout: float = None, method tool_eval (line 152) | def tool_eval(self, FILE: python/core/components/v2/tree_mind/component.py class TreeMind (line 30) | class TreeMind(Component): method _post (line 68) | def _post(self, query, **kwargs): method tool_eval (line 92) | def tool_eval( method run (line 156) | def run(self, message: Message, **kwargs) -> Message: FILE: python/core/components/v2/tree_mind/model.py class TreeMindRequest (line 23) | class TreeMindRequest(BaseModel): class FileInfo (line 26) | class FileInfo(BaseModel): class DownloadInfo (line 31) | class DownloadInfo(BaseModel): class Info (line 35) | class Info(BaseModel): class TreeMindResponse (line 38) | class TreeMindResponse(BaseModel): FILE: python/core/console/ai_search/ai_search.py class AISearch (line 22) | class AISearch(Component): method __init__ (line 24) | def __init__(self, **kwargs): method run (line 27) | def run(self, method _iterate_events (line 95) | def _iterate_events(request_id, events): FILE: python/core/console/ai_search/data_class.py class PropertyInfo (line 23) | class PropertyInfo: method __init__ (line 40) | def __init__( method __repr__ (line 54) | def __repr__(self) -> str: class ImageURL (line 61) | class ImageURL(BaseModel): class ImageURLContentBlock (line 67) | class ImageURLContentBlock(BaseModel): class TextContentBlock (line 74) | class TextContentBlock(BaseModel): class Message (line 87) | class Message(BaseModel): class SearchResource (line 92) | class SearchResource(BaseModel): class PageTime (line 99) | class PageTime(BaseModel): class Range (line 108) | class Range(BaseModel): class Match (line 116) | class Match(BaseModel): class SearchFilter (line 122) | class SearchFilter(BaseModel): class KnowledgeData (line 129) | class KnowledgeData(BaseModel): class Knowledge (line 138) | class Knowledge(BaseModel): class AISearchRequest (line 149) | class AISearchRequest(BaseModel): class Usage (line 243) | class Usage(BaseModel): class VideoDetail (line 249) | class VideoDetail(BaseModel): class ImageDetail (line 258) | class ImageDetail(BaseModel): class Reference (line 264) | class Reference(BaseModel): class Delta (line 280) | class Delta(BaseModel): class ChoiceMessage (line 293) | class ChoiceMessage(BaseModel): class Choice (line 307) | class Choice(BaseModel): class AISearchResponse (line 322) | class AISearchResponse(BaseModel): FILE: python/core/console/appbuilder_client/appbuilder_client.py function get_app_list (line 31) | def get_app_list( function describe_apps (line 77) | def describe_apps( function describe_app (line 115) | def describe_app( function get_all_apps (line 148) | def get_all_apps(): class AppBuilderClient (line 175) | class AppBuilderClient(Component): method __init__ (line 198) | def __init__(self, app_id: str, **kwargs): method create_conversation (line 218) | def create_conversation(self) -> str: method upload_local_file (line 242) | def upload_local_file(self, conversation_id, local_file_path: str) -> ... method upload_file (line 257) | def upload_file(self, conversation_id, local_file_path: str=None, file... method run (line 309) | def run( method feedback (line 407) | def feedback( method run_with_handler (line 452) | def run_with_handler( method run_multiple_dialog_with_handler (line 492) | def run_multiple_dialog_with_handler( method _iterate_events (line 554) | def _iterate_events(request_id, events): method _check_console_response (line 572) | def _check_console_response(request_id: str, data): method _transform (line 581) | def _transform( class AgentBuilder (line 600) | class AgentBuilder(AppBuilderClient): method __init__ (line 627) | def __init__(self, app_id: str): FILE: python/core/console/appbuilder_client/async_appbuilder_client.py class AsyncAppBuilderClient (line 25) | class AsyncAppBuilderClient(Component): method __init__ (line 26) | def __init__(self, app_id, **kwargs): method create_conversation (line 37) | async def create_conversation(self) -> str: method run (line 60) | async def run( method upload_local_file (line 157) | async def upload_local_file(self, conversation_id, local_file_path: st... method upload_file (line 172) | async def upload_file(self, conversation_id, local_file_path: str=None... method run_with_handler (line 224) | async def run_with_handler( method run_multiple_dialog_with_handler (line 264) | async def run_multiple_dialog_with_handler( method _iterate_events (line 327) | async def _iterate_events(request_id, events): FILE: python/core/console/appbuilder_client/async_event_handler.py class AppBuilderClientRunContext (line 18) | class AppBuilderClientRunContext(object): method __init__ (line 19) | def __init__(self) -> None: class AsyncAppBuilderEventHandler (line 38) | class AsyncAppBuilderEventHandler(object): method __init__ (line 39) | def __init__(self): method init (line 42) | async def init( method __run_process__ (line 91) | async def __run_process__(self): method __async_run_process__ (line 113) | async def __async_run_process__(self): method __event_process__ (line 134) | async def __event_process__(self, run_response): method __stream_run_process__ (line 198) | async def __stream_run_process__(self): method __stream_event_process__ (line 216) | async def __stream_event_process__(self, run_response): method _update_run_context (line 285) | async def _update_run_context(self, run_context, run_response): method _run (line 315) | async def _run(self): method _submit_tool_output (line 326) | async def _submit_tool_output(self): method __anext__ (line 336) | async def __anext__(self): method __aiter__ (line 339) | async def __aiter__(self): method __enter__ (line 343) | def __enter__(self): method __exit__ (line 346) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method reset_state (line 352) | async def reset_state(self): method new_dialog (line 376) | async def new_dialog( method until_done (line 421) | async def until_done(self): method handle_content_type (line 435) | async def handle_content_type(self, run_context, run_response): method handle_event_type (line 439) | async def handle_event_type(self, run_context, run_response): method interrupt (line 443) | async def interrupt(self, run_context, run_response): method preparing (line 447) | async def preparing(self, run_context, run_response): method running (line 451) | async def running(self, run_context, run_response): method error (line 455) | async def error(self, run_context, run_response): method done (line 459) | async def done(self, run_context, run_response): method success (line 463) | async def success(self, run_context, run_response): class AsyncToolCallEventHandler (line 468) | class AsyncToolCallEventHandler(AsyncAppBuilderEventHandler): method __init__ (line 469) | def __init__(self, mcp_client=None, functions=[]): method init (line 475) | async def init( method reset_state (line 500) | async def reset_state(self): method new_dialog (line 504) | async def new_dialog( method interrupt (line 519) | async def interrupt(self, run_context, run_response): method running (line 556) | async def running(self, run_context, run_response): method success (line 561) | async def success(self, run_context, run_response): FILE: python/core/console/appbuilder_client/data_class.py class Function (line 22) | class Function(BaseModel): class Tool (line 28) | class Tool(BaseModel): class MCPTool (line 33) | class MCPTool(BaseModel): function ToAppBuilderTool (line 39) | def ToAppBuilderTool(tool): class ToolOutput (line 49) | class ToolOutput(BaseModel): class FunctionCallDetail (line 54) | class FunctionCallDetail(BaseModel): class ToolCall (line 59) | class ToolCall(BaseModel): class ToolChoiceFunction (line 66) | class ToolChoiceFunction(BaseModel): class ToolChoice (line 77) | class ToolChoice(BaseModel): class ActionInterruptEvent (line 87) | class ActionInterruptEvent(BaseModel): class ActionParameters (line 92) | class ActionParameters(BaseModel): class CustomMetadata (line 97) | class CustomMetadata(BaseModel): class Action (line 101) | class Action(BaseModel): method create_resume_action (line 110) | def create_resume_action(cls, event_id): class AppBuilderClientRequest (line 122) | class AppBuilderClientRequest(BaseModel): class Usage (line 146) | class Usage(BaseModel): class OriginalEvent (line 156) | class OriginalEvent(BaseModel): class AppBuilderClientResponse (line 177) | class AppBuilderClientResponse(BaseModel): class TextDetail (line 197) | class TextDetail(BaseModel): class CodeDetail (line 205) | class CodeDetail(BaseModel): class RAGReference (line 217) | class RAGReference(BaseModel): class RAGDetail (line 240) | class RAGDetail(BaseModel): class FunctionCallDetail (line 250) | class FunctionCallDetail(BaseModel): class ImageDetail (line 261) | class ImageDetail(BaseModel): class AudioDetail (line 269) | class AudioDetail(BaseModel): class VideoDetail (line 277) | class VideoDetail(BaseModel): class StatusDetail (line 285) | class StatusDetail(BaseModel): class DefaultDetail (line 289) | class DefaultDetail(BaseModel): class Event (line 305) | class Event(BaseModel): class AppBuilderClientAnswer (line 326) | class AppBuilderClientAnswer(BaseModel): class FileUploadResponse (line 337) | class FileUploadResponse(BaseModel): class CreateConversationResponse (line 349) | class CreateConversationResponse(BaseModel): class AppBuilderClientAppListRequest (line 360) | class AppBuilderClientAppListRequest(BaseModel): class AppOverview (line 369) | class AppOverview(BaseModel): class AppBuilderClientAppListResponse (line 381) | class AppBuilderClientAppListResponse(BaseModel): class DescribeAppsRequest (line 387) | class DescribeAppsRequest(BaseModel): class DescribeAppsResponse (line 395) | class DescribeAppsResponse(BaseModel): class DescribeAppRequest (line 404) | class DescribeAppRequest(BaseModel): class DescribeAppResponse (line 408) | class DescribeAppResponse(BaseModel): class FeedbackRequest (line 423) | class FeedbackRequest(BaseModel): FILE: python/core/console/appbuilder_client/event_handler.py class AppBuilderClientRunContext (line 20) | class AppBuilderClientRunContext(object): method __init__ (line 21) | def __init__(self) -> None: class AppBuilderEventHandler (line 40) | class AppBuilderEventHandler(object): method __init__ (line 41) | def __init__(self): method init (line 44) | def init( method __run_process__ (line 90) | def __run_process__(self): method __event_process__ (line 112) | def __event_process__(self, run_response): method __stream_run_process__ (line 172) | def __stream_run_process__(self): method __stream_event_process__ (line 191) | def __stream_event_process__(self, run_response): method _update_run_context (line 256) | def _update_run_context(self, run_context, run_response): method _run (line 285) | def _run(self): method _submit_tool_output (line 296) | def _submit_tool_output(self): method __next__ (line 306) | def __next__(self): method __iter__ (line 309) | def __iter__(self): method __enter__ (line 313) | def __enter__(self): method __exit__ (line 316) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method reset_state (line 322) | def reset_state(self): method new_dialog (line 346) | def new_dialog( method until_done (line 391) | def until_done(self): method handle_content_type (line 405) | def handle_content_type(self, run_context, run_response): method handle_event_type (line 409) | def handle_event_type(self, run_context, run_response): method interrupt (line 413) | def interrupt(self, run_context, run_response): method preparing (line 417) | def preparing(self, run_context, run_response): method running (line 421) | def running(self, run_context, run_response): method error (line 425) | def error(self, run_context, run_response): method done (line 429) | def done(self, run_context, run_response): method success (line 433) | def success(self, run_context, run_response): class ToolCallEventHandler (line 438) | class ToolCallEventHandler(AppBuilderEventHandler): method __init__ (line 439) | def __init__(self, functions): method init (line 444) | def init( method reset_state (line 460) | def reset_state(self): method new_dialog (line 464) | def new_dialog(self, query=None, file_ids=None, tools=None, action=Non... method interrupt (line 468) | def interrupt(self, run_context, run_response): method running (line 492) | def running(self, run_context, run_response): method success (line 497) | def success(self, run_context, run_response): FILE: python/core/console/base.py class ConsoleLLMMessage (line 19) | class ConsoleLLMMessage(LLMMessage): method __str__ (line 22) | def __str__(self): class ConsoleCompletionResponse (line 26) | class ConsoleCompletionResponse(CompletionResponse): method __init__ (line 37) | def __init__(self, response, stream: bool = False): method message_iterable_wrapper (line 67) | def message_iterable_wrapper(self, message): method to_message (line 114) | def to_message(self): FILE: python/core/console/component_client/component_client.py class ComponentClient (line 25) | class ComponentClient(Component): method __init__ (line 26) | def __init__(self, **kwargs): method run (line 35) | def run( method _iterate_events (line 105) | def _iterate_events(request_id, events): FILE: python/core/console/component_client/data_class.py class RunRequest (line 21) | class RunRequest(BaseModel): class Parameters (line 23) | class Parameters(BaseModel, extra="allow"): class Message (line 25) | class Message(BaseModel): class ContentWithEvent (line 52) | class ContentWithEvent(Content): class Event (line 55) | class Event(BaseModel): class RunResponse (line 79) | class RunResponse(BaseModel): FILE: python/core/console/dataset/dataset.py class Dataset (line 11) | class Dataset: method __init__ (line 44) | def __init__(self, dataset_id: str = "", dataset_name: str = ""): method http_client (line 60) | def http_client(self): method create_dataset (line 66) | def create_dataset(cls, dataset_name: str): method add_documents (line 88) | def add_documents(self, file_path_list: List[str], is_custom_process_r... method _upload_document (line 137) | def _upload_document(self, file_path: str): method delete_documents (line 158) | def delete_documents(self, document_ids: List[str]): method _delete_document (line 171) | def _delete_document(self, document_id): method get_documents (line 186) | def get_documents(self, page: int, limit: int, keyword: str = "") -> D... FILE: python/core/console/dataset/model.py class DocumentInfo (line 5) | class DocumentInfo(BaseModel): class DocumentListResponse (line 18) | class DocumentListResponse(BaseModel): class AddDocumentsResponse (line 26) | class AddDocumentsResponse(BaseModel): FILE: python/core/console/knowledge_base/data_class.py class KnowledgeBaseUploadFileResponse (line 21) | class KnowledgeBaseUploadFileResponse(BaseModel): class CustomProcessRule (line 27) | class CustomProcessRule(BaseModel): class KnowledgeBaseAddDocumentRequest (line 36) | class KnowledgeBaseAddDocumentRequest(BaseModel): class KnowledgeBaseAddDocumentResponse (line 48) | class KnowledgeBaseAddDocumentResponse(BaseModel): class KnowledgeBaseDeleteDocumentRequest (line 54) | class KnowledgeBaseDeleteDocumentRequest(BaseModel): class KnowledgeBaseDeleteDocumentResponse (line 59) | class KnowledgeBaseDeleteDocumentResponse(BaseModel): class KnowledgeBaseGetDocumentsListRequest (line 63) | class KnowledgeBaseGetDocumentsListRequest(BaseModel): class DocumentMeta (line 78) | class DocumentMeta(BaseModel): class Document (line 89) | class Document(BaseModel): class KnowledgeBaseGetDocumentsListResponse (line 100) | class KnowledgeBaseGetDocumentsListResponse(BaseModel): class DescribeDocumentsRequest (line 105) | class DescribeDocumentsRequest(BaseModel): class DescribeDocumentMeata (line 113) | class DescribeDocumentMeata(BaseModel): class DescribeDocument (line 117) | class DescribeDocument(BaseModel): class DescribeDocumentsResponse (line 130) | class DescribeDocumentsResponse(BaseModel): class KnowledgeBaseConfigIndex (line 141) | class KnowledgeBaseConfigIndex(BaseModel): class KnowledgeBaseConfigCatalogue (line 150) | class KnowledgeBaseConfigCatalogue(BaseModel): class KnowledgeBaseConfig (line 154) | class KnowledgeBaseConfig(BaseModel): class KnowledgeBaseCreateKnowledgeBaseRequest (line 160) | class KnowledgeBaseCreateKnowledgeBaseRequest(BaseModel): class KnowledgeBaseGetDetailRequest (line 166) | class KnowledgeBaseGetDetailRequest(BaseModel): class KnowledgeBaseDetailResponse (line 170) | class KnowledgeBaseDetailResponse(BaseModel): class KnowledgeBaseModifyRequest (line 178) | class KnowledgeBaseModifyRequest(BaseModel): class KnowledgeBaseDeleteRequest (line 185) | class KnowledgeBaseDeleteRequest(BaseModel): class KnowledgeBaseGetListRequest (line 189) | class KnowledgeBaseGetListRequest(BaseModel): class KnowledgeBaseGetListConfigIndex (line 197) | class KnowledgeBaseGetListConfigIndex(BaseModel): class KnowledgeBaseGetListConfig (line 202) | class KnowledgeBaseGetListConfig(BaseModel): class KnowledgeBaseGetListDetailResponse (line 207) | class KnowledgeBaseGetListDetailResponse(BaseModel): class KnowledgeBaseGetListResponse (line 215) | class KnowledgeBaseGetListResponse(BaseModel): class DocumentSourceUrlConfig (line 225) | class DocumentSourceUrlConfig(BaseModel): class DocumentSource (line 232) | class DocumentSource(BaseModel): class DocumentChoices (line 240) | class DocumentChoices(BaseModel): class DocumentSeparator (line 244) | class DocumentSeparator(BaseModel): class DocumentPattern (line 250) | class DocumentPattern(BaseModel): class DocumentChunker (line 261) | class DocumentChunker(BaseModel): class DocumentProcessOption (line 274) | class DocumentProcessOption(BaseModel): class KnowledgeBaseCreateDocumentsRequest (line 291) | class KnowledgeBaseCreateDocumentsRequest(BaseModel): class KnowledgeBaseCreateDocumentsResponse (line 303) | class KnowledgeBaseCreateDocumentsResponse(BaseModel): class KnowledgeBaseUploadDocumentsResponse (line 308) | class KnowledgeBaseUploadDocumentsResponse(BaseModel): class CreateChunkRequest (line 313) | class CreateChunkRequest(BaseModel): class CreateChunkResponse (line 319) | class CreateChunkResponse(BaseModel): class ModifyChunkRequest (line 323) | class ModifyChunkRequest(BaseModel): class DeleteChunkRequest (line 330) | class DeleteChunkRequest(BaseModel): class DescribeChunkRequest (line 335) | class DescribeChunkRequest(BaseModel): class DescribeChunkResponse (line 340) | class DescribeChunkResponse(BaseModel): class DescribeChunksRequest (line 356) | class DescribeChunksRequest(BaseModel): class DescribeChunksResponse (line 371) | class DescribeChunksResponse(BaseModel): class MetadataFilter (line 381) | class MetadataFilter(BaseModel): class MetadataFilters (line 389) | class MetadataFilters(BaseModel): class PreRankingConfig (line 394) | class PreRankingConfig(BaseModel): class QueryType (line 413) | class QueryType(str, Enum): class ElasticSearchRetrieveConfig (line 419) | class ElasticSearchRetrieveConfig(BaseModel): # 托管资源为共享资源 或 BES资源时使用该配置 class VectorDBRetrieveConfig (line 426) | class VectorDBRetrieveConfig(BaseModel): class SmallToBigConfig (line 436) | class SmallToBigConfig(BaseModel): class RankingConfig (line 442) | class RankingConfig(BaseModel): class QueryPipelineConfig (line 453) | class QueryPipelineConfig(BaseModel): class QueryKnowledgeBaseRequest (line 462) | class QueryKnowledgeBaseRequest(BaseModel): class RowLine (line 482) | class RowLine(BaseModel): class ChunkLocation (line 493) | class ChunkLocation(BaseModel): class Chunk (line 501) | class Chunk(BaseModel): class QueryKnowledgeBaseResponse (line 517) | class QueryKnowledgeBaseResponse(BaseModel): FILE: python/core/console/knowledge_base/knowledge_base.py class KnowledgeBase (line 26) | class KnowledgeBase(Component): method __init__ (line 46) | def __init__( method create_knowledge (line 65) | def create_knowledge(cls, knowledge_name: str) -> "KnowledgeBase": method upload_file (line 92) | def upload_file( method add_document (line 133) | def add_document( method delete_document (line 192) | def delete_document( method describe_documents (line 238) | def describe_documents(self, knowledge_base_id: Optional[str]=None, ma... method get_documents_list (line 281) | def get_documents_list( method create_knowledge_base (line 328) | def create_knowledge_base( method get_knowledge_base_detail (line 403) | def get_knowledge_base_detail( method modify_knowledge_base (line 446) | def modify_knowledge_base( method delete_knowledge_base (line 504) | def delete_knowledge_base( method create_documents (line 544) | def create_documents( method get_knowledge_base_list (line 599) | def get_knowledge_base_list( method upload_documents (line 647) | def upload_documents( method create_chunk (line 708) | def create_chunk( method modify_chunk (line 755) | def modify_chunk( method delete_chunk (line 801) | def delete_chunk( method describe_chunk (line 842) | def describe_chunk( method describe_chunks (line 890) | def describe_chunks( method get_all_documents (line 944) | def get_all_documents(self, knowledge_base_id: Optional[str] = None) -... method query_knowledge_base (line 981) | def query_knowledge_base( FILE: python/core/console/rag/rag.py class RAG (line 7) | class RAG(Component): method __init__ (line 38) | def __init__(self, app_id: str = ""): method http_client (line 44) | def http_client(self): method run (line 49) | def run(self, query: Message, conversation_id: str = "", stream: bool ... method debug (line 71) | def debug(self, query: Message): FILE: python/core/context.py class SessionContext (line 22) | class SessionContext: method __init__ (line 32) | def __init__(self, id: str, session_id: str, request_id: str, user_id:... function init_context (line 43) | def init_context( function get_context (line 61) | def get_context() -> SessionContext: FILE: python/core/manifest/manifest_decorator.py function manifest (line 23) | def manifest( function manifest_parameter (line 116) | def manifest_parameter( function _merge_dict (line 203) | def _merge_dict(current_dict, new_dict): function _update_list (line 213) | def _update_list(new_item, list, condition, replacer): FILE: python/core/manifest/manifest_signature.py function get_signature (line 38) | def get_signature(func): function _parse_parameter (line 64) | def _parse_parameter(param: Parameter) -> Dict[str, Any]: function _parse_annotation (line 75) | def _parse_annotation(annotation: Parameter) -> Dict[str, Any]: function _parse_internal_annotation (line 87) | def _parse_internal_annotation(annotation: Any, required: bool) -> Dict[... FILE: python/core/manifest/models.py class PropertyModel (line 20) | class PropertyModel(BaseModel): method merge (line 34) | def merge(cls, a: "PropertyModel", b: "PropertyModel") -> "PropertyMod... class ParametersModel (line 44) | class ParametersModel(BaseModel): class Manifest (line 58) | class Manifest(BaseModel): method from_function (line 70) | def from_function(cls, func) -> "Manifest": FILE: python/core/message.py class Message (line 26) | class Message(BaseModel, Generic[_T], extra='allow'): method __init__ (line 41) | def __init__(self, content: Optional[_T] = None, **data): method __str__ (line 47) | def __str__(self): method __repr__ (line 50) | def __repr__(self): FILE: python/core/session_message.py function get_db_base_class (line 20) | def get_db_base_class(): class SessionMessage (line 33) | class SessionMessage(get_db_base_class()): FILE: python/core/user_session.py function lazy_import_sqlalchemy (line 25) | def lazy_import_sqlalchemy(): class UserSession (line 33) | class UserSession(object): method __new__ (line 41) | def __new__(cls, *args, **kwargs): method __init__ (line 51) | def __init__(self, user_session_config: Optional[Union[Any, str]] = No... method get_history (line 85) | def get_history(self, key: str, limit: int=10) -> List[Message]: method append (line 114) | def append(self, message_dict: Dict[str, Message]) -> None: method _post_append (line 145) | def _post_append(self) -> None: FILE: python/core/utils.py function utils_get_user_agent (line 24) | def utils_get_user_agent(): function get_model_list (line 30) | def get_model_list( function get_filename_from_url (line 69) | def get_filename_from_url(url): function convert_cloudhub_url (line 79) | def convert_cloudhub_url(client: HTTPClient, qianfan_url: str) -> str: function convert_cloudhub_url_v2 (line 90) | def convert_cloudhub_url_v2(client: HTTPClient, qianfan_url: str) -> str: function is_url (line 101) | def is_url(string): function ttl_lru_cache (line 111) | def ttl_lru_cache(seconds_to_live: int, maxsize: int = 128): class ModelInfo (line 125) | class ModelInfo: method __init__ (line 128) | def __init__(self, client: HTTPClient): method get_model_url (line 134) | def get_model_url(self, model_name: str) -> str: method get_model_type (line 148) | def get_model_type(self, model_name: str) -> str: FILE: python/mcp_server/ai_search/ai_search_server.py function AIsearch (line 25) | def AIsearch( FILE: python/mcp_server/app/app_server.py function list_apps (line 41) | def list_apps() -> List[Dict]: function create_conversation (line 66) | def create_conversation(app_id: str) -> str: function run (line 85) | def run(app_id: str, conversation_id: str, query: str) -> str: FILE: python/mcp_server/client.py class MCPClient (line 13) | class MCPClient: method __init__ (line 14) | def __init__(self): method connect_to_server (line 24) | async def connect_to_server( method _connect_to_stdio_server (line 42) | async def _connect_to_stdio_server(self, server_script_path: str, env:... method _connect_to_sse_server (line 72) | async def _connect_to_sse_server(self, service_url: str): method _store_session_and_tools (line 87) | def _store_session_and_tools(self, cmd_key): method call_tool (line 96) | async def call_tool(self, tool_name, tool_args): method cleanup (line 104) | async def cleanup(self): FILE: python/mcp_server/http_client.py class HTTPClient (line 14) | class HTTPClient: method __init__ (line 20) | def __init__( method _ensure_session (line 42) | async def _ensure_session(self) -> None: method close (line 50) | async def close(self) -> None: method request (line 56) | async def request( method get (line 198) | async def get(self, url: str, **kwargs) -> Dict[str, Any]: method post (line 202) | async def post(self, url: str, **kwargs) -> Dict[str, Any]: method put (line 206) | async def put(self, url: str, **kwargs) -> Dict[str, Any]: method patch (line 210) | async def patch(self, url: str, **kwargs) -> Dict[str, Any]: method delete (line 214) | async def delete(self, url: str, **kwargs) -> Dict[str, Any]: FILE: python/mcp_server/knowledge_base/knowledge_base_server.py class TemplateType (line 14) | class TemplateType(str, Enum): class ParserChoices (line 22) | class ParserChoices(str, Enum): function create_knowledge_base (line 32) | def create_knowledge_base(name: str, description: str): function describe_knowledge_base (line 50) | def describe_knowledge_base(id: str): function list_knowledge_bases (line 66) | def list_knowledge_bases(max_keys: int = 10): function query_knowledge_base (line 82) | def query_knowledge_base(query: str, id_list: list[str]): function upload_document (line 100) | def upload_document( function list_documents (line 138) | def list_documents(id: str): FILE: python/mcp_server/openapi.py class MCPTool (line 10) | class MCPTool: method create_handler (line 20) | def create_handler(self, converter: 'OpenAPIMCPConverter') -> Callable: class OpenAPIMCPConverter (line 81) | class OpenAPIMCPConverter: method __init__ (line 82) | def __init__(self, method create_tools (line 106) | def create_tools(self, prefix: str = "") -> Dict[str, Callable]: method close (line 122) | async def close(self) -> None: method load_spec (line 126) | async def load_spec(self, spec_source: str) -> None: method _process_spec (line 162) | async def _process_spec(self, spec: Dict[str, Any]) -> None: method _create_tool (line 172) | def _create_tool(self, path: str, method: str, operation: Dict[str, An... method list_tools (line 245) | def list_tools(self) -> List[Dict[str, Any]]: method call_tool (line 256) | async def call_tool(self, tool_name: str, arguments: Dict[str, Any] = ... FILE: python/mcp_server/server.py class MCPComponentServer (line 51) | class MCPComponentServer: method __init__ (line 80) | def __init__(self, name: str, host: str = "localhost", port: int = 800... method tool (line 92) | def tool(self, *args, **kwargs): method resource (line 103) | def resource(self, *args, **kwargs): method add_openapi_spec (line 115) | async def add_openapi_spec( method _convert_visible_scope_to_audience (line 168) | def _convert_visible_scope_to_audience( method _get_mimetype_from_bytes (line 179) | def _get_mimetype_from_bytes(self, data: bytes) -> str: method _convert_image_to_image_content (line 184) | def _convert_image_to_image_content( method _convert_audio_to_embedded_resource (line 218) | def _convert_audio_to_embedded_resource( method _convert_reference_to_embedded_resource (line 257) | def _convert_reference_to_embedded_resource( method _convert_component_output_to_text_content (line 276) | def _convert_component_output_to_text_content( method _convert_generator (line 290) | def _convert_generator( method convert_component_to_tool (line 331) | def convert_component_to_tool(self, component: Component) -> None: method add_component (line 385) | def add_component( method run (line 399) | def run(self, transport: Literal["stdio", "sse"] = "stdio", redis_clie... method create_sse_app (line 409) | def create_sse_app(self, redis_client = None) -> Starlette: FILE: python/mcp_server/sse.py class SseServerTransport (line 54) | class SseServerTransport: method __init__ (line 71) | def __init__(self, endpoint: str, redis_client=None) -> None: method connect_sse (line 84) | async def connect_sse(self, scope: Scope, receive: Receive, send: Send): method _subscribe_loop (line 136) | async def _subscribe_loop(self, session_id: UUID): method handle_post_message (line 156) | async def handle_post_message( method _redis_channel (line 208) | def _redis_channel(self, session_id: UUID) -> str: FILE: python/tests/component_check.py class CheckInfo (line 10) | class CheckInfo(BaseModel): class RuleBase (line 16) | class RuleBase(object): method __init__ (line 17) | def __init__(self): method check (line 20) | def check(self, component_cls) -> CheckInfo: method reset_state (line 23) | def reset_state(self): class ComponentCheckBase (line 27) | class ComponentCheckBase(metaclass=Singleton): method __init__ (line 28) | def __init__(self): method register_rule (line 31) | def register_rule(self, rule_name: str, rule_obj: RuleBase): method remove_rule (line 38) | def remove_rule(self, rule_name: str): method notify (line 41) | def notify(self, component_obj, component_case) -> tuple[bool, list]: class ManifestValidRule (line 60) | class ManifestValidRule(RuleBase): method __init__ (line 64) | def __init__(self, **kwargs): method check (line 68) | def check(self, component_obj) -> CheckInfo: class InitKwargsRule (line 122) | class InitKwargsRule(RuleBase): method __init__ (line 123) | def __init__(self): method _accepts_kwargs (line 127) | def _accepts_kwargs(self, func): method check (line 135) | def check(self, component_obj) -> CheckInfo: class ToolEvalKwargsRule (line 149) | class ToolEvalKwargsRule(RuleBase): method __init__ (line 150) | def __init__(self): method _accepts_kwargs (line 154) | def _accepts_kwargs(self, func): method check (line 162) | def check(self, component_obj) -> CheckInfo: class MainfestMatchToolEvalRule (line 177) | class MainfestMatchToolEvalRule(RuleBase): method __init__ (line 178) | def __init__(self): method check (line 183) | def check(self, component_obj) -> CheckInfo: class ToolEvalInputNameRule (line 239) | class ToolEvalInputNameRule(RuleBase): method __init__ (line 243) | def __init__(self): method check (line 271) | def check(self, component_obj) -> CheckInfo: class ToolEvalOutputJsonRule (line 290) | class ToolEvalOutputJsonRule(RuleBase): method __init__ (line 294) | def __init__(self, **kwargs): method _check_pre_format (line 298) | def _check_pre_format(self, outputs): method _check_jsonschema (line 315) | def _check_jsonschema(self, outputs, output_schemas): method _gather_iter_outputs (line 334) | def _gather_iter_outputs(self, outputs): method _check_text_and_code (line 352) | def _check_text_and_code(self, component_case, output_dict): method check (line 397) | def check(self, component_obj, component_case) -> CheckInfo: function register_component_check_rule (line 430) | def register_component_check_rule(rule_name: str, rule_cls: RuleBase): function check_component_with_retry (line 435) | def check_component_with_retry(component_import_res_tuple): function write_error_data (line 497) | def write_error_data(txt_file_path, error_df, error_stats): FILE: python/tests/component_collector.py function get_component_white_list (line 81) | def get_component_white_list(): function get_components (line 84) | def get_components(components_list, import_prefix, skip_components): function get_all_components (line 108) | def get_all_components(): function get_v2_components (line 113) | def get_v2_components(): FILE: python/tests/component_tool_eval_cases.py class Case (line 19) | class Case(): method init_args (line 20) | def init_args(self): method inputs (line 23) | def inputs(self): method outputs (line 26) | def outputs(self): method schemas (line 29) | def schemas(self): method envs (line 32) | def envs(self): class AnimalRecognitionCase (line 36) | class AnimalRecognitionCase(Case): method inputs (line 37) | def inputs(self): method outputs (line 46) | def outputs(self): method schemas (line 49) | def schemas(self): class ASRCase (line 53) | class ASRCase(Case): method inputs (line 54) | def inputs(self): method outputs (line 61) | def outputs(self): method schemas (line 64) | def schemas(self): method inputs (line 303) | def inputs(self): method schemas (line 312) | def schemas(self): method outputs (line 315) | def outputs(self): class TreeMindCase (line 68) | class TreeMindCase(Case): method inputs (line 69) | def inputs(self): method schemas (line 72) | def schemas(self): method inputs (line 274) | def inputs(self): method schemas (line 279) | def schemas(self): class ImageUnderstandCase (line 76) | class ImageUnderstandCase(Case): method inputs (line 77) | def inputs(self): method outputs (line 86) | def outputs(self): method schemas (line 89) | def schemas(self): class Text2ImageCase (line 93) | class Text2ImageCase(Case): method inputs (line 94) | def inputs(self): method schemas (line 97) | def schemas(self): method inputs (line 246) | def inputs(self): method schemas (line 251) | def schemas(self): class StyleRewriteCase (line 101) | class StyleRewriteCase(Case): method init_args (line 102) | def init_args(self): method inputs (line 105) | def inputs(self): method schemas (line 108) | def schemas(self): class QRcodeOCRCase (line 112) | class QRcodeOCRCase(Case): method inputs (line 113) | def inputs(self): method schemas (line 123) | def schemas(self): method outputs (line 126) | def outputs(self): class HallucinationDetectionCase (line 130) | class HallucinationDetectionCase(Case): method init_args (line 131) | def init_args(self): method inputs (line 134) | def inputs(self): method schemas (line 155) | def schemas(self): method outputs (line 158) | def outputs(self): class HandWriteOCRCase (line 162) | class HandWriteOCRCase(Case): method inputs (line 163) | def inputs(self): method schemas (line 173) | def schemas(self): method outputs (line 176) | def outputs(self): class MixCardOCRCase (line 180) | class MixCardOCRCase(Case): method inputs (line 181) | def inputs(self): method schemas (line 191) | def schemas(self): method outputs (line 194) | def outputs(self): class TranslationCase (line 198) | class TranslationCase(Case): method inputs (line 199) | def inputs(self): method schemas (line 205) | def schemas(self): method outputs (line 208) | def outputs(self): class GeneralOCRCase (line 212) | class GeneralOCRCase(Case): method inputs (line 213) | def inputs(self): method outputs (line 222) | def outputs(self): method schemas (line 225) | def schemas(self): class TableOCRCase (line 229) | class TableOCRCase(Case): method inputs (line 230) | def inputs(self): method schemas (line 238) | def schemas(self): method outputs (line 241) | def outputs(self): class Text2ImageCase (line 245) | class Text2ImageCase(Case): method inputs (line 94) | def inputs(self): method schemas (line 97) | def schemas(self): method inputs (line 246) | def inputs(self): method schemas (line 251) | def schemas(self): class StyleWritingCase (line 255) | class StyleWritingCase(Case): method init_args (line 256) | def init_args(self): method inputs (line 259) | def inputs(self): method schemas (line 266) | def schemas(self): method outputs (line 269) | def outputs(self): class TreeMindCase (line 273) | class TreeMindCase(Case): method inputs (line 69) | def inputs(self): method schemas (line 72) | def schemas(self): method inputs (line 274) | def inputs(self): method schemas (line 279) | def schemas(self): class PlantRecognitionCase (line 283) | class PlantRecognitionCase(Case): method inputs (line 284) | def inputs(self): method schemas (line 295) | def schemas(self): method outputs (line 298) | def outputs(self): class ASRCase (line 302) | class ASRCase(Case): method inputs (line 54) | def inputs(self): method outputs (line 61) | def outputs(self): method schemas (line 64) | def schemas(self): method inputs (line 303) | def inputs(self): method schemas (line 312) | def schemas(self): method outputs (line 315) | def outputs(self): class ObjectRecognitionCase (line 319) | class ObjectRecognitionCase(Case): method inputs (line 320) | def inputs(self): method schemas (line 329) | def schemas(self): method outputs (line 332) | def outputs(self): class SimilarQuestionCase (line 336) | class SimilarQuestionCase(Case): method init_args (line 337) | def init_args(self): method inputs (line 340) | def inputs(self): method schemas (line 345) | def schemas(self): method outputs (line 348) | def outputs(self): class OralQueryGenerationCase (line 352) | class OralQueryGenerationCase(Case): method init_args (line 353) | def init_args(self): method inputs (line 356) | def inputs(self): method schemas (line 366) | def schemas(self): method outputs (line 369) | def outputs(self): class QueryRewriteCase (line 373) | class QueryRewriteCase(Case): method init_args (line 374) | def init_args(self): method inputs (line 377) | def inputs(self): method schemas (line 383) | def schemas(self): method outputs (line 386) | def outputs(self): class Nl2pandasComponentCase (line 390) | class Nl2pandasComponentCase(Case): method init_args (line 391) | def init_args(self): method inputs (line 394) | def inputs(self): method schemas (line 408) | def schemas(self): class DialogSummaryCase (line 412) | class DialogSummaryCase(Case): method init_args (line 413) | def init_args(self): method inputs (line 416) | def inputs(self): method schemas (line 421) | def schemas(self): class MRCCase (line 425) | class MRCCase(Case): method init_args (line 426) | def init_args(self): method inputs (line 429) | def inputs(self): method schemas (line 445) | def schemas(self): class IsComplexQueryCase (line 449) | class IsComplexQueryCase(Case): method init_args (line 450) | def init_args(self): method inputs (line 453) | def inputs(self): method schemas (line 458) | def schemas(self): method outputs (line 461) | def outputs(self): class QAPairMiningCase (line 465) | class QAPairMiningCase(Case): method init_args (line 466) | def init_args(self): method inputs (line 469) | def inputs(self): method schemas (line 474) | def schemas(self): class QueryDecompositionCase (line 478) | class QueryDecompositionCase(Case): method init_args (line 479) | def init_args(self): method inputs (line 482) | def inputs(self): method schemas (line 487) | def schemas(self): class TagExtractionCase (line 491) | class TagExtractionCase(Case): method init_args (line 492) | def init_args(self): method inputs (line 495) | def inputs(self): method schemas (line 500) | def schemas(self): FILE: python/tests/data/mcp_official_server_sample.py function make_nws_request (line 14) | async def make_nws_request(url: str) -> dict[str, Any] | None: function format_alert (line 26) | def format_alert(feature: dict) -> str: function get_alerts (line 39) | async def get_alerts(state: str) -> str: function get_forecast (line 59) | async def get_forecast(latitude: float, longitude: float) -> str: FILE: python/tests/parallel_ut_run.py function choose_test_case (line 57) | def choose_test_case(file): function get_all_unittest_file (line 85) | def get_all_unittest_file(): function pull_last_n_log (line 116) | def pull_last_n_log(ut_context, file_name, line_count=80): function run_sync_unittest (line 136) | def run_sync_unittest(test_file): function run_async_unittest (line 158) | def run_async_unittest(test_file, case_idx, case_num, timeout=1200): function parallel_execute_unittest (line 192) | def parallel_execute_unittest(test_cases, parallel_num=2): function run_cpu_parallel_unittest (line 225) | def run_cpu_parallel_unittest(): function run_unknown_unittest (line 269) | def run_unknown_unittest(): function create_unittest_report (line 304) | def create_unittest_report(): FILE: python/tests/print_components_error_info.py function pretty_print_dict (line 3) | def pretty_print_dict(kv_dict, header=["Key", "Value"]): function read_error_file (line 40) | def read_error_file(filename): FILE: python/tests/pytest_config.py class LoadConfig (line 19) | class LoadConfig(object): method __init__ (line 23) | def __init__(self): FILE: python/tests/pytest_utils.py class Utils (line 19) | class Utils(object): method get_random_string (line 24) | def get_random_string(str_len, prefix=None): method get_data_file (line 38) | def get_data_file(filename): FILE: python/tests/sed_str.py function sed_str (line 21) | def sed_str(file, old_str, new_str): FILE: python/tests/test_agent.py class TestAgentRuntime (line 17) | class TestAgentRuntime(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_no_token_http (line 30) | def test_no_token_http(self): method test_err_http (line 50) | def test_err_http(self): method test_stream_http (line 73) | def test_stream_http(self): method test_http (line 101) | def test_http(self): method test_init_with_valid_component (line 125) | def test_init_with_valid_component(self): method test_init_with_invalid_component (line 133) | def test_init_with_invalid_component(self): method test_chat_with_valid_message_and_blocking (line 139) | def test_chat_with_valid_message_and_blocking(self): method test_chat_with_valid_message_and_streaming (line 150) | def test_chat_with_valid_message_and_streaming(self): FILE: python/tests/test_ai_search.py class TestAgentRuntime (line 7) | class TestAgentRuntime(unittest.TestCase): method test_base_search (line 9) | def test_base_search(self): method test_ai_search (line 20) | def test_ai_search(self): FILE: python/tests/test_ai_search_stream.py class TestAgentRuntime (line 7) | class TestAgentRuntime(unittest.TestCase): method test_base_search_stream (line 9) | def test_base_search_stream(self): method test_ai_search_stream (line 21) | def test_ai_search_stream(self): FILE: python/tests/test_all_components.py class TestComponentManifestsAndToolEval (line 15) | class TestComponentManifestsAndToolEval(unittest.TestCase): method setUp (line 28) | def setUp(self) -> None: method _test_component (line 39) | def _test_component(self, components, component_cases, whitelist_compo... method _test_all_components (line 92) | def _test_all_components(self): method test_v2_components (line 96) | def test_v2_components(self): FILE: python/tests/test_animal_recognize.py class TestAnimalRecognition (line 20) | class TestAnimalRecognition(unittest.TestCase): method setUp (line 21) | def setUp(self): method test_run_with_raw_image (line 27) | def test_run_with_raw_image(self): method test_run_with_url (line 50) | def test_run_with_url(self): method test_run_with_timeout_and_retry (line 72) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_input (line 95) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 112) | def test_run_with_invalid_url(self): method test_tool_eval_valid (line 128) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 141) | def test_tool_eval_invalid(self): FILE: python/tests/test_appbuilder_assistant_trace.py class MyEventHandler (line 45) | class MyEventHandler(AssistantEventHandler): method get_cur_whether (line 46) | def get_cur_whether(self, location:str, unit:str): method run_begin (line 49) | def run_begin(self, status_event): method run_end (line 54) | def run_end(self, status_event): method tool_step_begin (line 57) | def tool_step_begin(self, status_event): method tool_calls (line 61) | def tool_calls(self, status_event): class TestAppBuilderTrace (line 78) | class TestAppBuilderTrace(unittest.TestCase): method setUp (line 79) | def setUp(self): method test_appbuilder_assistant_trace (line 92) | def test_appbuilder_assistant_trace(self): method test_appbuilder_assistant_stream_run (line 134) | def test_appbuilder_assistant_stream_run(self): FILE: python/tests/test_appbuilder_client.py class TestAgentRuntime (line 10) | class TestAgentRuntime(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_agent_builder_client (line 23) | def test_agent_builder_client(self): method test_agent_builder_run (line 26) | def test_agent_builder_run(self): method test_upload_local_file_raise (line 51) | def test_upload_local_file_raise(self): method test_upload_file_url (line 63) | def test_upload_file_url(self): FILE: python/tests/test_appbuilder_client_app_detail.py class TestGetAppList (line 21) | class TestGetAppList(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_describe_app_agent (line 35) | def test_describe_app_agent(self): method test_describe_app_chatflow (line 41) | def test_describe_app_chatflow(self): FILE: python/tests/test_appbuilder_client_app_list.py class TestGetAppList (line 21) | class TestGetAppList(unittest.TestCase): method test_get_app_list_v1 (line 22) | def test_get_app_list_v1(self): method test_describe_apps (line 26) | def test_describe_apps(self): FILE: python/tests/test_appbuilder_client_chatflow.py class TestAppBuilderClientChatflow (line 21) | class TestAppBuilderClientChatflow(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_appbuilder_run_chatflow (line 34) | def test_appbuilder_run_chatflow(self): FILE: python/tests/test_appbuilder_client_chatflow_event_handler.py class MyEventHandler (line 23) | class MyEventHandler(AppBuilderEventHandler): method __init__ (line 24) | def __init__(self): method handle_content_type (line 28) | def handle_content_type(self, run_context, run_response): method _create_action (line 36) | def _create_action(self): method run (line 45) | def run(self, query=None): class TestAppBuilderClientChatflow (line 52) | class TestAppBuilderClientChatflow(unittest.TestCase): method setUp (line 53) | def setUp(self): method test_appbuilder_client_run_with_handler_stream (line 65) | def test_appbuilder_client_run_with_handler_stream(self): method test_appbuilder_client_run_with_handler (line 93) | def test_appbuilder_client_run_with_handler(self): FILE: python/tests/test_appbuilder_client_chatflow_event_handler_v2.py class MyEventHandler (line 23) | class MyEventHandler(AppBuilderEventHandler): method __init__ (line 24) | def __init__(self): method handle_content_type (line 28) | def handle_content_type(self, run_context, run_response): method _create_action (line 36) | def _create_action(self): method gen_action (line 45) | def gen_action(self): class TestAppBuilderClientChatflow (line 50) | class TestAppBuilderClientChatflow(unittest.TestCase): method setUp (line 51) | def setUp(self): method test_appbuilder_client_run_with_handler_multiple_dialog (line 63) | def test_appbuilder_client_run_with_handler_multiple_dialog(self): FILE: python/tests/test_appbuilder_client_custom_metadata.py class TestAppBuilderClientFeedback (line 23) | class TestAppBuilderClientFeedback(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_appbuilder_custom_metadata (line 36) | def test_appbuilder_custom_metadata(self): method test_appbuilder_custom_metadata_stream (line 69) | def test_appbuilder_custom_metadata_stream(self): FILE: python/tests/test_appbuilder_client_feedback.py class TestAppBuilderClientFeedback (line 21) | class TestAppBuilderClientFeedback(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_appbuilder_feedback (line 34) | def test_appbuilder_feedback(self): FILE: python/tests/test_appbuilder_client_follow_up_query.py class MyEventHandler (line 23) | class MyEventHandler(AppBuilderEventHandler): method __init__ (line 24) | def __init__(self): method handle_content_type (line 28) | def handle_content_type(self, run_context, run_response): class TestAppBuilderClientChatflow (line 36) | class TestAppBuilderClientChatflow(unittest.TestCase): method setUp (line 37) | def setUp(self): method test_appbuilder_run_follow_up_query (line 49) | def test_appbuilder_run_follow_up_query(self): method test_appbuilder_run_followupquery_with_event_handler (line 76) | def test_appbuilder_run_followupquery_with_event_handler(self): FILE: python/tests/test_appbuilder_client_mcp.py function get_current_weather (line 22) | def get_current_weather(location: str, unit: str) -> str: class TestAppBuilderClientMCP (line 30) | class TestAppBuilderClientMCP(unittest.TestCase): method setUp (line 31) | def setUp(self): method test_appbuilder_client_mcp (line 44) | def test_appbuilder_client_mcp(self): FILE: python/tests/test_appbuilder_client_mcp_component.py class TestAgentRuntime (line 9) | class TestAgentRuntime(unittest.TestCase): method setUp (line 10) | def setUp(self): method test_appbuilder_client_mcp_component (line 23) | def test_appbuilder_client_mcp_component(self): FILE: python/tests/test_appbuilder_client_mcp_official.py class TestAgentRuntime (line 10) | class TestAgentRuntime(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_appbuilder_client_mcp_official (line 24) | def test_appbuilder_client_mcp_official(self): FILE: python/tests/test_appbuilder_client_parameters.py class TestAppBuilderClientFeedback (line 21) | class TestAppBuilderClientFeedback(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_appbuilder_parameters (line 34) | def test_appbuilder_parameters(self): method test_appbuilder_parameters_stream (line 54) | def test_appbuilder_parameters_stream(self): FILE: python/tests/test_appbuilder_client_run_with_handler.py class MyEventHandler (line 35) | class MyEventHandler(AppBuilderEventHandler): method get_weather (line 36) | def get_weather(self, location: str, unit: str): method messages (line 39) | def messages(self, event): method tool_calls (line 43) | def tool_calls(self, event): class TestAgentRuntime (line 59) | class TestAgentRuntime(unittest.TestCase): method setUp (line 60) | def setUp(self): method test_appbuilder_client_tool_call (line 73) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall.py class TestAgentRuntime (line 7) | class TestAgentRuntime(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_appbuilder_client_tool_call (line 20) | def test_appbuilder_client_tool_call(self): method test_appbuilder_client_tool_call_from_function (line 75) | def test_appbuilder_client_tool_call_from_function(self): method test_appbuilder_client_tool_call_from_function_decorator (line 123) | def test_appbuilder_client_tool_call_from_function_decorator(self): FILE: python/tests/test_appbuilder_client_toolcall_event_handler.py class MyEventHandler (line 8) | class MyEventHandler(AppBuilderEventHandler): method get_current_weather (line 9) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 12) | def interrupt(self, run_context, run_response): method success (line 32) | def success(self, run_context, run_response): class TestAgentRuntime (line 37) | class TestAgentRuntime(unittest.TestCase): method setUp (line 38) | def setUp(self): method test_appbuilder_client_tool_call (line 50) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_event_handler_error.py class MyEventHandler (line 8) | class MyEventHandler(AppBuilderEventHandler): method get_current_weather (line 9) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 12) | def interrupt(self, run_context, run_response): method success (line 20) | def success(self, run_context, run_response): class TestAgentRuntime (line 25) | class TestAgentRuntime(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_appbuilder_client_tool_call (line 38) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_event_handler_stream.py class MyEventHandler (line 8) | class MyEventHandler(AppBuilderEventHandler): method get_current_weather (line 9) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 12) | def interrupt(self, run_context, run_response): method running (line 32) | def running(self, run_context, run_response): class TestAgentRuntime (line 36) | class TestAgentRuntime(unittest.TestCase): method setUp (line 37) | def setUp(self): method test_appbuilder_client_tool_call (line 49) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_event_handler_v2.py class MyEventHandler (line 8) | class MyEventHandler(AppBuilderEventHandler): method get_current_weather (line 9) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 12) | def interrupt(self, run_context, run_response): method success (line 32) | def success(self, run_context, run_response): class TestAgentRuntime (line 37) | class TestAgentRuntime(unittest.TestCase): method setUp (line 38) | def setUp(self): method test_appbuilder_client_tool_call (line 50) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_event_handler_v3.py class MyEventHandler (line 8) | class MyEventHandler(AppBuilderEventHandler): method get_current_weather (line 9) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 12) | def interrupt(self, run_context, run_response): method running (line 32) | def running(self, run_context, run_response): class TestAgentRuntime (line 37) | class TestAgentRuntime(unittest.TestCase): method setUp (line 38) | def setUp(self): method test_appbuilder_client_tool_call (line 50) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_stream.py class TestAgentRuntime (line 8) | class TestAgentRuntime(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_appbuilder_client_tool_call (line 21) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_v2.py class TestAgentRuntime (line 8) | class TestAgentRuntime(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_appbuilder_client_tool_call (line 21) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_toolcall_v3.py class TestAgentRuntime (line 8) | class TestAgentRuntime(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_appbuilder_client_tool_call (line 21) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_appbuilder_client_trace.py class TestAppBuilderTrace (line 23) | class TestAppBuilderTrace(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_appbuilder_client_trace_un_stream (line 37) | def test_appbuilder_client_trace_un_stream(self): method test_appbuilder_client_trace_stream (line 64) | def test_appbuilder_client_trace_stream(self): method test_trace_tracer (line 97) | def test_trace_tracer(self): method test_appbuilder_phoenix_run (line 113) | def test_appbuilder_phoenix_run(self): FILE: python/tests/test_appbuilder_components_trace.py class TestAppBuilderComponentsTrace (line 40) | class TestAppBuilderComponentsTrace(unittest.TestCase): method setUp (line 41) | def setUp(self): method test_trace (line 61) | def test_trace(self): FILE: python/tests/test_appbuilder_core_components_retriever.py class TestAppbuilderCoreComponentsRetriever__try_import (line 23) | class TestAppbuilderCoreComponentsRetriever__try_import(unittest.TestCase): method test_baidu_vdb_baiduvdb_retriever_try_import (line 24) | def test_baidu_vdb_baiduvdb_retriever_try_import(self): method test_baidu_vdb_baiduvdb_retriever_BaiduVDBVectorStoreIndex (line 32) | def test_baidu_vdb_baiduvdb_retriever_BaiduVDBVectorStoreIndex(self): FILE: python/tests/test_appbuilder_sentry_trace_off.py class TestAppbuilderForSentryOff (line 28) | class TestAppbuilderForSentryOff(unittest.TestCase): method test_sentry_inport_error (line 30) | def test_sentry_inport_error(self): FILE: python/tests/test_appbuilder_sentry_trace_on.py class TestAppbuilderForSentryOff (line 28) | class TestAppbuilderForSentryOff(unittest.TestCase): method test_sentry_normal (line 29) | def test_sentry_normal(self): FILE: python/tests/test_appbuilder_trace_raise_error.py class TestAppbuilderTraceRaiseError (line 22) | class TestAppbuilderTraceRaiseError(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_appbuilder_trace_raise_error_input (line 32) | def test_appbuilder_trace_raise_error_input(self): method test_appbuilder_trace_raise_error_client_trace_generator (line 51) | def test_appbuilder_trace_raise_error_client_trace_generator(self): method test_appbuilder_trace_raise_error_assistant_stream_run_with_handler_output (line 56) | def test_appbuilder_trace_raise_error_assistant_stream_run_with_handle... FILE: python/tests/test_asr.py class TestASRComponent (line 12) | class TestASRComponent(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_run (line 30) | def test_run(self): method test_run_different_rate (line 48) | def test_run_different_rate(self): method test_run_invalid_audio (line 68) | def test_run_invalid_audio(self): method test_recognition (line 83) | def test_recognition(self): method test_recognition_invalid_request (line 105) | def test_recognition_invalid_request(self): method test_check_service_error (line 119) | def test_check_service_error(self): method test_tool_eval_valid (line 136) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 142) | def test_tool_eval_invalid(self): method test_tool_eval_speech_too_long (line 148) | def test_tool_eval_speech_too_long(self): FILE: python/tests/test_assistant_basic_import.py class TestAssistantImport (line 6) | class TestAssistantImport(unittest.TestCase): method setUp (line 7) | def setUp(self): method test_assistants_beta_import (line 10) | def test_assistants_beta_import(self): method test_assistants_obj_import (line 21) | def test_assistants_obj_import(self): method test_threads_obj_import (line 31) | def test_threads_obj_import(self): method test_messages_obj_import (line 41) | def test_messages_obj_import(self): method test_runs_obj_import (line 50) | def test_runs_obj_import(self): method test_type_obj_import (line 63) | def test_type_obj_import(self): FILE: python/tests/test_assistant_class_assistans.py class TestAssistant (line 7) | class TestAssistant(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_assistants_create_v1 (line 11) | def test_assistants_create_v1(self): method test_assistants_create_v2 (line 25) | def test_assistants_create_v2(self): method test_assistants_create_v3 (line 40) | def test_assistants_create_v3(self): method test_assistants_create_v4 (line 53) | def test_assistants_create_v4(self): method test_Assistant (line 65) | def test_Assistant(self): method test_unmote_raise (line 132) | def test_unmote_raise(self): method test_mount_raise (line 154) | def test_mount_raise(self): FILE: python/tests/test_assistant_class_files.py class TestFilesCreate (line 9) | class TestFilesCreate(unittest.TestCase): method setUp (line 10) | def setUp(self): method test_create_files_v1 (line 13) | def test_create_files_v1(self): method test_create_files_v2 (line 19) | def test_create_files_v2(self): method test_files (line 25) | def test_files(self): FILE: python/tests/test_assistant_class_messages.py class TestMessageCreate (line 8) | class TestMessageCreate(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_messages_create_v1 (line 12) | def test_messages_create_v1(self): method test_messages_create_v2 (line 24) | def test_messages_create_v2(self): method test_messages (line 38) | def test_messages(self): FILE: python/tests/test_assistant_class_runs.py class Utils (line 10) | class Utils(object): method get_random_string (line 15) | def get_random_string(str_len, prefix=None): method get_data_file (line 29) | def get_data_file(filename): function get_cur_whether (line 34) | def get_cur_whether(location:str, unit:str): class TestFunctionCall (line 38) | class TestFunctionCall(unittest.TestCase): method setUp (line 39) | def setUp(self): method test_run_create_v1 (line 42) | def test_run_create_v1(self): method test_run_create_v2 (line 86) | def test_run_create_v2(self): method test_threads_run_raise (line 104) | def test_threads_run_raise(self): method test_threads_run_model_raise (line 109) | def test_threads_run_model_raise(self): FILE: python/tests/test_assistant_class_runs_v2.py function get_cur_whether (line 6) | def get_cur_whether(location:str, unit:str): class TestFunctionCall (line 11) | class TestFunctionCall(unittest.TestCase): method setUp (line 12) | def setUp(self): method test_run_list_v1 (line 35) | def test_run_list_v1(self): method test_run_query_v1 (line 42) | def test_run_query_v1(self): method test_run_step_list_v1 (line 49) | def test_run_step_list_v1(self): FILE: python/tests/test_assistant_class_threads.py class TestThreadCreate (line 6) | class TestThreadCreate(unittest.TestCase): method setUp (line 7) | def setUp(self): method test_threads_create_v1 (line 10) | def test_threads_create_v1(self): method test_threads_create_v2 (line 16) | def test_threads_create_v2(self): method test_threads_create_v3 (line 24) | def test_threads_create_v3(self): method test_threads_query_delete (line 33) | def test_threads_query_delete(self): FILE: python/tests/test_assistant_e2e_funccall.py function get_cur_whether (line 6) | def get_cur_whether(location:str, unit:str): class TestFunctionCall (line 34) | class TestFunctionCall(unittest.TestCase): method setUp (line 35) | def setUp(self): method test_end_to_end (line 38) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_funccall_component.py class TestFunctionCall (line 8) | class TestFunctionCall(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_end_to_end (line 12) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_run.py class TestAssistantTalk (line 7) | class TestAssistantTalk(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_end_to_end (line 11) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_stream_cancel.py function get_cur_whether (line 7) | def get_cur_whether(location:str, unit:str): class TestCancel (line 35) | class TestCancel(unittest.TestCase): method setUp (line 36) | def setUp(self): method test_end_to_end (line 39) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_stream_event_handler.py class MyEventHandler (line 32) | class MyEventHandler(AssistantEventHandler): method get_cur_whether (line 33) | def get_cur_whether(self, location:str, unit:str): method messages (line 36) | def messages(self, messages_event: StreamRunMessage): method tool_calls (line 41) | def tool_calls(self, status_event): class TestFunctionCall (line 60) | class TestFunctionCall(unittest.TestCase): method setUp (line 61) | def setUp(self): method test_end_to_end_trace (line 64) | def test_end_to_end_trace(self): method test_end_to_end (line 97) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_stream_event_handler_v2.py class MyEventHandler (line 33) | class MyEventHandler(AssistantEventHandler): method get_cur_whether (line 34) | def get_cur_whether(self, location:str, unit:str): method run_begin (line 37) | def run_begin(self, status_event): method run_end (line 42) | def run_end(self, status_event): method tool_step_begin (line 45) | def tool_step_begin(self, status_event): method tool_calls (line 49) | def tool_calls(self, status_event): class TestFunctionCall (line 67) | class TestFunctionCall(unittest.TestCase): method setUp (line 68) | def setUp(self): method test_end_to_end (line 71) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_stream_funccall.py function get_cur_whether (line 6) | def get_cur_whether(location:str, unit:str): class TestFunctionCall (line 34) | class TestFunctionCall(unittest.TestCase): method setUp (line 35) | def setUp(self): method test_end_to_end (line 38) | def test_end_to_end(self): FILE: python/tests/test_assistant_e2e_stream_run.py class TestAssistantStreamTalk (line 8) | class TestAssistantStreamTalk(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_end_to_end (line 12) | def test_end_to_end(self): FILE: python/tests/test_async_appbuilder_client.py class TestAppBuilderClientAsync (line 22) | class TestAppBuilderClientAsync(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_async_run_stream (line 35) | def test_async_run_stream(self): method test_async_run (line 56) | def test_async_run(self): FILE: python/tests/test_async_appbuilder_client_chatflow.py class MyEventHandler (line 23) | class MyEventHandler(AsyncAppBuilderEventHandler): method __init__ (line 24) | def __init__(self): method handle_content_type (line 28) | async def handle_content_type(self, run_context, run_response): method _create_action (line 36) | def _create_action(self): method run (line 45) | async def run(self, query=None): method gen_action (line 51) | def gen_action(self): class TestAppBuilderClientChatflow (line 57) | class TestAppBuilderClientChatflow(unittest.TestCase): method setUp (line 58) | def setUp(self): method test_chatflow (line 70) | def test_chatflow(self): method test_chatflow_stream (line 106) | def test_chatflow_stream(self): method test_chatflow_stream (line 142) | def test_chatflow_stream(self): method test_chatflow_multiple_dialog (line 178) | def test_chatflow_multiple_dialog(self): FILE: python/tests/test_async_appbuilder_client_custom_metadata.py class TestAppBuilderClientFeedback (line 23) | class TestAppBuilderClientFeedback(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_async_appbuilder_custom_metadata (line 36) | def test_async_appbuilder_custom_metadata(self): method test_async_appbuilder_custom_metadata_stream (line 75) | def test_async_appbuilder_custom_metadata_stream(self): FILE: python/tests/test_async_appbuilder_client_follow_up_query.py class MyEventHandler (line 24) | class MyEventHandler(AsyncAppBuilderEventHandler): method __init__ (line 25) | def __init__(self): method handle_content_type (line 29) | async def handle_content_type(self, run_context, run_response): class TestAppBuilderClientAsync (line 37) | class TestAppBuilderClientAsync(unittest.TestCase): method setUp (line 38) | def setUp(self): method test_async_run_stream (line 50) | def test_async_run_stream(self): FILE: python/tests/test_async_appbuilder_client_parameters.py class TestAppBuilderClientFeedback (line 21) | class TestAppBuilderClientFeedback(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_async_appbuilder_parameters (line 34) | def test_async_appbuilder_parameters(self): method test_async_appbuilder_parameters_stream (line 59) | def test_async_appbuilder_parameters_stream(self): FILE: python/tests/test_async_appbuilder_client_toolcall.py class MyEventHandler (line 24) | class MyEventHandler(AsyncAppBuilderEventHandler): method get_current_weather (line 25) | def get_current_weather(self, location=None, unit="摄氏度"): method interrupt (line 28) | async def interrupt(self, run_context, run_response): method success (line 44) | async def success(self, run_context, run_response): class TestAgentRuntime (line 50) | class TestAgentRuntime(unittest.TestCase): method setUp (line 51) | def setUp(self): method test_appbuilder_client_tool_call (line 63) | def test_appbuilder_client_tool_call(self): FILE: python/tests/test_base_component.py class TestBaseComponent (line 7) | class TestBaseComponent(unittest.TestCase): method setUp (line 8) | def setUp(self) -> None: method test_valid_output_with_str (line 12) | def test_valid_output_with_str(self): method test_valid_output_with_dict (line 25) | def test_valid_output_with_dict(self): method test_valid_output_type_with_same_key (line 58) | def test_valid_output_type_with_same_key(self): method test_invalid_output_type_json (line 70) | def test_invalid_output_type_json(self): FILE: python/tests/test_bes_retriever.py class TestBESRetriever (line 21) | class TestBESRetriever(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_generate_id (line 37) | def test_generate_id(self): method test_create_index_mappings_linear (line 42) | def test_create_index_mappings_linear(self): method test_create_index_mappings_hnsw (line 56) | def test_create_index_mappings_hnsw(self): method test_add_segments (line 73) | def test_add_segments(self): method test_query (line 79) | def test_query(self): method test_delete_all_segments (line 89) | def test_delete_all_segments(self): FILE: python/tests/test_component_client.py class TestComponentCLient (line 20) | class TestComponentCLient(unittest.TestCase): method test_component_client (line 21) | def test_component_client(self): method test_component_client_stream (line 29) | def test_component_client_stream(self): method test_component_header_client (line 38) | def test_component_header_client(self): method test_component_header_client_stream (line 46) | def test_component_header_client_stream(self): FILE: python/tests/test_component_is_async.py class MockComponent (line 19) | class MockComponent(Component): method __init__ (line 21) | def __init__(self, *args, **kwargs): method tool_eval (line 24) | def tool_eval(self, *args, **kwargs): class TestComponentInit (line 28) | class TestComponentInit(unittest.TestCase): method test_component_init (line 29) | def test_component_init(self): method test_private_llm_component_init (line 35) | def test_private_llm_component_init(self): FILE: python/tests/test_console_dataset.py class TestDataset (line 24) | class TestDataset(unittest.TestCase): method setUp (line 25) | def setUp(self): method setUpClass (line 29) | def setUpClass(cls): method test_create_dataset (line 34) | def test_create_dataset(self): method test_dataset (line 43) | def test_dataset(self): FILE: python/tests/test_console_rag.py class TestRag (line 22) | class TestRag(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_rag (line 27) | def test_rag(self): FILE: python/tests/test_core_agent.py function generate_event (line 26) | def generate_event(case): class FakeComponent1 (line 49) | class FakeComponent1(Component): method run (line 50) | def run(self, message, stream, **kwargs): class FakeComponent2 (line 60) | class FakeComponent2(Component): method run (line 61) | def run(self, message, stream, **kwargs): class TestCoreAgent (line 66) | class TestCoreAgent(unittest.TestCase): method setUp (line 67) | def setUp(self): method test_core_agent_create_flask1 (line 70) | def test_core_agent_create_flask1(self): method test_core_agent_create_flask2 (line 123) | def test_core_agent_create_flask2(self): FILE: python/tests/test_core_client.py class Response (line 25) | class Response: method __init__ (line 26) | def __init__(self, status_code, headers, text): method json (line 31) | def json(self): class AsyncResponse (line 35) | class AsyncResponse: method __init__ (line 36) | def __init__(self, status_code, headers, text): method json (line 41) | def json(self): class TestCoreClient (line 45) | class TestCoreClient(unittest.TestCase): method setUp (line 46) | def setUp(self): method tearDown (line 51) | def tearDown(self): method test_core_client_init_non_APPBUILDER_TOKEN (line 63) | def test_core_client_init_non_APPBUILDER_TOKEN(self): method test_core_client_init_non_GATEWAY_URL (line 68) | def test_core_client_init_non_GATEWAY_URL(self): method test_core_client_check_response_header (line 73) | def test_core_client_check_response_header(self): method test_core_client_check_async_response_header (line 140) | def test_core_client_check_async_response_header(self): method test_core_client_check_response_json (line 211) | def test_core_client_check_response_json(self): method test_core_check_console_response (line 220) | def test_core_check_console_response(self): method test_classify_exception (line 233) | def test_classify_exception(self): method test_AsyncHTTPClient_classify_exception (line 270) | def test_AsyncHTTPClient_classify_exception(self): FILE: python/tests/test_core_components_baidu_vdb_retriever.py class TestBaiduVbdRetriever (line 25) | class TestBaiduVbdRetriever(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_BaiduVDBVectorStoreIndex_init (line 31) | def test_BaiduVDBVectorStoreIndex_init(self): method test_create_database_if_not_exists_and_create_table (line 34) | def test_create_database_if_not_exists_and_create_table(self): FILE: python/tests/test_core_components_doc.py class TestCoreComponentsDoc (line 27) | class TestCoreComponentsDoc(unittest.TestCase): method test_doc_crop_enhance_component (line 28) | def test_doc_crop_enhance_component(self): method test_doc_splitter_doc_splitter_DocSplitter (line 34) | def test_doc_splitter_doc_splitter_DocSplitter(self): method test_doc_splitter_doc_splitter_ChunkSplitter (line 48) | def test_doc_splitter_doc_splitter_ChunkSplitter(self): method test_doc_splitter_doc_splitter_TitleSplitter_run (line 55) | def test_doc_splitter_doc_splitter_TitleSplitter_run(self): method test_doc_splitter_doc_splitter_TitleSplitter (line 62) | def test_doc_splitter_doc_splitter_TitleSplitter(self): method test_doc_format_converter_component_tool_eval (line 87) | def test_doc_format_converter_component_tool_eval(self): FILE: python/tests/test_core_components_embedding.py class TestCoreComponentsEmbedding (line 22) | class TestCoreComponentsEmbedding(unittest.TestCase): method test_embeddings_base (line 24) | def test_embeddings_base(self): method test_embeddings_component_init (line 29) | def test_embeddings_component_init(self): method test_embeddings_component (line 37) | def test_embeddings_component(self): FILE: python/tests/test_core_components_table.py class TestCoreCmpsTable (line 23) | class TestCoreCmpsTable(unittest.TestCase): method test_table_ocr_component_get_table_markdown (line 24) | def test_table_ocr_component_get_table_markdown(self): method test_table_ocr_component_tool_eval (line 35) | def test_table_ocr_component_tool_eval(self): method test_extract_table_component_ExtractTableFromDoc (line 46) | def test_extract_table_component_ExtractTableFromDoc(self): FILE: python/tests/test_core_components_tts.py class MockResponse (line 23) | class MockResponse: method __init__ (line 24) | def __init__(self, data): method close (line 28) | def close(self): method iter_lines (line 32) | def iter_lines(self): class TestCoreComponentsTTS (line 37) | class TestCoreComponentsTTS(unittest.TestCase): method test_tts_component_iterate_chunk_success (line 38) | def test_tts_component_iterate_chunk_success(self): method test_tts_component_iterate_chunk_exception (line 44) | def test_tts_component_iterate_chunk_exception(self): method test_tts_model (line 53) | def test_tts_model(self): FILE: python/tests/test_core_console_base.py class Response (line 23) | class Response: method __init__ (line 24) | def __init__(self, status_code, headers, text): method json (line 29) | def json(self): class TestCoreConsoleBase (line 34) | class TestCoreConsoleBase(unittest.TestCase): method test_ConsoleLLMMessage_init (line 35) | def test_ConsoleLLMMessage_init(self): method test_ConsoleCompletionResponse_init (line 40) | def test_ConsoleCompletionResponse_init(self): FILE: python/tests/test_core_session.py class TestCoreSession (line 21) | class TestCoreSession(unittest.TestCase): method test_async_session_get (line 23) | def test_async_session_get(self, mock_put): FILE: python/tests/test_core_user_session.py class TestCoreUserSession (line 26) | class TestCoreUserSession(unittest.TestCase): method test_usersession_init (line 27) | def test_usersession_init(self): method test_get_context (line 35) | def test_get_context(self): method test_not_startswith_LOCAL_KEY (line 38) | def test_not_startswith_LOCAL_KEY(self): method test_startswith_LOCAL_KEY (line 59) | def test_startswith_LOCAL_KEY(self): FILE: python/tests/test_core_utils.py class TestCoreUtils (line 24) | class TestCoreUtils(unittest.TestCase): method test_utils_get_user_agent (line 25) | def test_utils_get_user_agent(self): method test_get_model_list (line 28) | def test_get_model_list(self): method test_convert_cloudhub_url (line 33) | def test_convert_cloudhub_url(self): method test_is_url (line 41) | def test_is_url(self): method test_utils_sse_uti_Events (line 56) | def test_utils_sse_uti_Events(self): FILE: python/tests/test_dialog_summary.py class TestDialogSummary (line 19) | class TestDialogSummary(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_run_with_default_params (line 33) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 40) | def test_run_with_stream_and_temperature(self): method test_run_with_model_names (line 47) | def test_run_with_model_names(self): method test_tool_eval_valid (line 58) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 70) | def test_tool_eval_invalid(self): FILE: python/tests/test_dish_recognize.py class TestDishRecognitionComponent (line 8) | class TestDishRecognitionComponent(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_run_with_valid_image (line 22) | def test_run_with_valid_image(self): method test_run_with_invalid_image (line 42) | def test_run_with_invalid_image(self): method test_run_with_valid_url (line 62) | def test_run_with_valid_url(self): method test_run_with_invalid_url (line 81) | def test_run_with_invalid_url(self): method test_run_without_image_and_url (line 97) | def test_run_without_image_and_url(self): FILE: python/tests/test_doc_crop_enhance.py class TestDocCropEnhance (line 19) | class TestDocCropEnhance(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_run_with_raw_image (line 26) | def test_run_with_raw_image(self): method test_run_with_url (line 49) | def test_run_with_url(self): method test_run_with_timeout_and_retry (line 71) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_input (line 96) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 114) | def test_run_with_invalid_url(self): FILE: python/tests/test_doc_format_converter.py class TestDocFormatConverter (line 22) | class TestDocFormatConverter(unittest.TestCase): method setUpClass (line 25) | def setUpClass(cls): method setUp (line 28) | def setUp(self): method test_doc_format_url (line 32) | def test_doc_format_url(cls): FILE: python/tests/test_doc_parser.py class TestDocParser (line 21) | class TestDocParser(unittest.TestCase): method setUpClass (line 24) | def setUpClass(cls): method test_set_config (line 39) | def test_set_config(self): method test_make_parse_result (line 49) | def test_make_parse_result(self): method test_doc_parser_with_default_config (line 57) | def test_doc_parser_with_default_config(self): method test_doc_parser_with_modified_config (line 65) | def test_doc_parser_with_modified_config(self): method test_tool_eval_valid (line 79) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 92) | def test_tool_eval_invalid(self): FILE: python/tests/test_doc_splitter.py class TestDocSplitter (line 24) | class TestDocSplitter(unittest.TestCase): method setUpClass (line 26) | def setUpClass(cls): method test_splitter_with_chunk_size (line 29) | def test_splitter_with_chunk_size(self): method test_splitter_with_title_level (line 56) | def test_splitter_with_title_level(self): method test_run_chunk_splitter_with_invalid_input (line 81) | def test_run_chunk_splitter_with_invalid_input(self): method test_run_splitter_with_invalid_input (line 93) | def test_run_splitter_with_invalid_input(self): FILE: python/tests/test_document_understanding.py class TestDocumentUnderstandingComponent (line 33) | class TestDocumentUnderstandingComponent(unittest.TestCase): method setUp (line 34) | def setUp(self): method test_run_with_stream (line 46) | def test_run_with_stream(self): method test_run_with_nostream (line 61) | def test_run_with_nostream(self): method test_run_with_nofile (line 75) | def test_run_with_nofile(self): method test_tool_eval (line 93) | def test_tool_eval(self): FILE: python/tests/test_embedding.py class TestEmbedding (line 16) | class TestEmbedding(unittest.TestCase): method setUp (line 17) | def setUp(self): method test_run (line 20) | def test_run(self): method test_batch (line 25) | def test_batch(self): method test_arun (line 41) | def test_arun(self): method test_not_support_model (line 45) | def test_not_support_model(self): FILE: python/tests/test_extract_table.py class TestExtractTableFromDoc (line 24) | class TestExtractTableFromDoc(unittest.TestCase): method setUpClass (line 28) | def setUpClass(cls): method test_doc_table_to_markdown_with_default_config (line 39) | def test_doc_table_to_markdown_with_default_config(self): method test_doc_table_to_markdown (line 51) | def test_doc_table_to_markdown(self): FILE: python/tests/test_gbi_nl2sql.py class TestGBINL2Sql (line 72) | class TestGBINL2Sql(unittest.TestCase): method setUp (line 74) | def setUp(self): method test_run_with_column_constraint (line 84) | def test_run_with_column_constraint(self): method test_nl2sql_raise (line 109) | def test_nl2sql_raise(self): FILE: python/tests/test_gbi_select_table.py class TestGBISelectTable (line 71) | class TestGBISelectTable(unittest.TestCase): method setUp (line 73) | def setUp(self): method test_run_with_default_param (line 84) | def test_run_with_default_param(self): method test_run_with_prompt_template (line 100) | def test_run_with_prompt_template(self): method test_run_with_session (line 117) | def test_run_with_session(self): method test_st_raise (line 142) | def test_st_raise(self): FILE: python/tests/test_general_ocr.py class TestGeneralOCR (line 22) | class TestGeneralOCR(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_raw_image (line 35) | def test_run_with_raw_image(self): method test_run_with_no_image (line 61) | def test_run_with_no_image(self): method test_run_with_timeout_and_retry (line 79) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_url (line 105) | def test_run_with_invalid_url(self): method test_run_without_image_and_url (line 121) | def test_run_without_image_and_url(self): method test_tool_eval_valid (line 136) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 146) | def test_tool_eval_invalid(self): method test_new_tool_eval (line 152) | def test_new_tool_eval(self): FILE: python/tests/test_get_app_list.py class TestApps (line 21) | class TestApps(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_get_app_list (line 34) | def test_get_app_list(self): method test_get_app_list_v2 (line 38) | def test_get_app_list_v2(self): method test_get_app_list_v3 (line 43) | def test_get_app_list_v3(self): method test_get_app_list_v4 (line 47) | def test_get_app_list_v4(self): method test_get_app_number (line 50) | def test_get_app_number(self): FILE: python/tests/test_get_model_list.py class TestModels (line 27) | class TestModels(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_get_model_list (line 40) | def test_get_model_list(self): method test_list (line 57) | def test_list(self): method test_check_service_error (line 74) | def test_check_service_error(self): FILE: python/tests/test_hallucination_detection.py class TestHallucinationDetectionComponent (line 41) | class TestHallucinationDetectionComponent(unittest.TestCase): method setUp (line 42) | def setUp(self): method test_run_with_default_params (line 57) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 69) | def test_run_with_stream_and_temperature(self): method test_tool_eval_with_default_params (line 81) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 92) | def test_tool_eval_with_model_configs(self): method test_tool_eval_with_default_params (line 111) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 122) | def test_tool_eval_with_model_configs(self): FILE: python/tests/test_handwrite_ocr.py class TestPlantRecognition (line 25) | class TestPlantRecognition(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_run_with_image_url (line 45) | def test_run_with_image_url(self): method test_run_with_raw_image (line 61) | def test_run_with_raw_image(self): method test_tool_eval (line 77) | def test_tool_eval(self): FILE: python/tests/test_image_understand.py class TestImageUnderstand (line 25) | class TestImageUnderstand(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_run_with_image_url (line 41) | def test_run_with_image_url(self): method test_run_with_raw_image (line 58) | def test_run_with_raw_image(self): method test_tool_eval_valid (line 75) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 90) | def test_tool_eval_invalid(self): method test_run_language_en (line 98) | def test_run_language_en(self): method test_run_raise (line 104) | def test_run_raise(self): FILE: python/tests/test_is_complex_query.py class TestIsComplexQueryComponent (line 21) | class TestIsComplexQueryComponent(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_run_with_default_params (line 35) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 50) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 57) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 69) | def test_tool_eval_invalid(self): FILE: python/tests/test_knowledge_base.py class TestKnowLedge (line 22) | class TestKnowLedge(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_doc_knowledage (line 26) | def test_doc_knowledage(self): method test_get_documents_number_raise (line 46) | def test_get_documents_number_raise(self): method test_xlsx_knowledage (line 51) | def test_xlsx_knowledage(self): method test_create_knowledge_base (line 62) | def test_create_knowledge_base(self): method test_query_knowledge_base (line 154) | def test_query_knowledge_base(self): FILE: python/tests/test_landmark_recognize.py class TestLandmarkRecognition (line 24) | class TestLandmarkRecognition(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_run_with_raw_image (line 43) | def test_run_with_raw_image(self): method test_run_with_no_image (line 63) | def test_run_with_no_image(self): method test_run_with_timeout_and_retry (line 81) | def test_run_with_timeout_and_retry(self): FILE: python/tests/test_langchain_adapter_run.py class HelloWorldComponent (line 20) | class HelloWorldComponent(Component): method run (line 37) | def run(self, name: str, **kwargs): class TestLandmarkRecognition (line 42) | class TestLandmarkRecognition(unittest.TestCase): method setUp (line 43) | def setUp(self): method test_to_langchain_tool (line 46) | def test_to_langchain_tool(self): method test_langchain_tool_run (line 51) | def test_langchain_tool_run(self): method test_langchin_tool_elements (line 60) | def test_langchin_tool_elements(self): FILE: python/tests/test_langchain_adapter_tool_eval.py class HelloWorldComponent (line 20) | class HelloWorldComponent(Component): method run (line 37) | def run(self, name: str, **kwargs): method tool_eval (line 40) | def tool_eval(self, name: str, **kwargs): class TestLandmarkRecognition (line 52) | class TestLandmarkRecognition(unittest.TestCase): method setUp (line 53) | def setUp(self): method test_to_langchain_tool (line 56) | def test_to_langchain_tool(self): method test_langchain_tool_run (line 61) | def test_langchain_tool_run(self): method test_langchin_tool_elements (line 70) | def test_langchin_tool_elements(self): FILE: python/tests/test_langchain_error.py class HelloWorldComponentwithoutMainfest (line 20) | class HelloWorldComponentwithoutMainfest(Component): method run (line 21) | def run(self, name: str, **kwargs): class HelloWorldComponentwithMultiTools (line 24) | class HelloWorldComponentwithMultiTools(Component): method run (line 75) | def run(self, name: str, **kwargs): class TestLandmarkRecognition (line 79) | class TestLandmarkRecognition(unittest.TestCase): method test_without_mainfest (line 80) | def test_without_mainfest(self): method test_with_multi_tools (line 85) | def test_with_multi_tools(self): method test_with_multi_tools_v2 (line 90) | def test_with_multi_tools_v2(self): method test_with_multi_tools_v3 (line 95) | def test_with_multi_tools_v3(self): method test_with_multi_tools_v4 (line 100) | def test_with_multi_tools_v4(self): method test_with_multi_tools_v5 (line 105) | def test_with_multi_tools_v5(self): FILE: python/tests/test_llm_base.py class ErrorComponent (line 6) | class ErrorComponent(appbuilder.Playground): method completion (line 8) | def completion( class TestLlmBase (line 34) | class TestLlmBase(unittest.TestCase): method test_err_request (line 36) | def test_err_request(self): FILE: python/tests/test_log_set_log_config.py class TestLogSetLogConfig (line 23) | class TestLogSetLogConfig(unittest.TestCase): method test_set_log_config (line 24) | def test_set_log_config(self): method test_set_log_config_log_path (line 37) | def test_set_log_config_log_path(self): method test_set_log_config_raise_error (line 52) | def test_set_log_config_raise_error(self): method test_rolling_with_time (line 78) | def test_rolling_with_time(self): method test_rolling_with_size (line 99) | def test_rolling_with_size(self): method test_rolling_to_total_max_size (line 118) | def test_rolling_to_total_max_size(self): FILE: python/tests/test_manifest.py class TestManifest (line 10) | class TestManifest(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_google_style (line 26) | def test_google_style(self): method test_google_style_bad_args_return_dict (line 118) | def test_google_style_bad_args_return_dict(self): method test_google_style_no_return (line 194) | def test_google_style_no_return(self): method test_no_doc (line 244) | def test_no_doc(self): method test_decorator_google_style_basic (line 264) | def test_decorator_google_style_basic(self): method test_manifest_decorator (line 311) | def test_manifest_decorator(self): FILE: python/tests/test_manifest_decorator.py class TestManifestDecorator (line 19) | class TestManifestDecorator(unittest.TestCase): method test_disable_docstring (line 20) | def test_disable_docstring(self): method test_combine (line 56) | def test_combine(self): method test_reversed_decorators (line 110) | def test_reversed_decorators(self): method test_only_function_decorator (line 160) | def test_only_function_decorator(self): method test_merge_dict (line 196) | def test_merge_dict(self): method test_update_list (line 200) | def test_update_list(self): FILE: python/tests/test_manifest_signature.py class TestManifestSignature (line 21) | class TestManifestSignature(unittest.TestCase): method test_is_normal (line 22) | def test_is_normal(self): method test_is_async (line 31) | def test_is_async(self): method test_is_stream (line 42) | def test_is_stream(self): method test_is_async_and_stream (line 52) | def test_is_async_and_stream(self): method test_decorator_google_style_function_description_no_args (line 65) | def test_decorator_google_style_function_description_no_args(self): method test_decorator_google_style_basic (line 98) | def test_decorator_google_style_basic(self): method test_decorator_google_style_list (line 147) | def test_decorator_google_style_list(self): method test_decorator_google_style_list_of_dicts (line 183) | def test_decorator_google_style_list_of_dicts(self): method test_decorator_google_style_dict (line 219) | def test_decorator_google_style_dict(self): method test_decorator_google_style_dict_of_lists (line 255) | def test_decorator_google_style_dict_of_lists(self): method test_decorator_google_style_union_simple (line 291) | def test_decorator_google_style_union_simple(self): method test_decorator_google_style_union (line 327) | def test_decorator_google_style_union(self): method test_decorator_google_style_union_nest1_dict (line 363) | def test_decorator_google_style_union_nest1_dict(self): method test_decorator_google_style_union_combine (line 399) | def test_decorator_google_style_union_combine(self): method test_decorator_google_style_no_annotation (line 435) | def test_decorator_google_style_no_annotation(self): method test_decorator_google_style_default (line 455) | def test_decorator_google_style_default(self): method test_decorator_google_style_optional (line 473) | def test_decorator_google_style_optional(self): method test_decorator_google_style_optional_equals_none (line 495) | def test_decorator_google_style_optional_equals_none(self): method test_decorator_google_style_optional_list (line 517) | def test_decorator_google_style_optional_list(self): method test_decorator_google_style_list_nest_optional (line 539) | def test_decorator_google_style_list_nest_optional(self): method test_decorator_google_style_union_nest_single_optional (line 561) | def test_decorator_google_style_union_nest_single_optional(self): method test_decorator_google_style_union_nest_optional (line 583) | def test_decorator_google_style_union_nest_optional(self): method test_decorator_google_style_union_nest1_dict_optional_value (line 606) | def test_decorator_google_style_union_nest1_dict_optional_value(self): FILE: python/tests/test_matching.py class TestMatching (line 13) | class TestMatching(unittest.TestCase): method test_example (line 15) | def test_example(self): method test_run (line 28) | def test_run(self): method test_return_score (line 42) | def test_return_score(self): method test_semantics (line 60) | def test_semantics(self): FILE: python/tests/test_mcp_ai_search_stdio.py class TestGetAppList (line 24) | class TestGetAppList(unittest.TestCase): method test_ai_search_mcp_stdio (line 26) | def test_ai_search_mcp_stdio(self): FILE: python/tests/test_mcp_app_server_stdio.py class TestGetAppList (line 23) | class TestGetAppList(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_app_list_stdio (line 29) | def test_app_list_stdio(self): method test_app_run_stdio (line 48) | def test_app_run_stdio(self): FILE: python/tests/test_mcp_rag_stdio.py class TestGetAppList (line 28) | class TestGetAppList(unittest.TestCase): method test_knowledgebase_mcp (line 31) | def test_knowledgebase_mcp(self): function query_knowledge_base (line 112) | def query_knowledge_base(query: str, id_list: list[str]): FILE: python/tests/test_message.py class TestMessage (line 20) | class TestMessage(unittest.TestCase): method setUp (line 21) | def setUp(self): method test_message (line 27) | def test_message(self): FILE: python/tests/test_mix_card_ocr.py class TestPlantRecognition (line 26) | class TestPlantRecognition(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_run_with_image_url (line 47) | def test_run_with_image_url(self): method test_run_with_raw_image (line 63) | def test_run_with_raw_image(self): method test_tool_eval (line 79) | def test_tool_eval(self): method test_recognize_raise (line 100) | def test_recognize_raise(self): FILE: python/tests/test_mrc.py class TestMRC (line 19) | class TestMRC(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_mrc_with_custom_context_list (line 28) | def test_mrc_with_custom_context_list(self): method test_mrc_with_invalid_context (line 45) | def test_mrc_with_invalid_context(self): method test_mrc_with_reject (line 53) | def test_mrc_with_reject(self): method test_tool_eval_valid (line 70) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 92) | def test_tool_eval_invalid(self): FILE: python/tests/test_nl2pandas.py class TestNl2pandasComponent (line 22) | class TestNl2pandasComponent(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_stream_and_temperature (line 39) | def test_run_with_stream_and_temperature(self): method test_tool_eval_valid (line 46) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 59) | def test_tool_eval_invalid(self): FILE: python/tests/test_object_recognize.py class TestObjectRecognize (line 21) | class TestObjectRecognize(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_run_with_raw_image (line 34) | def test_run_with_raw_image(self): method test_run_with_no_image (line 60) | def test_run_with_no_image(self): method test_run_with_timeout_and_retry (line 78) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_url (line 104) | def test_run_with_invalid_url(self): method test_run_without_image_and_url (line 120) | def test_run_without_image_and_url(self): method test_tool_eval_valid (line 135) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 145) | def test_tool_eval_invalid(self): FILE: python/tests/test_openapi_convert.py class TestOpenAPIMCPConverter (line 22) | class TestOpenAPIMCPConverter(unittest.TestCase): method setUp (line 25) | def setUp(self): method asyncSetUp (line 48) | async def asyncSetUp(self): method test_list_tools (line 57) | def test_list_tools(self): method test_call_tool_list_repos (line 74) | def test_call_tool_list_repos(self): method test_call_tool_get_repo (line 102) | def test_call_tool_get_repo(self): method test_load_yaml_spec (line 129) | def test_load_yaml_spec(self): method tearDown (line 162) | def tearDown(self): FILE: python/tests/test_oral_query_generation.py class TestOralQueryGenerationComponent (line 26) | class TestOralQueryGenerationComponent(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_run_with_default_params (line 42) | def test_run_with_default_params(self): method test_run_with_question_output_and_json_output (line 52) | def test_run_with_question_output_and_json_output(self): method test_run_with_phrase_output_and_str_output (line 62) | def test_run_with_phrase_output_and_str_output(self): method test_run_with_stream_and_temperature (line 72) | def test_run_with_stream_and_temperature(self): method test_tool_eval_with_default_params (line 82) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 91) | def test_tool_eval_with_model_configs(self): method test_tool_eval_with_default_params (line 102) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 111) | def test_tool_eval_with_model_configs(self): FILE: python/tests/test_plant_recognize.py class TestPlantRecognition (line 22) | class TestPlantRecognition(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_image_url (line 44) | def test_run_with_image_url(self): method test_run_with_raw_image (line 60) | def test_run_with_raw_image(self): method test_tool_eval_valid (line 76) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 89) | def test_tool_eval_invalid(self): FILE: python/tests/test_playground.py class TestPlayground (line 6) | class TestPlayground(unittest.TestCase): method setUp (line 7) | def setUp(self): method test_run_with_valid_message (line 21) | def test_run_with_valid_message(self): method test_run_with_invalid_message (line 34) | def test_run_with_invalid_message(self): method test_run_with_string_message (line 43) | def test_run_with_string_message(self): method test_run_with_stream_and_temperature (line 51) | def test_run_with_stream_and_temperature(self): method test_run_with_max_output_tokens (line 66) | def test_run_with_max_output_tokens(self): method test_run_with_extra_params (line 81) | def test_run_with_extra_params(self): FILE: python/tests/test_ppt_generation_from_file.py class TestPPTGenerationFromFileComponent (line 34) | class TestPPTGenerationFromFileComponent(unittest.TestCase): method setUp (line 35) | def setUp(self): method test_run_with_default_params (line 47) | def test_run_with_default_params(self): method test_tool_eval_with_default_params (line 56) | def test_tool_eval_with_default_params(self): FILE: python/tests/test_ppt_generation_from_instruction.py class TestPPTGenerationComponent (line 32) | class TestPPTGenerationComponent(unittest.TestCase): method setUp (line 33) | def setUp(self): method test_run_with_default_params (line 46) | def test_run_with_default_params(self): method test_tool_eval_with_default_params (line 55) | def test_tool_eval_with_default_params(self): FILE: python/tests/test_ppt_generation_from_paper.py class TestPPTGenerationFromPaperComponent (line 41) | class TestPPTGenerationFromPaperComponent(unittest.TestCase): method setUp (line 42) | def setUp(self): method test_run_with_default_params (line 54) | def test_run_with_default_params(self): method test_tool_eval_with_default_params (line 63) | def test_tool_eval_with_default_params(self): FILE: python/tests/test_private_llm_component.py class MockLLMComponent (line 5) | class MockLLMComponent(CompletionBaseComponent): method __init__ (line 7) | def __init__(self, *args, **kwargs): method run (line 10) | def run(self, *args, **kwargs): class TestComponentInit (line 14) | class TestComponentInit(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_private_llm_component_init (line 23) | def test_private_llm_component_init(self): FILE: python/tests/test_qa_aicape_animal_rec.py class TestAnimalRecognition (line 20) | class TestAnimalRecognition(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_aicape_doc_crop_enhance.py class TestDocCropEnhance (line 20) | class TestDocCropEnhance(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_aicape_handwriting_ocr.py class TestHandwritingOcr (line 19) | class TestHandwritingOcr(unittest.TestCase): method test_run (line 20) | def test_run(self): FILE: python/tests/test_qa_aicape_image_understand.py class TestAnimalRecognition (line 20) | class TestAnimalRecognition(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_aicape_mixcard_ocr.py class TestMixcardOcr (line 20) | class TestMixcardOcr(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_aicape_plant_rec.py class TestPlantRecognition (line 19) | class TestPlantRecognition(unittest.TestCase): method test_run (line 21) | def test_run(self): FILE: python/tests/test_qa_aicape_qrcode_orc.py class TestQrcodeOcr (line 19) | class TestQrcodeOcr(unittest.TestCase): method test_run (line 21) | def test_run(self): FILE: python/tests/test_qa_aicape_table_ocr.py class TestTableOcr (line 19) | class TestTableOcr(unittest.TestCase): method test_run (line 21) | def test_run(self): FILE: python/tests/test_qa_doc_parser_extract_table_from_doc.py class TestDocParserExtractTableFromDoc (line 21) | class TestDocParserExtractTableFromDoc(unittest.TestCase): method test_run (line 23) | def test_run(self): FILE: python/tests/test_qa_llm_dialog_summary.py class TestDialogSummaryComponent (line 20) | class TestDialogSummaryComponent(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_llm_get_qianfan_model_list.py class TestGetQianfanModelList (line 20) | class TestGetQianfanModelList(unittest.TestCase): method test_run (line 22) | def test_run(self): FILE: python/tests/test_qa_llm_is_complex_query.py class TestIsComplexQuery (line 19) | class TestIsComplexQuery(unittest.TestCase): method test_run (line 21) | def test_run(self): FILE: python/tests/test_qa_llm_matching.py class TestSemanticRankComponent (line 19) | class TestSemanticRankComponent(unittest.TestCase): method test_normal_case (line 20) | def test_normal_case(self): FILE: python/tests/test_qa_llm_oral_query_generation.py class TestOralQueryGeneration (line 19) | class TestOralQueryGeneration(unittest.TestCase): method test_normal_case (line 20) | def test_normal_case(self): FILE: python/tests/test_qa_llm_paddle_speech_tts.py class TestPaddleSpeechTTS (line 19) | class TestPaddleSpeechTTS(unittest.TestCase): method test_normal_case (line 20) | def test_normal_case(self): FILE: python/tests/test_qa_llm_pandas.py class TestNl2pandasComponent (line 20) | class TestNl2pandasComponent(unittest.TestCase): method test_normal_case (line 21) | def test_normal_case(self): FILE: python/tests/test_qa_llm_query_decomposition.py class TestQueryDecomposition (line 19) | class TestQueryDecomposition(unittest.TestCase): method test_normal_case (line 20) | def test_normal_case(self): FILE: python/tests/test_qa_llm_style_rewrite.py class TestStyleRewrite (line 19) | class TestStyleRewrite(unittest.TestCase): method test_normal_case (line 20) | def test_normal_case(self): FILE: python/tests/test_qa_pair_mining.py class TestQAPairMiningComponent (line 22) | class TestQAPairMiningComponent(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_default_params (line 36) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 53) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 60) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 72) | def test_tool_eval_invalid(self): FILE: python/tests/test_qrcode_ocr.py class TestQRcodeOCR (line 22) | class TestQRcodeOCR(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_raw_image (line 29) | def test_run_with_raw_image(self): method test_run_with_url (line 52) | def test_run_with_url(self): method test_run_with_args (line 74) | def test_run_with_args(self): method test_run_with_invalid_input (line 98) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 115) | def test_run_with_invalid_url(self): method test_tool_eval (line 135) | def test_tool_eval(self): FILE: python/tests/test_query_decomposition.py class TestQueryDecompositionComponent (line 21) | class TestQueryDecompositionComponent(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_run_with_default_params (line 35) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 50) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 57) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 69) | def test_tool_eval_invalid(self): FILE: python/tests/test_query_rewrite.py class TestQueryRewriteComponent (line 23) | class TestQueryRewriteComponent(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_default_params (line 38) | def test_run_with_default_params(self): method test_run_with_custom_params (line 46) | def test_run_with_custom_params(self): method test_run_with_stream_and_temperature (line 55) | def test_run_with_stream_and_temperature(self): method test_run_raise (line 63) | def test_run_raise(self): method test_tool_eval_valid (line 78) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 90) | def test_tool_eval_invalid(self): FILE: python/tests/test_rag_baidu_search.py class TestRagBaiduSearch (line 7) | class TestRagBaiduSearch(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_rag_with_baidu_search (line 17) | def test_rag_with_baidu_search(self): method test_rag_with_baidu_search_with_none_inst (line 35) | def test_rag_with_baidu_search_with_none_inst(self): FILE: python/tests/test_rag_baidu_search_pro.py class TestRagBaiduSearch (line 16) | class TestRagBaiduSearch(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_rag_with_baidu_search_pro_block (line 25) | def test_rag_with_baidu_search_pro_block(self): method test_rag_with_baidu_search_pro_stream (line 45) | def test_rag_with_baidu_search_pro_stream(self): method test_rag_with_baidu_search_component_RAGWithBaiduSearch (line 76) | def test_rag_with_baidu_search_component_RAGWithBaiduSearch(self): FILE: python/tests/test_rerank.py class TestReranker (line 12) | class TestReranker(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_run (line 17) | def test_run(self): method test_not_support_model (line 25) | def test_not_support_model(self): FILE: python/tests/test_similar_question.py class TestSimilarQuestionComponent (line 19) | class TestSimilarQuestionComponent(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_run_with_default_params (line 33) | def test_run_with_default_params(self): method test_tool_eval_valid (line 40) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 47) | def test_tool_eval_invalid(self): FILE: python/tests/test_style_rewrite.py class TestStyleRewriteComponent (line 22) | class TestStyleRewriteComponent(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_to_chinese (line 37) | def test_to_chinese(self): method test_run_with_custom_params (line 41) | def test_run_with_custom_params(self): method test_tool_eval_valid (line 50) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 57) | def test_tool_eval_invalid(self): FILE: python/tests/test_style_writing.py class TestStyleWritingComponent (line 23) | class TestStyleWritingComponent(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_to_chinese (line 39) | def test_to_chinese(self): method test_run_with_custom_params (line 45) | def test_run_with_custom_params(self): method test_tool_eval_valid (line 56) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 64) | def test_tool_eval_invalid(self): FILE: python/tests/test_table_ocr.py class TestTableOCR (line 22) | class TestTableOCR(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_raw_image (line 29) | def test_run_with_raw_image(self): method test_run_with_url (line 53) | def test_run_with_url(self): method test_run_with_timeout_and_retry (line 76) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_input (line 98) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 115) | def test_run_with_invalid_url(self): method test_tool_eval (line 131) | def test_tool_eval(self): FILE: python/tests/test_tag_extraction.py class TestTagExtractionComponent (line 20) | class TestTagExtractionComponent(unittest.TestCase): method setUp (line 21) | def setUp(self): method test_run_with_default_params (line 31) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 39) | def test_run_with_stream_and_temperature(self): method test_tool_eval_valid (line 45) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 57) | def test_tool_eval_invalid(self): FILE: python/tests/test_text_to_image.py class TestText2ImageComponent (line 10) | class TestText2ImageComponent(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_run (line 23) | def test_run(self): method test_submitText2ImageTask (line 40) | def test_submitText2ImageTask(self): method test_queryText2ImageData (line 60) | def test_queryText2ImageData(self): method test_extract_img_urls (line 78) | def test_extract_img_urls(self): method test_check_service_error (line 96) | def test_check_service_error(self): FILE: python/tests/test_trace.py class TestTrace (line 20) | class TestTrace(unittest.TestCase): method test_trace (line 21) | def test_trace(self): FILE: python/tests/test_trace_skip_raise_error.py class TestException (line 30) | class TestException(Exception): method __init__ (line 31) | def __init__(self): function mock_post_01 (line 35) | def mock_post_01(): function mock_post_02 (line 39) | def mock_post_02(): function mock_client_run_trace_01 (line 43) | def mock_client_run_trace_01(): function mock_client_run_trace_02 (line 47) | def mock_client_run_trace_02(): function mock_client_tool_trace_01 (line 51) | def mock_client_tool_trace_01(): function mock_client_tool_trace_02 (line 55) | def mock_client_tool_trace_02(): function mock_assistent_tool_trace_01 (line 59) | def mock_assistent_tool_trace_01(): function mock_assistent_tool_trace_02 (line 63) | def mock_assistent_tool_trace_02(): function mock_assistant_run_trace_01 (line 67) | def mock_assistant_run_trace_01(): function mock_assistant_run_trace_02 (line 71) | def mock_assistant_run_trace_02(): function mock_assistent_stream_run_trace_01 (line 75) | def mock_assistent_stream_run_trace_01(): function mock_assistent_stream_run_trace_02 (line 79) | def mock_assistent_stream_run_trace_02(): function mock_assistent_stream_run_with_handler_trace_01 (line 83) | def mock_assistent_stream_run_with_handler_trace_01(): function mock_assistent_stream_run_with_handler_trace_02 (line 87) | def mock_assistent_stream_run_with_handler_trace_02(): function mock_components_run_trace_01 (line 91) | def mock_components_run_trace_01(): function mock_components_run_trace_02 (line 95) | def mock_components_run_trace_02(): function mock_components_run_stream_trace_01 (line 99) | def mock_components_run_stream_trace_01(): function mock_components_run_stream_trace_02 (line 103) | def mock_components_run_stream_trace_02(): function mock_list_trace_01 (line 107) | def mock_list_trace_01(): function mock_list_trace_02 (line 111) | def mock_list_trace_02(): class TestTraceSkipRaiseError (line 114) | class TestTraceSkipRaiseError(unittest.TestCase): method setUp (line 115) | def setUp(self): method tearDown (line 119) | def tearDown(self): method test_session_post (line 123) | def test_session_post(self): method test_client_run_trace (line 139) | def test_client_run_trace(self): method test_client_tool_trace (line 155) | def test_client_tool_trace(self): method test_assistent_tool_trace (line 171) | def test_assistent_tool_trace(self): method test_assistant_run_trace (line 187) | def test_assistant_run_trace(self): method test_assistent_stream_run_trace (line 203) | def test_assistent_stream_run_trace(self): method test_assistent_stream_run_with_handler_trace (line 219) | def test_assistent_stream_run_with_handler_trace(self): method test_components_run_trace (line 235) | def test_components_run_trace(self): method test_components_run_stream_trace (line 251) | def test_components_run_stream_trace(self): method test_list_trace (line 267) | def test_list_trace(self): FILE: python/tests/test_translate.py class TestTranslationComponent (line 7) | class TestTranslationComponent(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_run_valid_request (line 11) | def test_run_valid_request(self): method test_run_invalid_request (line 18) | def test_run_invalid_request(self): method test_tool_eval_valid (line 24) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 30) | def test_tool_eval_invalid(self): FILE: python/tests/test_treemind.py class TestTreeMindComponent (line 20) | class TestTreeMindComponent(unittest.TestCase): method setUp (line 21) | def setUp(self): method test_treemind_component_tool_eval (line 33) | def test_treemind_component_tool_eval(self): method test_treemind_component_run (line 45) | def test_treemind_component_run(self): method test_run_with_invalid_input (line 54) | def test_run_with_invalid_input(self): method test_tool_eval_invalid (line 61) | def test_tool_eval_invalid(self): FILE: python/tests/test_tts.py class TestTTS (line 20) | class TestTTS(unittest.TestCase): method setUp (line 21) | def setUp(self): method test_model_validation (line 25) | def test_model_validation(self): method test_text_validation (line 29) | def test_text_validation(self): method test_audio_type_validation_baidu_tts (line 34) | def test_audio_type_validation_baidu_tts(self): method test_audio_type_validation_paddlespeech_tts (line 38) | def test_audio_type_validation_paddlespeech_tts(self): method test_run_baidu_tts (line 42) | def test_run_baidu_tts(self): method test_run_paddlespeech_tts (line 46) | def test_run_paddlespeech_tts(self): method test_run_paddlespeech_tts_stream (line 50) | def test_run_paddlespeech_tts_stream(self): method test_run_error_model_tts_stream (line 55) | def test_run_error_model_tts_stream(self): method test_run_paddlespeech_validation_tts_stream (line 59) | def test_run_paddlespeech_validation_tts_stream(self): method test_run_raise_text_field_empty (line 63) | def test_run_raise_text_field_empty(self): FILE: python/tests/test_utils.py class test_logger_level (line 25) | class test_logger_level(): method __init__ (line 26) | def __init__(self): class TestUtils (line 30) | class TestUtils(unittest.TestCase): method test_sse_util_SSEClient (line 31) | def test_sse_util_SSEClient(self): method test_sse_util_AsyncSSEClient (line 60) | def test_sse_util_AsyncSSEClient(self): method test_sse_util_SSEClient_DEBUG (line 87) | def test_sse_util_SSEClient_DEBUG(self): method test_sse_util_Event (line 118) | def test_sse_util_Event(self): method test_model_util_RemoteModel (line 123) | def test_model_util_RemoteModel(self): method test_model_util_Models (line 128) | def test_model_util_Models(self): FILE: python/tests/test_utils_collector.py class TestCollector (line 21) | class TestCollector(unittest.TestCase): method test_del_collection (line 22) | def test_del_collection(self): method test_other_collection (line 32) | def test_other_collection(self): FILE: python/tests/test_utils_logger.py class test_logger_level (line 22) | class test_logger_level(): method __init__ (line 23) | def __init__(self): class TestUtilsLogger (line 27) | class TestUtilsLogger(unittest.TestCase): method test_logger_util_LoggerWithLoggerId (line 28) | def test_logger_util_LoggerWithLoggerId(self): method test_setup_logging (line 49) | def test_setup_logging(self): method test_set_filename_and_loglevel (line 57) | def test_set_filename_and_loglevel(self): FILE: python/tests/test_utils_logging_util.py class TestTestUtilsLoggingUtil (line 21) | class TestTestUtilsLoggingUtil(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_set_auto_logid (line 25) | def test_set_auto_logid(self): method test_set_logid (line 28) | def test_set_logid(self): method test_get_logid (line 31) | def test_get_logid(self): method test_process (line 37) | def test_process(self): FILE: python/tests/test_v2_animal_recognize.py class TestAnimalRecognition (line 22) | class TestAnimalRecognition(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_raw_image (line 29) | def test_run_with_raw_image(self): method test_run_with_url (line 56) | def test_run_with_url(self): method test_run_with_timeout_and_retry (line 79) | def test_run_with_timeout_and_retry(self): method test_run_with_invalid_input (line 102) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 119) | def test_run_with_invalid_url(self): method test_tool_eval_valid (line 135) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 147) | def test_tool_eval_invalid(self): method test_tool_eval_raise_exception (line 154) | def test_tool_eval_raise_exception(self): FILE: python/tests/test_v2_asr.py class TestASR (line 27) | class TestASR(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_asr_run (line 34) | def test_asr_run(self): method test_asr_tool_eval (line 41) | def test_asr_tool_eval(self): method test_asr_tool_eval_error (line 47) | def test_asr_tool_eval_error(self): method test_convert_with_mp3 (line 56) | def test_convert_with_mp3(self): FILE: python/tests/test_v2_component_trace.py class TestStyleRewrite (line 22) | class TestStyleRewrite(unittest.TestCase): method setUp (line 23) | def setUp(self) -> None: method test_non_stream_tool_eval (line 30) | def test_non_stream_tool_eval(self): FILE: python/tests/test_v2_dialog_summary.py class TestDialogSummary (line 22) | class TestDialogSummary(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_default_params (line 36) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 43) | def test_run_with_stream_and_temperature(self): method test_run_with_model_names (line 50) | def test_run_with_model_names(self): method test_tool_eval_valid (line 58) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 69) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_general_ocr.py class TestGeneralOCR (line 24) | class TestGeneralOCR(unittest.TestCase): method setUp (line 25) | def setUp(self) -> None: method test_run (line 28) | def test_run(self): method test_tool_eval (line 39) | def test_tool_eval(self): method test_error_tool_eval (line 54) | def test_error_tool_eval(self): method test_run_pdf_base64 (line 63) | def test_run_pdf_base64(self): method test_run_pdf_url (line 71) | def test_run_pdf_url(self): method test_tool_eval_pdf_url (line 77) | def test_tool_eval_pdf_url(self): method test_tool_eval_none_input (line 83) | def test_tool_eval_none_input(self): method test_rotated_image (line 88) | def test_rotated_image(self): FILE: python/tests/test_v2_hallucination_detection.py class TestHallucinationDetectionComponent (line 42) | class TestHallucinationDetectionComponent(unittest.TestCase): method setUp (line 43) | def setUp(self): method test_run_with_default_params (line 56) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 68) | def test_run_with_stream_and_temperature(self): method test_tool_eval_with_default_params (line 80) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 91) | def test_tool_eval_with_model_configs(self): method test_tool_eval_with_default_params (line 108) | def test_tool_eval_with_default_params(self): method test_tool_eval_with_model_configs (line 119) | def test_tool_eval_with_model_configs(self): FILE: python/tests/test_v2_handwrite_ocr.py class TestHandWriteOCR (line 26) | class TestHandWriteOCR(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_run_with_image_url (line 45) | def test_run_with_image_url(self): method test_run_with_raw_image (line 61) | def test_run_with_raw_image(self): method test_tool_eval (line 77) | def test_tool_eval(self): FILE: python/tests/test_v2_image_understand.py class TestImageUnderstand (line 26) | class TestImageUnderstand(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_run_with_image_url (line 42) | def test_run_with_image_url(self): method test_run_with_raw_image (line 61) | def test_run_with_raw_image(self): method test_tool_eval_valid (line 80) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 98) | def test_tool_eval_invalid(self): method test_run_language_en (line 106) | def test_run_language_en(self): method test_run_raise (line 112) | def test_run_raise(self): FILE: python/tests/test_v2_is_complex_query.py class TestIsComplexQueryComponent (line 23) | class TestIsComplexQueryComponent(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_default_params (line 37) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 52) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 59) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 67) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_mix_card_ocr.py class TestMixCardOCR (line 27) | class TestMixCardOCR(unittest.TestCase): method setUp (line 29) | def setUp(self): method test_run_with_image_url (line 48) | def test_run_with_image_url(self): method test_run_with_raw_image (line 64) | def test_run_with_raw_image(self): method test_tool_eval (line 80) | def test_tool_eval(self): method test_recognize_raise (line 94) | def test_recognize_raise(self): FILE: python/tests/test_v2_mrc.py class TestMRC (line 21) | class TestMRC(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_mrc_with_custom_context_list (line 30) | def test_mrc_with_custom_context_list(self): method test_mrc_with_invalid_context (line 47) | def test_mrc_with_invalid_context(self): method test_mrc_with_reject (line 55) | def test_mrc_with_reject(self): method test_tool_eval_valid (line 72) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 93) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_nl2pandas.py class TestNl2pandasComponent (line 24) | class TestNl2pandasComponent(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_run_with_stream_and_temperature (line 41) | def test_run_with_stream_and_temperature(self): method test_tool_eval_valid (line 48) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 60) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_object_recognition.py class TestObjectRecognition (line 28) | class TestObjectRecognition(unittest.TestCase): method setUp (line 29) | def setUp(self): method test_run (line 37) | def test_run(self): method test_tool_eval (line 44) | def test_tool_eval(self): method test_tool_eval_error (line 50) | def test_tool_eval_error(self): method test_recognize_error (line 59) | def test_recognize_error(self): FILE: python/tests/test_v2_oral_query_generat.py class TestOralQueryGeneration (line 23) | class TestOralQueryGeneration(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run (line 32) | def test_run(self): method test_tool_eval (line 38) | def test_tool_eval(self): FILE: python/tests/test_v2_plant_recognize.py class TestPlantRecognition (line 25) | class TestPlantRecognition(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_run_with_image_url (line 47) | def test_run_with_image_url(self): method test_run_with_raw_image (line 63) | def test_run_with_raw_image(self): method test_tool_eval_invalid (line 79) | def test_tool_eval_invalid(self): method test_tool_eval (line 86) | def test_tool_eval(self): FILE: python/tests/test_v2_qa_pair_mining.py class TestQAPairMiningComponent (line 23) | class TestQAPairMiningComponent(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_default_params (line 37) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 54) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 61) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 70) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_qrcode_ocr.py class TestQRcodeOCR (line 23) | class TestQRcodeOCR(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_raw_image (line 30) | def test_run_with_raw_image(self): method test_run_with_url (line 54) | def test_run_with_url(self): method test_run_with_args (line 76) | def test_run_with_args(self): method test_run_with_invalid_input (line 100) | def test_run_with_invalid_input(self): method test_run_with_invalid_url (line 117) | def test_run_with_invalid_url(self): method test_tool_eval (line 137) | def test_tool_eval(self): FILE: python/tests/test_v2_query_decomposition.py class TestQueryDecompositionComponent (line 23) | class TestQueryDecompositionComponent(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run_with_default_params (line 37) | def test_run_with_default_params(self): method test_run_with_invalid_params (line 52) | def test_run_with_invalid_params(self): method test_tool_eval_valid (line 59) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 68) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_query_rewrite.py class TestQueryRewriteComponent (line 25) | class TestQueryRewriteComponent(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_run_with_default_params (line 40) | def test_run_with_default_params(self): method test_run_with_custom_params (line 48) | def test_run_with_custom_params(self): method test_run_with_stream_and_temperature (line 57) | def test_run_with_stream_and_temperature(self): method test_run_raise (line 65) | def test_run_raise(self): method test_tool_eval_valid (line 80) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 91) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_similar_question.py class TestSimilarQuestion (line 25) | class TestSimilarQuestion(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_run (line 29) | def test_run(self): method test_tool_eval (line 36) | def test_tool_eval(self): FILE: python/tests/test_v2_style_rewrite.py class TestStyleRewrite (line 22) | class TestStyleRewrite(unittest.TestCase): method setUp (line 23) | def setUp(self) -> None: method test_normal_case (line 26) | def test_normal_case(self): method test_tool_eval (line 34) | def test_tool_eval(self): method test_non_stream_tool_eval (line 42) | def test_non_stream_tool_eval(self): method test_tool_eval_invalid (line 49) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_style_writing.py class TestStyleWriting (line 21) | class TestStyleWriting(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_run (line 25) | def test_run(self): method test_tool_eval (line 33) | def test_tool_eval(self): FILE: python/tests/test_v2_table_ocr.py class TestTableOCR (line 21) | class TestTableOCR(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_run (line 28) | def test_run(self): method test_tool_eval_01 (line 33) | def test_tool_eval_01(self): method test_tool_eval_01 (line 35) | def test_tool_eval_01(self): method test_tool_eval_02 (line 41) | def test_tool_eval_02(self): FILE: python/tests/test_v2_tag_extraction.py class TestTagExtractionComponent (line 22) | class TestTagExtractionComponent(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_run_with_default_params (line 33) | def test_run_with_default_params(self): method test_run_with_stream_and_temperature (line 40) | def test_run_with_stream_and_temperature(self): method test_tool_eval_valid (line 47) | def test_tool_eval_valid(self): method test_tool_eval_invalid (line 56) | def test_tool_eval_invalid(self): FILE: python/tests/test_v2_text_to_image.py class TestText2Image (line 23) | class TestText2Image(unittest.TestCase): method setUp (line 24) | def setUp(self): method test_run (line 34) | def test_run(self): method test_tool_eval (line 47) | def test_tool_eval(self): FILE: python/tests/test_v2_translate.py class TestTranslation (line 21) | class TestTranslation(unittest.TestCase): method setUp (line 22) | def setUp(self) -> None: method test_run (line 25) | def test_run(self): method test_tool_eval (line 30) | def test_tool_eval(self): FILE: python/tests/test_v2_treemind.py class TestTreeMindComponent (line 22) | class TestTreeMindComponent(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_treemind_component_tool_eval (line 35) | def test_treemind_component_tool_eval(self): method test_run_with_invalid_input (line 45) | def test_run_with_invalid_input(self): method test_tool_eval_invalid (line 52) | def test_tool_eval_invalid(self): method test_tool_eval (line 58) | def test_tool_eval(self): FILE: python/tests/test_vdb_retriever.py class TestBaiduVDBRetrieverParameter (line 23) | class TestBaiduVDBRetrieverParameter(unittest.TestCase): method setUp (line 24) | def setUp(self) -> None: method test_run_parameter_query (line 27) | def test_run_parameter_query(self): method test_run_paramter_query_type (line 37) | def test_run_paramter_query_type(self): method test_run_parameter_query_length (line 48) | def test_run_parameter_query_length(self): method test_run_parameter_topk_positive (line 57) | def test_run_parameter_topk_positive(self): class TestVDBParameterCheck (line 66) | class TestVDBParameterCheck(unittest.TestCase): method setUp (line 67) | def setUp(self) -> None: method test_vdb_parameter_account (line 70) | def test_vdb_parameter_account(self): method test_vdb_parameter_database_name (line 78) | def test_vdb_parameter_database_name(self): method test_vdb_parameter_table_params (line 87) | def test_vdb_parameter_table_params(self): method test_vdb_parameter_embedding (line 95) | def test_vdb_parameter_embedding(self): FILE: python/utils/_bcc.py class InnerBccClient (line 23) | class InnerBccClient(bcc_client.BccClient): method __init__ (line 24) | def __init__(self, config=None): method create_instance_by_spec (line 27) | def create_instance_by_spec( method _compute_service_id (line 156) | def _compute_service_id(self): FILE: python/utils/bce_deploy.py class AppbuilderSDKInstance (line 33) | class AppbuilderSDKInstance: method __init__ (line 34) | def __init__(self, config_path): method load_config (line 42) | def load_config(self): method save_config (line 55) | def save_config(self, config): method create_bce_client (line 60) | def create_bce_client(self): method create_bos_client (line 66) | def create_bos_client(self): method create_tar (line 72) | def create_tar(self): method bos_upload (line 82) | def bos_upload(self): method clear_local (line 100) | def clear_local(self): method build_user_data (line 104) | def build_user_data(self): method build_run_script (line 122) | def build_run_script(self): method create_instance (line 140) | def create_instance(self): method get_instance_id (line 163) | def get_instance_id(self, instance): method get_public_ip (line 166) | def get_public_ip(self, instance_id=None): method create_security_group (line 181) | def create_security_group(self): method bind_security_group (line 213) | def bind_security_group(self): method _pre_deploy (line 219) | def _pre_deploy(self): method _deploy (line 232) | def _deploy(self): method _after_deploy (line 235) | def _after_deploy(self): method deploy (line 240) | def deploy(self): function deploy (line 246) | def deploy(): FILE: python/utils/collector.py class AssistantKeys (line 17) | class AssistantKeys(object): class Collector (line 25) | class Collector(): method __new__ (line 29) | def __new__(cls, *args, **kwargs): method __init__ (line 37) | def __init__(self) -> None: method add_to_collection (line 43) | def add_to_collection(self, name, value, index_key=None): method del_collection (line 54) | def del_collection(self, name, index_key=None): method get_collection (line 64) | def get_collection(self, name, index_key=None, scope=None): method get_collection_as_dict (line 77) | def get_collection_as_dict(self, name, reverse=False): method get_all_collection_keys (line 87) | def get_all_collection_keys(self, name=None): method clear_collection (line 90) | def clear_collection(self, name): FILE: python/utils/func_utils.py function deprecated (line 18) | def deprecated(reason=None, version=None): class Singleton (line 44) | class Singleton(type): method __call__ (line 47) | def __call__(cls, *args, **kwargs): FILE: python/utils/json_schema_to_model.py class BadJsonSchema (line 20) | class BadJsonSchema(Exception): function _to_camel_case (line 24) | def _to_camel_case(name: str) -> str: function _load_module_from_file (line 34) | def _load_module_from_file(file_path: Path) -> ModuleType: function _delete_file_on_completion (line 45) | def _delete_file_on_completion(file_path: Path): function replace_last_match (line 51) | def replace_last_match(text, pattern, repl): function sed_pydantic_str (line 70) | def sed_pydantic_str(pydantic_models_as_str:str, title: str): function json_schema_to_pydantic_model (line 86) | def json_schema_to_pydantic_model(json_schema: dict, name_override: str)... FILE: python/utils/logger_file_headler.py class SizeAndTimeRotatingFileHandler (line 20) | class SizeAndTimeRotatingFileHandler(logging.Handler): method __init__ (line 21) | def __init__(self, method _get_new_filename (line 41) | def _get_new_filename(self): method emit (line 45) | def emit(self, record): method shouldRollover (line 51) | def shouldRollover(self, record): method doRollover (line 71) | def doRollover(self): method manage_log_files (line 81) | def manage_log_files(self): method _total_size (line 93) | def _total_size(self, files): method close (line 96) | def close(self): FILE: python/utils/logger_util.py class LoggerWithLoggerId (line 91) | class LoggerWithLoggerId(logging.LoggerAdapter): method __init__ (line 95) | def __init__(self, logger, extra, loglevel): method set_auto_logid (line 141) | def set_auto_logid(self): method set_logid (line 147) | def set_logid(self, logid): method get_logid (line 153) | def get_logid(self): method level (line 163) | def level(self): method _add_error_to_file_name (line 170) | def _add_error_to_file_name(filename): method setFilename (line 176) | def setFilename(self, filename): method setLoglevel (line 194) | def setLoglevel(self, level): method setLogConfig (line 211) | def setLogConfig(self, method process (line 294) | def process(self, msg, kwargs): function _setup_logging (line 314) | def _setup_logging(): function get_logger (line 323) | def get_logger(name, level=logging.INFO): FILE: python/utils/model_util.py class RemoteModel (line 36) | class RemoteModel(object): method __init__ (line 44) | def __init__(self, remote_name: str): method register_short_name (line 48) | def register_short_name(self, short_name: str): method get_remote_name_by_short_name (line 57) | def get_remote_name_by_short_name(self, short_name: str) -> Optional[s... class RemoteModelCollector (line 71) | class RemoteModelCollector(): method __init__ (line 80) | def __init__(self): method __new__ (line 86) | def __new__(cls, *args, **kwargs): method register_remote_model_name (line 94) | def register_remote_model_name(self, remote_name: str, short_name: str): method get_remote_name_by_short_name (line 107) | def get_remote_name_by_short_name(self, short_name: str) -> Optional[s... class GetModelListRequest (line 125) | class GetModelListRequest(proto.Message): class GetModelListResponse (line 137) | class GetModelListResponse(proto.Message): class ModelListResult (line 184) | class ModelListResult(proto.Message): class ModelData (line 205) | class ModelData(proto.Message): class Version (line 245) | class Version(proto.Message): class GetModelListRequestV2 (line 281) | class GetModelListRequestV2(BaseModel): class BaseModelInfo (line 294) | class BaseModelInfo(BaseModel): class CommonModelV2 (line 310) | class CommonModelV2(BaseModelInfo, extra='allow'): class CustomModelV2 (line 319) | class CustomModelV2(BaseModelInfo, extra='allow'): class GetModelListResponseResult (line 330) | class GetModelListResponseResult(BaseModel): class GetModelListResponseV2 (line 341) | class GetModelListResponseV2(BaseModel): class Models (line 354) | class Models: method __init__ (line 359) | def __init__(self, method list (line 377) | def list(self, request: GetModelListRequest = None, timeout: float = N... method list_v2 (line 408) | def list_v2(self, request: GetModelListRequestV2 = None, timeout: floa... method _check_service_error (line 441) | def _check_service_error(request_id: str, data: dict): FILE: python/utils/sse_util.py class SSEClient (line 22) | class SSEClient: method __init__ (line 27) | def __init__(self, event_source, char_enc="utf-8"): method _read (line 37) | def _read(self): method events (line 53) | def events(self): method close (line 125) | def close(self): class AsyncSSEClient (line 132) | class AsyncSSEClient: method __init__ (line 136) | def __init__(self, response, char_enc='utf-8'): method _read (line 144) | async def _read(self): method events (line 158) | async def events(self): class Event (line 216) | class Event(object): method __init__ (line 221) | def __init__(self, id=None, event="message", data="", retry=None): method __str__ (line 228) | def __str__(self): method debug_str (line 241) | def debug_str(self): FILE: python/utils/trace/_function.py function _time (line 28) | def _time(start_time,end_time,span): function _build_curl_from_post (line 43) | def _build_curl_from_post(url, headers, json_body, timeout) -> str: function _post_input (line 73) | def _post_input(args,kwargs,span): function _input (line 101) | def _input(args,kwargs,span): function _client_tool_trace_output_deep_iterate (line 141) | def _client_tool_trace_output_deep_iterate(output,span): function _client_trace_generator (line 165) | def _client_trace_generator(generator, tracer, parent_context): function _client_run_trace_stream (line 230) | def _client_run_trace_stream(tracer, func, *args, **kwargs): function _client_run_trace_un_stream (line 259) | def _client_run_trace_un_stream(tracer, func, *args, **kwargs): function _output (line 305) | def _output(output, span): function _tool_name (line 327) | def _tool_name(args): function _assistant_output (line 350) | def _assistant_output(output, span): function _assistant_stream_run_with_handler_output (line 364) | def _assistant_stream_run_with_handler_output(generator , tracer, parent... function _assistant_stream_output (line 406) | def _assistant_stream_output(output, span, tracer): function _components_run_output (line 443) | def _components_run_output(output, span): function _post_trace (line 462) | def _post_trace(tracer, func, *args, **kwargs): function _client_run_trace (line 489) | def _client_run_trace(tracer, func, *args, **kwargs): function _client_tool_trace (line 523) | def _client_tool_trace(tracer, func, *args, **kwargs): function _assistant_tool_trace (line 546) | def _assistant_tool_trace(tracer, func, *args, **kwargs): function _assistant_run_trace (line 572) | def _assistant_run_trace(tracer, func, *args, **kwargs): function _assistant_stream_trace (line 596) | def _assistant_stream_trace(tracer, func, *args, **kwargs): function _assistant_stream_run_with_handler_trace (line 634) | def _assistant_stream_run_with_handler_trace(tracer, func, *args, **kwar... function _components_run_trace_with_opentelemetry (line 665) | def _components_run_trace_with_opentelemetry(tracer, func, *args, **kwar... function _components_run_trace_with_sentry (line 689) | def _components_run_trace_with_sentry(func, *args, **kwargs): function _components_stream_run_trace_with_opentelemetry (line 713) | def _components_stream_run_trace_with_opentelemetry(tracer, func, *args,... function _components_stream_run_trace_with_sentry (line 752) | def _components_stream_run_trace_with_sentry(func, *args, **kwargs): function _list_trace (line 793) | def _list_trace(tracer, func, *args, **kwargs): FILE: python/utils/trace/phoenix_wrapper.py function launch_phoenix (line 26) | def launch_phoenix(host: Optional[str] = "127.0.0.1", port: Optional[int... function stop_phoenix (line 39) | def stop_phoenix(delete_data:bool=False): function runtime_main (line 51) | def runtime_main(): FILE: python/utils/trace/tracer.py class AppbuilderInstrumentor (line 48) | class AppbuilderInstrumentor(BaseInstrumentor): method __new__ (line 56) | def __new__(cls, *args, **kwargs): method instrumentation_dependencies (line 73) | def instrumentation_dependencies(self): method _instrument (line 76) | def _instrument(self, **kwargs): method _uninstrument (line 266) | def _uninstrument(self): function create_tracer_provider (line 307) | def create_tracer_provider(enable_phoenix: bool = True, enable_console: ... class AppBuilderTracer (line 337) | class AppBuilderTracer(): method __new__ (line 341) | def __new__(cls, *args, **kwargs): method __init__ (line 346) | def __init__(self, enable_phoenix: bool = True, enable_console: bool =... method tracer_provider (line 371) | def tracer_provider(self): method instrumentor (line 375) | def instrumentor(self): method add_custom_processor (line 378) | def add_custom_processor(self, processor): method start_trace (line 381) | def start_trace(self): method end_trace (line 388) | def end_trace(self): method __enter__ (line 393) | def __enter__(self): method __exit__ (line 397) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: python/utils/trace/tracer_wrapper.py function _whether_enable_trace (line 20) | def _whether_enable_trace(): function session_post_func (line 28) | def session_post_func(func, *args, **kwargs): function client_run_trace_func (line 32) | def client_run_trace_func(func, *args, **kwargs): function client_tool_trace_func (line 36) | def client_tool_trace_func(func, *args, **kwargs): function assistent_tool_trace_func (line 39) | def assistent_tool_trace_func(func, *args, **kwargs): function assistant_run_trace_func (line 42) | def assistant_run_trace_func(func, *args, **kwargs): function assistant_stream_run_with_handler_trace_func (line 45) | def assistant_stream_run_with_handler_trace_func(func, *args, **kwargs): function assistent_stream_run_trace_func (line 48) | def assistent_stream_run_trace_func(func, *args, **kwargs): function components_run_trace_func (line 51) | def components_run_trace_func(func, *args, **kwargs): function components_run_stream_trace_func (line 54) | def components_run_stream_trace_func(func, *args, **kwargs): function list_trace_func (line 57) | def list_trace_func(func, *args, **kwargs): function session_post (line 60) | def session_post(func): function client_run_trace (line 119) | def client_run_trace(func): function client_tool_trace (line 179) | def client_tool_trace(func): function assistent_tool_trace (line 236) | def assistent_tool_trace(func): function assistant_run_trace (line 295) | def assistant_run_trace(func): function assistent_stream_run_trace (line 352) | def assistent_stream_run_trace(func): function assistent_stream_run_with_handler_trace (line 409) | def assistent_stream_run_with_handler_trace(func): function components_run_trace (line 467) | def components_run_trace(func): function components_run_stream_trace (line 524) | def components_run_stream_trace(func): function list_trace (line 582) | def list_trace(func):