MCPcopy Create free account

hub / github.com/clockworknowledge/menome_processor / functions

Functions44 in github.com/clockworknowledge/menome_processor

↓ 4 callersMethodinitialize_environment_variables
()
config.py:57
↓ 2 callersFunctionextract_primary_image
(soup: BeautifulSoup)
app/routers/document.py:41
↓ 2 callersFunctionget_user_from_db
(username: str)
app/routers/processing.py:62
↓ 2 callersFunctionsetup_graph_db
(driver, index_name, node_label="Child", property_name="embedding")
app/routers/utils.py:153
↓ 1 callersFunctionauthenticate_user
(username: str, password: str)
app/routers/processing.py:50
↓ 1 callersFunctioncreate_access_token
(data: dict, expires_delta: timedelta = None)
app/routers/processing.py:39
↓ 1 callersFunctioncreate_celery_app
Create and configure a Celery app, ensuring that the broker is available.
worker/tasks.py:35
↓ 1 callersFunctionextract_full_text
(soup: BeautifulSoup)
app/routers/document.py:61
↓ 1 callersFunctionextract_publisher
(soup: BeautifulSoup, url: str)
app/routers/document.py:52
↓ 1 callersFunctionextract_thumbnail
(soup: BeautifulSoup)
app/routers/document.py:98
↓ 1 callersFunctionextract_title
(soup: BeautifulSoup, document_id: str)
app/routers/document.py:31
↓ 1 callersFunctionfetch_node_properties_by_uuid
(driver, uuids: list)
app/routers/utils.py:68
↓ 1 callersFunctiongenerate_questions
(self,llm, parent_documents, documentId, embeddings, driver)
worker/processing_functions.py:29
↓ 1 callersFunctiongenerate_summaries
(self,llm, parent_documents, documentId, embeddings, driver)
worker/processing_functions.py:94
↓ 1 callersFunctionget_task_info
(task_id: str)
worker/tasks.py:87
↓ 1 callersFunctionget_user_from_db
(username: str)
app/routers/utils.py:48
↓ 1 callersFunctionneo4j_datetime_to_python_datetime
(neo4j_dt_str: str)
app/routers/utils.py:43
↓ 1 callersFunctionneo4j_datetime_to_python_datetime
(neo4j_dt_str: str)
app/routers/processing.py:57
↓ 1 callersFunctionnormalize_whitespace
(text: str)
app/routers/document.py:75
↓ 1 callersFunctionpurge_celery_queue
()
worker/tasks.py:79
↓ 1 callersFunctionremove_html_tags
(text)
app/routers/document.py:85
↓ 1 callersFunctionremove_non_ascii
(text)
app/routers/document.py:88
↓ 1 callersFunctionverify_password
(plain_password, hashed_password)
app/routers/processing.py:35
Functionadd_chunk
(tx, parent_uuid, properties)
app/routers/utils.py:187
Functionadd_document
(tx, properties)
app/routers/utils.py:170
Functionadd_document
(request: DocumentRequest, current_user: User = Depends(get_current_user))
app/routers/document.py:114
Functionadd_page
(tx, doc_uuid, properties)
app/routers/utils.py:178
FunctionchatSourcesquestion
(question: str = Query(..., description="The question to be processed"), current_user: User = Depends(get_curr
app/routers/chat.py:116
Functionclean_text
(text: str)
app/routers/document.py:91
Functioncreate_document
(tx: Transaction)
app/routers/document.py:170
Functiondivide
(x, y)
worker/tasks.py:134
Functiondivide
(x: int, y: int)
app/routers/processing.py:176
Functionget_current_user
(token: str = Depends(oauth2_scheme))
app/routers/utils.py:21
Functionget_current_user
(token: str = Depends(oauth2_scheme))
app/routers/processing.py:85
Functionget_task_status
Return the status of the submitted Task
app/routers/processing.py:184
Functionindex_exists
Check if a given index exists in the Neo4j database.
app/routers/utils.py:140
Functionlogin_for_access_token
(form_data: OAuth2PasswordRequestForm = Depends())
app/routers/processing.py:160
Functionprocess_documents
( document_limit: int = Query(default=None, description="Limit on number of documents to process"), ge
app/routers/processing.py:112
Functionprocess_text_task
(self, textToProcess: str, documentId: str, generateQuestions: bool, generateSummaries: bool)
worker/tasks.py:142
Functionpurge_queue
Purge all tasks in the Celery queue. Only accessible to authenticated users.
app/routers/processing.py:193
Functionread_root
()
app/main.py:14
FunctionsetupSourceChunks
(tx)
app/routers/utils.py:197
Functionsummarize_text_with_openai
Generate a summary for the given text using OpenAI.
app/routers/utils.py:128
Functiontag_visible
(element)
app/routers/document.py:78