Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworknowledge/menome_processor
/ functions
Functions
44 in github.com/clockworknowledge/menome_processor
⨍
Functions
44
◇
Types & classes
12
↳
Endpoints
8
↓ 4 callers
Method
initialize_environment_variables
()
config.py:57
↓ 2 callers
Function
extract_primary_image
(soup: BeautifulSoup)
app/routers/document.py:41
↓ 2 callers
Function
get_user_from_db
(username: str)
app/routers/processing.py:62
↓ 2 callers
Function
setup_graph_db
(driver, index_name, node_label="Child", property_name="embedding")
app/routers/utils.py:153
↓ 1 callers
Function
authenticate_user
(username: str, password: str)
app/routers/processing.py:50
↓ 1 callers
Function
create_access_token
(data: dict, expires_delta: timedelta = None)
app/routers/processing.py:39
↓ 1 callers
Function
create_celery_app
Create and configure a Celery app, ensuring that the broker is available.
worker/tasks.py:35
↓ 1 callers
Function
extract_full_text
(soup: BeautifulSoup)
app/routers/document.py:61
↓ 1 callers
Function
extract_publisher
(soup: BeautifulSoup, url: str)
app/routers/document.py:52
↓ 1 callers
Function
extract_thumbnail
(soup: BeautifulSoup)
app/routers/document.py:98
↓ 1 callers
Function
extract_title
(soup: BeautifulSoup, document_id: str)
app/routers/document.py:31
↓ 1 callers
Function
fetch_node_properties_by_uuid
(driver, uuids: list)
app/routers/utils.py:68
↓ 1 callers
Function
generate_questions
(self,llm, parent_documents, documentId, embeddings, driver)
worker/processing_functions.py:29
↓ 1 callers
Function
generate_summaries
(self,llm, parent_documents, documentId, embeddings, driver)
worker/processing_functions.py:94
↓ 1 callers
Function
get_task_info
(task_id: str)
worker/tasks.py:87
↓ 1 callers
Function
get_user_from_db
(username: str)
app/routers/utils.py:48
↓ 1 callers
Function
neo4j_datetime_to_python_datetime
(neo4j_dt_str: str)
app/routers/utils.py:43
↓ 1 callers
Function
neo4j_datetime_to_python_datetime
(neo4j_dt_str: str)
app/routers/processing.py:57
↓ 1 callers
Function
normalize_whitespace
(text: str)
app/routers/document.py:75
↓ 1 callers
Function
purge_celery_queue
()
worker/tasks.py:79
↓ 1 callers
Function
remove_html_tags
(text)
app/routers/document.py:85
↓ 1 callers
Function
remove_non_ascii
(text)
app/routers/document.py:88
↓ 1 callers
Function
verify_password
(plain_password, hashed_password)
app/routers/processing.py:35
Function
add_chunk
(tx, parent_uuid, properties)
app/routers/utils.py:187
Function
add_document
(tx, properties)
app/routers/utils.py:170
Function
add_document
(request: DocumentRequest, current_user: User = Depends(get_current_user))
app/routers/document.py:114
Function
add_page
(tx, doc_uuid, properties)
app/routers/utils.py:178
Function
chatSourcesquestion
(question: str = Query(..., description="The question to be processed"), current_user: User = Depends(get_curr
app/routers/chat.py:116
Function
clean_text
(text: str)
app/routers/document.py:91
Function
create_document
(tx: Transaction)
app/routers/document.py:170
Function
divide
(x, y)
worker/tasks.py:134
Function
divide
(x: int, y: int)
app/routers/processing.py:176
Function
get_current_user
(token: str = Depends(oauth2_scheme))
app/routers/utils.py:21
Function
get_current_user
(token: str = Depends(oauth2_scheme))
app/routers/processing.py:85
Function
get_task_status
Return the status of the submitted Task
app/routers/processing.py:184
Function
index_exists
Check if a given index exists in the Neo4j database.
app/routers/utils.py:140
Function
login_for_access_token
(form_data: OAuth2PasswordRequestForm = Depends())
app/routers/processing.py:160
Function
process_documents
( document_limit: int = Query(default=None, description="Limit on number of documents to process"), ge
app/routers/processing.py:112
Function
process_text_task
(self, textToProcess: str, documentId: str, generateQuestions: bool, generateSummaries: bool)
worker/tasks.py:142
Function
purge_queue
Purge all tasks in the Celery queue. Only accessible to authenticated users.
app/routers/processing.py:193
Function
read_root
()
app/main.py:14
Function
setupSourceChunks
(tx)
app/routers/utils.py:197
Function
summarize_text_with_openai
Generate a summary for the given text using OpenAI.
app/routers/utils.py:128
Function
tag_visible
(element)
app/routers/document.py:78