updated the backend_update.ipynb to include the new functions
Roland Ding
2463a2d
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
update execute_concurrent with recursion for traverse along the prompt
chain.
On branch main
modified: chains.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
Merge branch 'main' of github.com:amra-ai/amra-studies
Roland Ding
35d7472
9.9.23.69 try to fix huggingface openai api key by changing application.py os.envron.get to os.getenv.
Roland Ding
451cda9
provided the api key to the chatmodel in chains.py
modified: application.py
modified: chains.py
9.9.23.69 try to fix huggingface openai api key by changing application.py os.envron.get to os.getenv.
Roland Ding
6063c09
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
quick fix for a line of unused code giving error.
Roland Ding
ce1b1cd
modified: application.py
stash before merge
Roland Ding
0f376ee
amendment commit
Roland Ding
f164910
updated backend_update.ipynb for the new version of the backend upload
modified: .gitignore
modified: backend_update.ipynb
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.8.21.66 file exclusion
Roland Ding
3afa0c1
Updated the .gitignore to exclude the following folders and files:
+ .vscode
+ dump.ipynb
+ sandbox.ipynb
+ all pickle files.
8.8.21.65 created a new function to handle openai api request failure. revised the the formatting for the function layouts. added terminal print for the create_inst function.
Roland Ding
074b995
8.8.21.64 cleaned up application.py data structure, abstract_inst and revised app_data setup to remove path tables and add summary table.
Roland Ding
6399f10
8.8.21.63 a quick fix for readme.md iframe src.
Roland Ding
6cbb311
8.8.21.62 updated the readme.md for better instruction and how to run and use the app.
Roland Ding
20fed70
8.8.21.61 added data structure transformation function list_dict_to_dict.
Roland Ding
8971ada
8.8.21.60 miscellaneous update, cleanuped unused functions and variables and fixed up create_md_table function for output.
Roland Ding
f371ce7
8.8.21.59 excluded terminal display for all data transformation functions.
Roland Ding
88749e4
8.8.21.57 updated cloud_textract.py to replace default_s3_bucket instead of the manual string. Also added default_region as well as new app_data structure.
Roland Ding
362c1df
8.8.21.56 added paths in the cloud and created procedures in backend_update.ipynb to populate the initial paths table along with revised terms table.
Roland Ding
a5f3cfb
8.7.21.55 added cloud_textract.py for interacting with aws textract and get tables.
Roland Ding
8c7f02d
8.7.20.54 added terminal print out function as a decorator to wrap up function and provide a terminal view for the code it executed.
Roland Ding
3337920
8.7.19.53 try it one more time.
Roland Ding
907338e
8.7.19.52 a quick test for merged cell in markdown table
Roland Ding
6a88932
mend
Roland Ding
c3f9778
8.7.19.51 updated the anatomic_domains in application.py. excluded dental and removed extremities biomechanical.
Roland Ding
c4a2f1e
Merge branch 'main' of https://huggingface.co/spaces/amra-ai-info/main
Roland Ding
8447108
8.7,19,50
Roland Ding
3bbaa1f
1.0.2.5 updated utility.py to align in file documentation and introduce the remove citation function from the studies repo.
7.7.19.50 updated the utility.py to include the removal of citation notion during the process of read_pdf. And standardized the functions annotation format.
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
7.6.17.48 revert the supplier ai model back to gpt3 and clean up in .gitignore and app.py and the directory to remove irrelevant content and files.
Roland Ding
ec7fc57
updated new ai model.
Roland Ding
b119872
quick ammend
Roland Ding
0cd8cab
7.6.17.47 changed send_inst in supplier with default gpt-4.
Roland Ding
5757b52
7.6.17.46 added token count method in supplier.py
Roland Ding
713f188
7.6.17.45 updated the studies for displaying cloud studies.