MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Method__init__
(self, enabled: bool, options: OcrOptions)
docling/models/base_ocr_model.py:23
Method__init__
(self, options: GlmOptions)
docling/models/ds_glm_model.py:53
Method__init__
(self, enabled: bool, options: PictureDescriptionApiOptions)
docling/models/picture_description_api_model.py:48
Method__init__
( self, enabled: bool, artifacts_path: Optional[Path], options: EasyOcrOptions
docling/models/easyocr_model.py:29
Method__init__
( self, enabled: bool, options: PictureDescriptionBaseOptions, )
docling/models/picture_description_base_model.py:26
Method__init__
(self, options: PagePreprocessingOptions)
docling/models/page_preprocessing_model.py:19
Method__init__
Initializes the CodeFormulaModel with the given configuration. Parameters ---------- enabled : bool True
docling/models/code_formula_model.py:70
Method__init__
Initializes the DocumentPictureClassifier. Parameters ---------- enabled : bool Indicates whether the cl
docling/models/document_picture_classifier.py:62
Method__init__
(self, pipeline_options: PipelineOptions)
docling/pipeline/base_pipeline.py:117
Method__init__
(self, pipeline_options: PdfPipelineOptions)
docling/pipeline/standard_pdf_pipeline.py:57
Method__init__
(self, pipeline_options: PipelineOptions)
docling/pipeline/simple_pipeline.py:23
Method__init__
Initialize the LogoManager. Args: base_path: Base directory for logo storage
demo/Paper2Poster/utils/logo_utils.py:26
Method__init__
Initialize the LLM. Args: model (str): The model name. api_base (str): The base URL for the API.
demo/Paper2Poster/utils/src/llms.py:70
Method__init__
Initialize the Agent. Args: name (str): The name of the role. env (Environment): The Jinja2 environment.
demo/Paper2Poster/utils/src/llms.py:265
Method__init__
Initialize the CodeExecutor. Args: retry_times (int): The number of times to retry failed actions.
demo/Paper2Poster/utils/src/apis.py:40
Method__init__
Initialize the ImageLabler. Args: presentation (Presentation): The presentation object. config (Config): The
demo/Paper2Poster/utils/src/multimodal.py:16
Method__init__
(self, paragraph: _Paragraph, idx: int)
demo/Paper2Poster/utils/src/presentation.py:78
Method__init__
(self, shape: BaseShape, level: int)
demo/Paper2Poster/utils/src/presentation.py:109
Method__init__
( self, slide_idx: int, shape_idx: int, style: dict, data: dict,
demo/Paper2Poster/utils/src/presentation.py:185
Method__init__
( self, shapes: list[ShapeElement], slide_idx: int, real_idx: int, bac
demo/Paper2Poster/utils/src/presentation.py:965
Method__init__
Initialize the Presentation.
demo/Paper2Poster/utils/src/presentation.py:1169
Method__init__
(self, rundir=None, session_id=None, debug=True)
demo/Paper2Poster/utils/src/utils.py:316
Method__init__
Initialize the SlideInducter. Args: prs (Presentation): The presentation object. ppt_image_folder (str): The
demo/Paper2Poster/utils/src/induct.py:20
Method__init__
Initialize the PPTGen. Args: text_model (BGEM3FlagModel): The text model for generating content. retry_times
demo/Paper2Poster/utils/src/pptgen.py:33
Method__init__
(self, *args, **kwargs)
demo/Paper2Poster/utils/src/experiment/ablation.py:166
Method__init__
( self, task_type: TaskType = TaskType.AI_SOCIETY, sys_prompts: Optional[Dict[RoleType
demo/Paper2Poster/camel/generators.py:34
Method__init__
( self, assistant_role_names_path: str = "data/ai_society/assistant_roles.txt", user_r
demo/Paper2Poster/camel/generators.py:172
Method__init__
( self, num_tasks: int = 10, )
demo/Paper2Poster/camel/generators.py:218
Method__init__
( self, text_file_path: str, )
demo/Paper2Poster/camel/generators.py:292
Method__init__
( self, num_tasks: int = 50, )
demo/Paper2Poster/camel/generators.py:320
Method__init__
( self, name: str = "Kill Switch Engineer", logger_color: Any = Fore.MAGENTA, )
demo/Paper2Poster/camel/human.py:42
Method__init__
(self, include_usage: bool = True, **kwargs)
demo/Paper2Poster/camel/configs/deepseek_config.py:101
Method__init__
(self, include_usage: bool = True, **kwargs)
demo/Paper2Poster/camel/configs/qwen_config.py:83
Method__init__
r"""Initializes the: obj: `SentenceTransformerEmbedding` class with the specified transformer model. Args: model_name (st
demo/Paper2Poster/camel/embeddings/sentence_transformers_embeddings.py:31
Method__init__
( self, model_type: EmbeddingModelType = ( EmbeddingModelType.TEXT_EMBEDDING_3_SMA
demo/Paper2Poster/camel/embeddings/openai_embedding.py:47
Method__init__
r"""Initializes the: obj: `VisionLanguageEmbedding` class with a specified model and return the dimension of embeddings. Args:
demo/Paper2Poster/camel/embeddings/vlm_embedding.py:35
Method__init__
( self, model_type: str, api_key: Optional[str] = None, url: Optional[str] = N
demo/Paper2Poster/camel/embeddings/openai_compatible_embedding.py:41
Method__init__
( self, model_type: EmbeddingModelType = (EmbeddingModelType.MISTRAL_EMBED), api_key:
demo/Paper2Poster/camel/embeddings/mistral_embedding.py:45
Method__init__
( self, model_type: EmbeddingModelType = EmbeddingModelType.JINA_EMBEDDINGS_V3, api_ke
demo/Paper2Poster/camel/embeddings/jina_embedding.py:48
Method__init__
(self, value: Union["ModelType", str])
demo/Paper2Poster/camel/types/unified_model_type.py:43
Method__init__
r"""Constructor for the token counter for OpenAI models. Args: model (UnifiedModelType): Model type for which tokens will be
demo/Paper2Poster/camel/utils/token_counting.py:100
Method__init__
r"""Constructor for the token counter for Anthropic models. Args: model (str): The name of the Anthropic model being used.
demo/Paper2Poster/camel/utils/token_counting.py:238
Method__init__
r"""Constructor for the token counter for Gemini models. Args: model_type (UnifiedModelType): Model type for which tokens will be
demo/Paper2Poster/camel/utils/token_counting.py:276
Method__init__
r"""Constructor for the token counter for LiteLLM models. Args: model_type (UnifiedModelType): Model type for which tokens will b
demo/Paper2Poster/camel/utils/token_counting.py:314
Method__init__
r"""Constructor for the token counter for Mistral models. Args: model_type (ModelType): Model type for which tokens will be
demo/Paper2Poster/camel/utils/token_counting.py:367
Method__init__
( self, assistant_role_name: str, user_role_name: str, *, critic_role_
demo/Paper2Poster/camel/societies/role_playing.py:82
Method__init__
( self, assistant_role_name: str, user_role_name: str, task_prompt: str = "",
demo/Paper2Poster/camel/societies/babyagi_playing.py:67
Method__init__
( self, description: str, assistant_role_name: str, user_role_name: str,
demo/Paper2Poster/camel/societies/workforce/role_playing_worker.py:51
Method__init__
(self, description: str)
demo/Paper2Poster/camel/societies/workforce/base.py:28
Method__init__
( self, description: str, worker: ChatAgent, )
demo/Paper2Poster/camel/societies/workforce/single_agent_worker.py:38
Method__init__
( self, description: str, children: Optional[List[BaseNode]] = None, coordinat
demo/Paper2Poster/camel/societies/workforce/workforce.py:73
Method__init__
( self, description: str, )
demo/Paper2Poster/camel/societies/workforce/worker.py:39
Method__init__
( self, task: Task, publisher_id: str, assignee_id: Optional[str] = None,
demo/Paper2Poster/camel/societies/workforce/task_channel.py:59
Method__init__
(self)
demo/Paper2Poster/camel/societies/workforce/task_channel.py:81
Method__init__
(self)
demo/Paper2Poster/camel/toolkits/google_maps_toolkit.py:104
Method__init__
r"""Initialize the OpenBBToolkit. This method sets up the OpenBB client and initializes the OpenBB Hub account system.
demo/Paper2Poster/camel/toolkits/openbb_toolkit.py:40
Method__init__
r"""Initializes the MeshyToolkit with the API key from the environment.
demo/Paper2Poster/camel/toolkits/meshy_toolkit.py:41
Method__init__
r"""Initializes the NotionToolkit. Args: notion_token (Optional[str], optional): The optional notion_token used t
demo/Paper2Poster/camel/toolkits/notion_toolkit.py:79
Method__init__
( self, func: Callable, openai_tool_schema: Optional[Dict[str, Any]] = None, s
demo/Paper2Poster/camel/toolkits/function_tool.py:323
Method__init__
r"""Initializes a new instance of the RetrievalToolkit class.
demo/Paper2Poster/camel/toolkits/retrieval_toolkit.py:30
Method__init__
( self, download_directory: Optional[str] = None, cookies_path: Optional[str] = None,
demo/Paper2Poster/camel/toolkits/video_toolkit.py:84
Method__init__
r"""Initializes the WhatsAppToolkit with the specified number of retries and delay. Args: retries (int): Number of times
demo/Paper2Poster/camel/toolkits/whatsapp_toolkit.py:39
Method__init__
r"""Initializes a new instance of the GitHubToolkit class. Args: repo_name (str): The name of the GitHub repository.
demo/Paper2Poster/camel/toolkits/github_toolkit.py:41
Method__init__
r"""Initialize the DappierTookit with API clients.The API keys and credentials are retrieved from environment variables.
demo/Paper2Poster/camel/toolkits/dappier_toolkit.py:36
Method__init__
(self)
demo/Paper2Poster/camel/toolkits/human_toolkit.py:27
Method__init__
r"""Initializes the StripeToolkit with the specified number of retries. Args: retries (int,optional): Number of times to
demo/Paper2Poster/camel/toolkits/stripe_toolkit.py:44
Method__init__
r"""Initializes the GoogleScholarToolkit with the author's identifier. Args: author_identifier (str): The author's Google Scholar
demo/Paper2Poster/camel/toolkits/google_scholar_toolkit.py:35
Method__init__
r"""Initialize the AskNewsToolkit with API clients.The API keys and credentials are retrieved from environment variables.
demo/Paper2Poster/camel/toolkits/ask_news_toolkit.py:65
Method__init__
r"""Initialize the AsyncAskNewsToolkit with API clients.The API keys and credentials are retrieved from environment variables.
demo/Paper2Poster/camel/toolkits/ask_news_toolkit.py:358
Method__init__
( self, sandbox: Literal[ "internal_python", "jupyter", "docker", "subprocess", "e
demo/Paper2Poster/camel/toolkits/code_execution.py:42
Method__init__
(self)
demo/Paper2Poster/camel/toolkits/linkedin_toolkit.py:36
Method__init__
r"""Initializes the ArxivToolkit and sets up the arXiv client.
demo/Paper2Poster/camel/toolkits/arxiv_toolkit.py:31
Method__init__
r"""Initializes the RedditToolkit with the specified number of retries and delay. Args: retries (int): Number of times to
demo/Paper2Poster/camel/toolkits/reddit_toolkit.py:38
Method__init__
( self, require_confirm: bool = True, )
demo/Paper2Poster/camel/interpreters/e2b_interpreter.py:51
Method__init__
( self, require_confirm: bool = True, print_stdout: bool = False, print_stderr
demo/Paper2Poster/camel/interpreters/subprocess_interpreter.py:68
Method__init__
( self, require_confirm: bool = True, print_stdout: bool = False, print_stderr
demo/Paper2Poster/camel/interpreters/ipython_interpreter.py:40
Method__init__
( self, require_confirm: bool = True, print_stdout: bool = False, print_stderr
demo/Paper2Poster/camel/interpreters/docker_interpreter.py:72
Method__init__
( self, action_space: Optional[Dict[str, Any]] = None, import_white_list: Optional[Lis
demo/Paper2Poster/camel/interpreters/internal_python_interpreter.py:84
Method__init__
r"""Initializes the BM25Retriever.
demo/Paper2Poster/camel/retrievers/bm25_retriever.py:45
Method__init__
( self, url_and_api_key: Optional[Tuple[str, str]] = None, vector_storage_local_path:
demo/Paper2Poster/camel/retrievers/auto_retriever.py:55
Method__init__
(self)
demo/Paper2Poster/camel/retrievers/base.py:67
Method__init__
r"""Initializes the retriever class with an optional embedding model. Args: embedding_model (Optional[BaseEmbedding]): The embedd
demo/Paper2Poster/camel/retrievers/vector_retriever.py:50
Method__init__
r"""Initializes an instance of the CohereRerankRetriever. This constructor sets up a client for interacting with the Cohere API using
demo/Paper2Poster/camel/retrievers/cohere_rerank_retriever.py:37
Method__init__
(self, *args, **kwargs)
demo/Paper2Poster/camel/terminators/base.py:23
Method__init__
( self, words_dict: Dict[str, int], case_sensitive: bool = False, mode: Termin
demo/Paper2Poster/camel/terminators/response_terminator.py:37
Method__init__
(self, token_limit: int)
demo/Paper2Poster/camel/terminators/token_limit_terminator.py:26
Method__init__
r"""Initializes the NebulaGraph client. Args: host (str): The host address of the NebulaGraph service. username (str)
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:45
Method__init__
r"""Create a new Neo4j graph instance.
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:87
Method__init__
( self, vector_dim: int, collection_name: Optional[str] = None, url_and_api_ke
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:71
Method__init__
Pass in query_vector and tok_k as positional arg. Args: query_vector (List[float]): The numerical representation of the
demo/Paper2Poster/camel/storages/vectordb_storages/base.py:55
Method__init__
( self, vector_dim: int, url_and_api_key: Tuple[str, str], collection_name: Op
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:57
Method__init__
( self, storage_account_name: str, container_name: str, create_if_not_exists:
demo/Paper2Poster/camel/storages/object_storages/azure_blob.py:37
Method__init__
( self, bucket_name: str, create_if_not_exists: bool = True, anonymous: bool =
demo/Paper2Poster/camel/storages/object_storages/google_cloud.py:43
Method__init__
( self, bucket_name: str, create_if_not_exists: bool = True, access_key_id: Op
demo/Paper2Poster/camel/storages/object_storages/amazon_s3.py:49
Method__init__
r"""Initializes the RedisStorage instance with the provided URL and options. Args: sid (str): The ID for the storage inst
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:34
Method__init__
(self)
demo/Paper2Poster/camel/storages/key_value_storages/in_memory.py:27
Method__init__
(self, path: Optional[Path] = None)
demo/Paper2Poster/camel/storages/key_value_storages/json.py:58
Method__init__
( self, context_creator: BaseContextCreator, storage: Optional[BaseKeyValueStorage] =
demo/Paper2Poster/camel/memories/agent_memories.py:37
Method__init__
( self, context_creator: BaseContextCreator, storage: Optional[BaseVectorStorage] = No
demo/Paper2Poster/camel/memories/agent_memories.py:78
Method__init__
( self, context_creator: BaseContextCreator, chat_history_block: Optional[ChatHistoryB
demo/Paper2Poster/camel/memories/agent_memories.py:123
← previousnext →2,401–2,500 of 4,860, ranked by callers