Update app.py
Browse files
app.py
CHANGED
@@ -542,7 +542,7 @@ def search_glossary(query): # 🔍Run------------------------------------------
|
|
542 |
client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
|
543 |
response1 = client.predict(
|
544 |
query,
|
545 |
-
|
546 |
"Semantic Search - up to 10 Mar 2024", # Literal['Semantic Search - up to 10 Mar 2024', 'Arxiv Search - Latest - (EXPERIMENTAL)'] in 'Search Source' Dropdown component
|
547 |
"mistralai/Mixtral-8x7B-Instruct-v0.1", # Literal['mistralai/Mixtral-8x7B-Instruct-v0.1', 'mistralai/Mistral-7B-Instruct-v0.2', 'google/gemma-7b-it', 'None'] in 'LLM Model' Dropdown component
|
548 |
api_name="/update_with_rag_md"
|
@@ -552,19 +552,19 @@ def search_glossary(query): # 🔍Run------------------------------------------
|
|
552 |
# experimental 45 - - - - - - - - - - - - -<><><><><>
|
553 |
|
554 |
# 🔍Run PaperSummarizer
|
555 |
-
PaperSummarizer = ' Create a paper summary as a markdown table with paper links clustering the features writing short markdown emoji outlines to extract three main ideas from
|
556 |
# = str(result).replace('\n', ' ').replace('|', ' ')
|
557 |
response2 = chat_with_model45(PaperSummarizer + str(response1))
|
558 |
st.write('🔍Run 3 - Paper Summarizer is Complete.')
|
559 |
|
560 |
# 🔍Run AppSpecifier
|
561 |
-
AppSpecifier = ' Design and write a streamlit python code listing and specification that implements each scientific method steps as
|
562 |
#result = str(result).replace('\n', ' ').replace('|', ' ')
|
563 |
response3 = chat_with_model45(AppSpecifier + str(response2))
|
564 |
st.write('🔍Run 4 - AppSpecifier is Complete.')
|
565 |
|
566 |
# 🔍Run PythonAppCoder
|
567 |
-
PythonAppCoder = ' Create a streamlit python app implementing the following list of features using appropriate libraries and function design using streamlit. Show full code listing as output with no commentary. '
|
568 |
#result = str(result).replace('\n', ' ').replace('|', ' ')
|
569 |
response4 = chat_with_model45(PythonAppCoder + str(response3))
|
570 |
st.write('🔍Run Python AppCoder is Complete.')
|
|
|
542 |
client = Client("awacke1/Arxiv-Paper-Search-And-QA-RAG-Pattern")
|
543 |
response1 = client.predict(
|
544 |
query,
|
545 |
+
10,
|
546 |
"Semantic Search - up to 10 Mar 2024", # Literal['Semantic Search - up to 10 Mar 2024', 'Arxiv Search - Latest - (EXPERIMENTAL)'] in 'Search Source' Dropdown component
|
547 |
"mistralai/Mixtral-8x7B-Instruct-v0.1", # Literal['mistralai/Mixtral-8x7B-Instruct-v0.1', 'mistralai/Mistral-7B-Instruct-v0.2', 'google/gemma-7b-it', 'None'] in 'LLM Model' Dropdown component
|
548 |
api_name="/update_with_rag_md"
|
|
|
552 |
# experimental 45 - - - - - - - - - - - - -<><><><><>
|
553 |
|
554 |
# 🔍Run PaperSummarizer
|
555 |
+
PaperSummarizer = ' Create a paper summary as a markdown table with paper links clustering the features writing short markdown emoji outlines to extract three main ideas from each of the ten summaries. For each one create three simple points led by an emoji of the main three steps needed as method step process for implementing the idea as a single app.py streamlit python app. '
|
556 |
# = str(result).replace('\n', ' ').replace('|', ' ')
|
557 |
response2 = chat_with_model45(PaperSummarizer + str(response1))
|
558 |
st.write('🔍Run 3 - Paper Summarizer is Complete.')
|
559 |
|
560 |
# 🔍Run AppSpecifier
|
561 |
+
AppSpecifier = ' Design and write a streamlit python code listing and specification that implements each scientific method steps as ten functions keeping specification in a markdown table in the function comments with original paper link to outline the AI pipeline ensemble implementing code as full plan to build.'
|
562 |
#result = str(result).replace('\n', ' ').replace('|', ' ')
|
563 |
response3 = chat_with_model45(AppSpecifier + str(response2))
|
564 |
st.write('🔍Run 4 - AppSpecifier is Complete.')
|
565 |
|
566 |
# 🔍Run PythonAppCoder
|
567 |
+
PythonAppCoder = ' Create a streamlit python app implementing the following list of features using appropriate libraries and function design using streamlit. Show full code listing for the ten function app as output with no commentary. '
|
568 |
#result = str(result).replace('\n', ' ').replace('|', ' ')
|
569 |
response4 = chat_with_model45(PythonAppCoder + str(response3))
|
570 |
st.write('🔍Run Python AppCoder is Complete.')
|