From a5728ce7837c5679260bfaa74eae330326a73de3 Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:35:10 +0000 Subject: [PATCH 1/7] keys 2 --- .../site-packages/style-1.1.0.dist-info/DESCRIPTION.rst | 0 .../lib/python3.10/site-packages/style-1.1.0.dist-info/INSTALLER | 0 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/METADATA | 0 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/RECORD | 0 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/WHEEL | 0 .../python3.10/site-packages/style-1.1.0.dist-info/metadata.json | 0 .../python3.10/site-packages/style-1.1.0.dist-info/top_level.txt | 0 .venv/lib/python3.10/site-packages/style/__init__.py | 0 .venv/lib/python3.10/site-packages/style/ansi.py | 0 .venv/lib/python3.10/site-packages/style/styled_string.py | 0 .venv/lib/python3.10/site-packages/style/styled_string_builder.py | 0 .venv/lib/python3.10/site-packages/tests/__init__.py | 0 .venv/lib/python3.10/site-packages/tests/test_style.py | 0 .../site-packages/update-0.0.1.dist-info/DESCRIPTION.rst | 0 .../lib/python3.10/site-packages/update-0.0.1.dist-info/INSTALLER | 0 .../lib/python3.10/site-packages/update-0.0.1.dist-info/METADATA | 0 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/RECORD | 0 .../lib/python3.10/site-packages/update-0.0.1.dist-info/REQUESTED | 0 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/WHEEL | 0 .../python3.10/site-packages/update-0.0.1.dist-info/metadata.json | 0 .../python3.10/site-packages/update-0.0.1.dist-info/top_level.txt | 0 .venv/lib/python3.10/site-packages/update/__init__.py | 0 .venv/lib/python3.10/site-packages/update/check.py | 0 23 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/DESCRIPTION.rst create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/INSTALLER create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/METADATA create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/RECORD create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/WHEEL create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/metadata.json create mode 100644 .venv/lib/python3.10/site-packages/style-1.1.0.dist-info/top_level.txt create mode 100644 .venv/lib/python3.10/site-packages/style/__init__.py create mode 100644 .venv/lib/python3.10/site-packages/style/ansi.py create mode 100644 .venv/lib/python3.10/site-packages/style/styled_string.py create mode 100644 .venv/lib/python3.10/site-packages/style/styled_string_builder.py create mode 100644 .venv/lib/python3.10/site-packages/tests/__init__.py create mode 100644 .venv/lib/python3.10/site-packages/tests/test_style.py create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/DESCRIPTION.rst create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/INSTALLER create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/METADATA create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/RECORD create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/REQUESTED create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/WHEEL create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/metadata.json create mode 100644 .venv/lib/python3.10/site-packages/update-0.0.1.dist-info/top_level.txt create mode 100644 .venv/lib/python3.10/site-packages/update/__init__.py create mode 100644 .venv/lib/python3.10/site-packages/update/check.py diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/DESCRIPTION.rst b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/DESCRIPTION.rst new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/INSTALLER b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/INSTALLER new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/METADATA b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/METADATA new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/RECORD b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/RECORD new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/WHEEL b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/WHEEL new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/metadata.json b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/metadata.json new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/top_level.txt b/.venv/lib/python3.10/site-packages/style-1.1.0.dist-info/top_level.txt new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style/__init__.py b/.venv/lib/python3.10/site-packages/style/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style/ansi.py b/.venv/lib/python3.10/site-packages/style/ansi.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style/styled_string.py b/.venv/lib/python3.10/site-packages/style/styled_string.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/style/styled_string_builder.py b/.venv/lib/python3.10/site-packages/style/styled_string_builder.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/tests/__init__.py b/.venv/lib/python3.10/site-packages/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/tests/test_style.py b/.venv/lib/python3.10/site-packages/tests/test_style.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/DESCRIPTION.rst b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/DESCRIPTION.rst new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/INSTALLER b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/INSTALLER new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/METADATA b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/METADATA new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/RECORD b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/RECORD new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/REQUESTED b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/REQUESTED new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/WHEEL b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/WHEEL new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/metadata.json b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/metadata.json new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/top_level.txt b/.venv/lib/python3.10/site-packages/update-0.0.1.dist-info/top_level.txt new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update/__init__.py b/.venv/lib/python3.10/site-packages/update/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/.venv/lib/python3.10/site-packages/update/check.py b/.venv/lib/python3.10/site-packages/update/check.py new file mode 100644 index 00000000..e69de29b From 7cff2634576f49572f16c947b209b311a4bd947e Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:26:59 -0400 Subject: [PATCH 2/7] Update app.py Type "password" -> "" --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b6fe7ee3..cdc3cba1 100644 --- a/app.py +++ b/app.py @@ -2,7 +2,7 @@ import streamlit as st with st.sidebar: - openai_api_key = st.text_input("OpenAI API Key", key="chatbot_api_key", type="password") + openai_api_key = st.text_input("OpenAI API Key", key="chatbot_api_key", type="") "[Get an OpenAI API key](https://platform.openai.com/account/api-keys)" "[View the source code](https://github.com/streamlit/llm-examples/blob/main/Chatbot.py)" "[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/streamlit/llm-examples?quickstart=1)" From 9d9118dea0dbfe5b7c37942b4ab2f26ba9a86658 Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:34:38 -0400 Subject: [PATCH 3/7] Update app_test.py --- app_test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app_test.py b/app_test.py index b178b79d..150b7917 100644 --- a/app_test.py +++ b/app_test.py @@ -55,6 +55,5 @@ def test_Langchain_Quickstart(langchain_llm): at.text_input(key="chatbot_api_key").set_value(api_key) print(at) assert at.info[0].value == RESPONSE - # at.sidebar.text_input[0].set_value("sk-...") # at.button[0].set_value(True).run() From 18a712e15b05c058c173f40c5cbb976a89b2b231 Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:31:01 -0400 Subject: [PATCH 4/7] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fe48d9db..c2371a8f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ streamlit>=1.28 langchain>=0.0.217 openai>=1.2 -duckduckgo-search>=0.0.1 +duckduckgo-search anthropic>=0.3.0 trubrics>=1.4.3 From 2c10043082e4b321bf26ca9265e801b688320cc5 Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:32:01 -0400 Subject: [PATCH 5/7] Update requirements-dev.txt --- requirements-dev.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 3e72e266..78917a78 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,16 +1,9 @@ -os streamlit>=1.28 langchain>=0.0.217 openai>=1.2 duckduckgo-search anthropic>=0.3.0 trubrics>=1.4.3 -streamlit-feedback -langchain.llms.OpenAI -langchain.prompts.PromptTemplate -langchain.chains.LLMChain -langchain.memory.ConversationBufferMemory -langchain.utilities.WikipediaAPIWrapper black==23.3.0 mypy==1.4.1 pre-commit==3.3.3 From 49939fdb1338192a1029865826a3461cf2363370 Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:34:59 -0400 Subject: [PATCH 6/7] Update requirements-dev.txt --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 78917a78..0f6bd55e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ +-r requirements.txt streamlit>=1.28 langchain>=0.0.217 openai>=1.2 From cf156589b79d569c833dc4fd8300b3f9de4c82cd Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sun, 28 Apr 2024 21:04:51 -0400 Subject: [PATCH 7/7] Create .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..df9a9c13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +[flake8] +exclude = .venv