MCPcopy Index your code

hub / github.com/icip-cas/PPTAgent / functions

Functions421 in github.com/icip-cas/PPTAgent

↓ 23 callersFunctionpackage_join
Join paths with the appropriate separator for the platform. Args: *paths: The paths to join. Returns: str: The joined p
pptagent/pptagent/utils.py:583
↓ 15 callersMethodpop
Remove and return content item at specified index position
pptagent/pptagent/document/document.py:193
↓ 14 callersFunctioninfo
(msg, *args, **kwargs)
deeppresenter/deeppresenter/utils/log.py:106
↓ 14 callersMethodupdate
Merge a list of fonts into a single font.
pptagent/pptagent/presentation/shapes.py:259
↓ 13 callersFunctiondebug
(msg, *args, **kwargs)
deeppresenter/deeppresenter/utils/log.py:102
↓ 13 callersFunctionerror
(msg, *args, **kwargs)
deeppresenter/deeppresenter/utils/log.py:114
↓ 13 callersFunctionget_logger
Get a logger with the specified name and level. Args: name (str): The name of the logger. level (int): The logging level (de
pptagent/pptagent/utils.py:52
↓ 12 callersMethodrun
Unified interface for chat and tool calls
deeppresenter/deeppresenter/utils/config.py:209
↓ 11 callersFunctionwarning
(msg, *args, **kwargs)
deeppresenter/deeppresenter/utils/log.py:110
↓ 9 callersMethodapply_stats
Apply image captions to the presentation.
pptagent/pptagent/multimodal.py:32
↓ 9 callersFunctionedit_distance
Calculate the normalized edit distance between two strings. Args: text1 (str): The first string. text2 (str): The second str
pptagent/pptagent/utils.py:187
↓ 9 callersMethodfrom_file
Parse a Presentation from a file. Args: file_path (str): The path to the presentation file. config (Config):
pptagent/pptagent/presentation/presentation.py:285
↓ 9 callersMethodremove
Remove content item from document
pptagent/pptagent/document/document.py:209
↓ 9 callersMethodsave
Save the presentation to a file. Args: file_path (str): The path to save the presentation to. layout_only (b
pptagent/pptagent/presentation/presentation.py:352
↓ 7 callersMethodfrom_shape
(cls, fill: FillFormat | None, part: SlidePart, config: Config)
pptagent/pptagent/presentation/shapes.py:113
↓ 7 callersFunctionget_json_from_response
Extract JSON from a text response. Args: response (str): The response text. Returns: Dict[str, Any]: The extracted JSON
pptagent/pptagent/utils.py:214
↓ 6 callersFunctionget_logger
Get the logger for the current context
deeppresenter/deeppresenter/utils/log.py:92
↓ 6 callersMethodlog_message
(self, msg: ChatMessage)
deeppresenter/deeppresenter/agents/agent.py:280
↓ 6 callersMethodtest_connection
Test the connection to the LLM. Returns: bool: True if connection is successful, False otherwise.
pptagent/pptagent/llms.py:117
↓ 6 callersMethodto_html
Convert the text box to HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. Returns:
pptagent/pptagent/presentation/shapes.py:820
↓ 5 callersMethod_close_server
(self, server_id: str)
deeppresenter/deeppresenter/utils/mcp_client.py:145
↓ 5 callersMethodbuild
Build the fill in a shape. Args: shape (BaseShape): The shape to apply fill to. fill_xml (Optional[str]): The
pptagent/pptagent/presentation/shapes.py:128
↓ 5 callersFunctionelement_index
Find the an element in a slide. Args: slide (SlidePage): The slide element_id (int): The ID of the element. Returns:
pptagent/pptagent/apis.py:212
↓ 5 callersMethodresponse_model
(cls)
pptagent/pptagent/document/element.py:124
↓ 5 callersMethodrun
( self, request: InputRequest, hci_enable: bool = False, )
deeppresenter/deeppresenter/main.py:41
↓ 5 callersMethodshape_filter
Iterate over all shapes in the group. Yields: ShapeElement: Each shape in the group.
pptagent/pptagent/presentation/shapes.py:1048
↓ 4 callersFunctionget_eval
(prs_source: str)
pptagent/pptagent/ppteval.py:46
↓ 4 callersMethodget_image_stats
Load captions data
pptagent/test/conftest.py:37
↓ 4 callersMethodget_inline_style
Get the inline style for the shape element. Args: style_args (StyleArg): The style arguments for HTML conversion.
pptagent/pptagent/presentation/shapes.py:764
↓ 4 callersMethodloop
Loop interface, return the message or the outcome filepath of the agent.
deeppresenter/deeppresenter/agents/agent.py:207
↓ 4 callersMethodparse
Parse the markdown content to extract image path and alt text. Format expected: ![alt text](image.png)
pptagent/pptagent/document/element.py:49
↓ 4 callersMethodto_text
Represent the slide page in text. Args: show_image (bool): Whether to show image captions. Returns:
pptagent/pptagent/presentation/presentation.py:217
↓ 4 callersMethodvalidate
(self)
deeppresenter/deeppresenter/utils/config.py:274
↓ 3 callersFunction_load_todos
Load todos from CSV file.
deeppresenter/deeppresenter/tools/task.py:24
↓ 3 callersMethod_process_text
Process environment variables in config
deeppresenter/deeppresenter/utils/typings.py:51
↓ 3 callersMethodaction
Tool calling interface
deeppresenter/deeppresenter/agents/agent.py:157
↓ 3 callersMethodconvert_to_pdf
( self, html_files: list[str], output_pdf: Path, aspect_ratio: Literal["widesc
deeppresenter/deeppresenter/utils/webview.py:74
↓ 3 callersFunctioncreate_logger
Create a new logger
deeppresenter/deeppresenter/utils/log.py:38
↓ 3 callersMethodexecute
( self, tool_calls: list[ToolCall], limit_len: bool = False )
deeppresenter/deeppresenter/agents/agent.py:225
↓ 3 callersMethodfind_media
Find media by caption or path
pptagent/pptagent/document/document.py:80
↓ 3 callersMethodget_overview
Get document overview with sections and subsections
pptagent/pptagent/document/document.py:58
↓ 3 callersMethodinsert
Insert content item after the specified index position
pptagent/pptagent/document/document.py:200
↓ 3 callersFunctionis_image_path
Check if a file path is an image based on its extension. Args: file (str): The file path to check. Returns: bool: True
pptagent/pptagent/utils.py:115
↓ 3 callersMethoditer_medias
(self)
pptagent/pptagent/document/element.py:118
↓ 3 callersMethodlanguage_model
(self)
pptagent/test/conftest.py:44
↓ 3 callersMethodlist
(self, text: str, ordered: bool, **attrs: Any)
pptagent/pptagent/apis.py:33
↓ 3 callersFunctionppt_to_images_async
(file: str, output_dir: str)
pptagent/pptagent/utils.py:401
↓ 3 callersMethodsave_history
(self, dir: Path | None = None)
deeppresenter/deeppresenter/agents/agent.py:288
↓ 3 callersFunctionset_logger
Set a new logger for the current async context
deeppresenter/deeppresenter/utils/log.py:81
↓ 3 callersMethodshape_filter
Filter shapes in the slide by type. Args: shape_type (Type[ShapeElement]): The type of shapes to filter. sha
pptagent/pptagent/presentation/presentation.py:153
↓ 2 callersMethod__post_process__
Process the response based on return options. Args: response (str): The raw response from the model. message
pptagent/pptagent/llms.py:85
↓ 2 callersMethod__post_process__
Post-process the response from the agent.
pptagent/pptagent/agent.py:220
↓ 2 callersMethod_call
Execute chat or tool call using the specified client
deeppresenter/deeppresenter/utils/config.py:152
↓ 2 callersMethod_edit_slide
Asynchronously edit the slide.
pptagent/pptagent/pptgen.py:493
↓ 2 callersMethod_generate_commands
(self, editor_output: EditorOutput, layout: Layout)
pptagent/pptagent/pptgen.py:573
↓ 2 callersFunction_save_todos
Save todos to CSV file.
deeppresenter/deeppresenter/tools/task.py:36
↓ 2 callersMethodbuild_slide
Build a slide in the presentation.
pptagent/pptagent/presentation/presentation.py:369
↓ 2 callersMethodcontent_induct
Async version: Perform content schema extraction for the presentation.
pptagent/pptagent/induct.py:176
↓ 2 callersFunctiondeferLog
(level: string, message: string)
deeppresenter/docker/server.ts:63
↓ 2 callersFunctiondict_to_object
Apply dictionary values to an object. Args: dict_obj (Dict[str, Any]): The dictionary with values to apply. obj (Any): The o
pptagent/pptagent/utils.py:564
↓ 2 callersFunctioneval_coherence
(prs_source: str)
pptagent/pptagent/ppteval.py:86
↓ 2 callersFunctioneval_slide
(prs_source: str, slide_folder: str)
pptagent/pptagent/ppteval.py:55
↓ 2 callersMethodformat_message
Format messages for OpenAI server call. Args: content (str): The prompt content. images (str or list[str]):
pptagent/pptagent/llms.py:137
↓ 2 callersMethodget_apis_docs
Get the documentation for a list of API functions. Args: funcs (list[callable]): A list of functions to document.
pptagent/pptagent/apis.py:83
↓ 2 callersMethodget_caption
(self, vision_model: AsyncLLM)
pptagent/pptagent/document/element.py:63
↓ 2 callersMethodget_document_json
Load document JSON
pptagent/test/conftest.py:31
↓ 2 callersFunctionget_html_table_image
Convert a html table to the image Args: html (str): html text containing a table output_path (str): Output image path, defaults to '
pptagent/pptagent/utils.py:328
↓ 2 callersFunctionget_json_from_response
Extract JSON from a text response. Args: response (str): The response text. Returns: Dict|List: The extracted JSON.
deeppresenter/deeppresenter/utils/config.py:19
↓ 2 callersFunctionget_length_factor
(src_lan: Language, dst_lang: Language)
pptagent/pptagent/pptgen.py:39
↓ 2 callersMethodget_slide_induction
Load slide induction data
pptagent/test/conftest.py:25
↓ 2 callersMethodindex
Get the index position of a content item
pptagent/pptagent/document/document.py:186
↓ 2 callersMethoditer_medias
Iterate over all media items in the document
pptagent/pptagent/document/document.py:75
↓ 2 callersMethoditer_paragraphs
(self)
pptagent/pptagent/presentation/presentation.py:145
↓ 2 callersFunctionlanguage_id
(text: str)
pptagent/pptagent/model_utils.py:103
↓ 2 callersMethodlayout_induct
Async version: Perform layout induction for the presentation.
pptagent/pptagent/induct.py:154
↓ 2 callersFunctionlogging_openai_exceptions
Log OpenAI exceptions
deeppresenter/deeppresenter/utils/log.py:175
↓ 2 callersFunctionparsing_image
(image: Image, image_path: str)
pptagent/pptagent/utils.py:442
↓ 2 callersFunctionprepare_slides
(prs: Presentation)
pptagent/test/test_induct.py:14
↓ 2 callersFunctionprocess_element
(element, styles=None)
pptagent/pptagent/apis.py:263
↓ 2 callersMethodretrieve
(self, slide_idx: int, document: Document)
pptagent/pptagent/response/outline.py:40
↓ 2 callersMethodretry
Retry a failed turn with feedback and traceback.
pptagent/pptagent/agent.py:127
↓ 2 callersFunctionruns_merge
Merge all runs in a paragraph into a single run. Args: paragraph (_Paragraph): The paragraph to merge runs in. Returns:
pptagent/pptagent/utils.py:128
↓ 2 callersFunctionsearch_with_fallback
(**kwargs)
deeppresenter/deeppresenter/tools/tavily_search.py:13
↓ 2 callersMethodset_reference
Set the reference presentation and extracted presentation information. Args: presentation (Presentation): The presentati
pptagent/pptagent/pptgen.py:90
↓ 2 callersMethodset_rundir
Set the run directory and create necessary subdirectories. Args: rundir (str): The run directory.
pptagent/pptagent/utils.py:632
↓ 2 callersMethodto_style
Convert a font dictionary to a CSS style string. Args: font (Dict[str, Any]): The font dictionary. Returns:
pptagent/pptagent/presentation/shapes.py:291
↓ 2 callersMethodto_sync
Convert the AsyncLLM to a synchronous LLM.
pptagent/pptagent/llms.py:378
↓ 2 callersMethodtool_execute
( self, tool_call: ToolCall, limit_len: bool = False, )
deeppresenter/deeppresenter/agents/env.py:63
↓ 2 callersMethodvalidate
(self, editor_output: EditorOutput, allowed_images: list[str])
pptagent/pptagent/presentation/layout.py:77
↓ 1 callersMethod_add_functional_layouts
Add functional layouts to the outline.
pptagent/pptagent/pptgen.py:267
↓ 1 callersMethod_collect_history
Collect the history of code execution, API calls and agent steps. Returns: dict: The collected history data.
pptagent/pptagent/pptgen.py:344
↓ 1 callersFunction_download_and_extract
Download and extract result
deeppresenter/deeppresenter/utils/mineru_api.py:115
↓ 1 callersMethod_find_ranges
Find consecutive ranges in a list of numbers.
pptagent/pptagent/multimodal.py:132
↓ 1 callersMethod_generate_content
Asynchronously generate content for the slide.
pptagent/pptagent/pptgen.py:469
↓ 1 callersFunction_get_lid_model
()
pptagent/pptagent/model_utils.py:24
↓ 1 callersMethod_hide_small_pics
(self, area_ratio: float, keep_in_background: bool)
pptagent/pptagent/pptgen.py:320
↓ 1 callersMethod_hire_staffs
Initialize agent roles and their models
pptagent/pptagent/pptgen.py:364
↓ 1 callersMethod_parse_chunk
( cls, extractor: Agent, markdown_chunk: str, image_dir: str, language
pptagent/pptagent/document/document.py:90
↓ 1 callersFunction_poll_result
Poll parsing result, returns download URL
deeppresenter/deeppresenter/utils/mineru_api.py:85
↓ 1 callersMethod_process_escape
Process escape characters in args, url, env
deeppresenter/deeppresenter/utils/typings.py:35
next →1–100 of 421, ranked by callers