10.9.26.75 updated ui, data, features, and backend
Roland Ding
004db8a
ui
+ added new page for summary generation and allows user to select specific
articles from the database for summary generation
+ updated app.py to include new page
data
+ created four local dataset for testing summary generation prompts
features
+ pulled features, application, cloud_db, chains from main branch (studies demo)
+ added generate summary prompt function to features.py
+ created hand_chains.py for manually creating summary prompt chains
(may be removed later)
+ removed cloud_textract since it was no longer used
+
env settings
+ updated requirements.txt to exclude unused packages
+ updated the backend_update.ipynb for the latest procedure plus all the
new function/class creation and experimentation.
On branch summary
Changes to be committed:
new file: .data/chain.json
new file: .data/instruction_agg_performance.json
new file: .data/overview_chains.json
new file: .data/summary_prompts.json
modified: README.md
modified: app.py
modified: application.py
…
10.9.25.74 quick fix of features_beta import error
Roland Ding
15be848
modified: features.py
modified: ui_summary.py
10.9.25.73 updated the summary UI as per document
Roland Ding
4b4f1f6
As per document: Website layout-Summary Section.pptx
design and updated the summary UI with the following changes:
On branch summary
Changes to be committed:
new file: .data/defaults.json
modified: .gitignore
modified: app.py
modified: application.py
modified: features.py
modified: ui_summary.py
modified: utility.py
9.9.23.71 updated llm initialization with openai api key in gen_segments and execute_concurrent.
Roland Ding
5c94939
9.9.23.70 updated features.py to include openai api key for async get_segments.
Roland Ding
91ee25d
9.9.23.68 revise and correction as per email
Roland Ding
364c11a
As 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.py
9.9.22.67 mass update of the application
Roland Ding
bb32635
+ 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.py
8.7,19,50
Roland Ding
3bbaa1f
0.0.1.2 added ui_summary.py and inherited features.py from device ui for continuing improvement.
Roland Ding
b5e8707
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 Ding
0f8c356
6.5.16.44 updated the ui and added backend loading.
Roland Ding
858a4f7
5.4.15.43 minor update of report section title style and clean away unused variables in application.py
Roland Ding
ca2e8a8
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 Ding
1f8db9c
4.3.14.41 touchup on the code for output result debugging and create_details markdown table format syntax change.
Roland Ding
ee5e31d
4.3.14.40 updated output['output'] format from list to dictionary.
Roland Ding
0ec9ace
3.3.11.32 updated the ui_device and ui_study for better visual comprehension.
Roland Ding
aaede2c
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 Ding
b900916
2.2.8.23 multiple features for clinical study process.
Roland Ding
5de280e
1.2.4.13 added ui_study.py, features.py and revised app.py and application.py