Spaces:
Runtime error
Runtime error
Commit History
-
updated the latestcontent of:
Roland Dingrevised the UI of the app to add dropdown for IFU added features for incorporating IFU data in prompting updated upload conditions as per latest search_term sheet. On branch main Changes to be committed: modified: __pycache__/supplier.cpython-310.pyc modified: __pycache__/utility.cpython-310.pyc modified: backend_update.ipynb modified: chains.py modified: features.py modified: ui_study.py498a219
-
use llm from chains.py as universal AI agent.
Roland Ding721214f
-
11.11.27.77
Roland Dingupdated as per request 2023-11-23 + added pre_view table heading and others extension + updated the assessment categories to lower cases. + added logic to the article revision. + extended the task generation into input_variables and chat_prompt generation functions. + added reformat_instruction function to the application.py due to generalized instruction format. On branch main Changes to be committed: modified: .data/instruction_agg_performance.json modified: application.py modified: backend_update.ipynb modified: chains.py modified: features.pyc769f48
-
11.11.27.77 major update
Roland Dingfeatures: + all features revised to align with the latest prompts and terms structure from aws cloud (search term v 14i) + added gen_task for post_process and execute_concurrent to declutter the code + optimized the async generation to generalize its functionality and remove the cluttering code. + removed gen_segment and uses async_generation for segment generation and post_process. + revised the term validation + removed unused functions like execute_prompts, run_gpt, f_replacement_term, f_summary_term, run_executor + revised the post_process to make it run async. external: + updated openai llm instance with retries and timeout to avoid the extensive wait and hitting rate limit issue. data: + added current and term in the session data to resolve the issue of consecutive prompts were called but not triggered by any terms. ui: + simplified the detailed siplay view to show only the aggregated result. On branch main Changes to be committed: modified: application.py modified: cha…8dfdf87 -
code optimizatio, remove unused function, ui object and added update for study page dropdon update after refresh.
Roland Dinge61d4b7
-
Major backend_update
Roland DingUI update: + Revised ui_studies to: - show all studies articles - added control for multiple files upload + Revised ui_study to: - update the article list in real time - realigned the layout to make it more compact Features: + added backend methods to upload multiple files + added post_process function to execute Futable commends + added retry_decorator for retrying failed openai inquiries + touchup for including futable results in extraction list for display + changed extraction collections to set + move the llm instance to global in chains.py + added root message for agent declaration before the first inquiry Cloud: + updated get table for handling pagination. Others: + touchup remove_symbols in utility.py for better filtering article content and characters. cleanup: + removed cloud_textract.py On branch main Changes to be committed: modified: chains.py modified: cloud_db.py deleted: cloud_textract.py modified: features.py modified: ui_studies…fdccd1a
-
7.8.19.49 incorporated the post process for Futable
Roland Dingadded post_process for Futable table. Changes to be committed: new file: .data/instruction_agg_performance.json modified: features.py01dc0c9
-
9.9.24.77 update the overview sequence
Roland DingOutputed overview result is not sorted and client like to have the result sorted by a certain way. This commit is to add a line of code to sort the result by section_sequence from the prompt. modified: features.py2ca7775 -
9.9.24.76 removed the table extraction feature.
Roland Dingmodified: features.py514aa06
-
9.9.24.74 updated the async function terminal
Roland DingAfter the updated of async functions, the original terminal_print function is not working for async functions. This commit is to add an aterminal_print as the async version of terminal_print to wrap around async functions.da2ce27 -
9.9.24.73 updated the add_article method
Roland DingWhile running the app from huggingface hosting, since the file has a different path naming convention, the filename was not properly extracted due to linux system has a different path annotation than windows. added filename extraction logic for selecting the filename from the path string for both windows and linux systems. modified: features.pybebb801
-
9.9.23.71 updated llm initialization with openai api key in gen_segments and execute_concurrent.
Roland Dingd5f1fce -
9.9.23.70 updated features.py to include openai api key for async get_segments.
Roland Dingb76f78a
-
9.9.23.68 revise and correction as per email
Roland DingAs per email from 2023-10-09, after review of the cross check results, the following changes were made to the algorithm: + chains.py updated term argument detection in the dictionary for the case of keyword abscence + features.py updated term validation from any to all + features.py excluded introduction from the key_content in the article for the term search. + features.py removed all return symbol before search for any key terms to ensure the terms were picked up properly. Next step: + features.py - add the ability to stream line the prompts for processing cascading and combination prompts. modified: chains.py modified: features.py0baa835
-
9.9.22.67 mass update of the application
Roland Ding+ Revised internally to apply usage of langchain and async call + Realigned the application to use the new terms and prompts from search term 13n + Added the new chains.py module to support the new langchain + revised the application.py to align with all the new backend data structure. modified: app.py modified: application.py new file: chains.py modified: features.py modified: requirements.txt modified: supplier.py modified: ui_studies.py modified: ui_study.py82b9d78
-
8.7,19,50
Roland Dingf7804d0
-
7.7.18.49 updated the application.py and features.py for including existing table extraction and remove anything from article after discussion session. updated the interface to allow unequal heights of components and added original tables in study page.
Roland Ding844a2ba
-
6.5.16.44 updated the ui and added backend loading.
Roland Dingf0716b5
-
5.4.15.43 minor update of report section title style and clean away unused variables in application.py
Roland Ding1d81bac -
5.4.15.42 combined chatgpt-turbo-16k and search term prompt identification feature. additionally aligned with the cloud data structure for seperation of fields and prompts, added ai formating instruction and simlified ui.
Roland Dingef80389
-
4.3.14.41 touchup on the code for output result debugging and create_details markdown table format syntax change.
Roland Ding5f0eb5f -
4.3.14.40 updated output['output'] format from list to dictionary.
Roland Dingb432de3
-
3.3.11.32 updated the ui_device and ui_study for better visual comprehension.
Roland Dinga0ffc30 -
2.3.11.32 updated features, completed process_study as the one stroke process for clinical report, completed create_overview, create_details for markdown ui content population, completed the select_prompts process to align with the prompt selection logic as per prior meetings (notion to be added in the spec at later day).
Roland Ding667bfca
-
2.2.8.23 multiple features for clinical study process.
Roland Dingbbf9412
-
1.2.4.13 added ui_study.py, features.py and revised app.py and application.py
Roland Ding476d5b6