dsmueller commited on
Commit
1ef1493
1 Parent(s): 48a66db

Update dependencies and remove unused code

Browse files
Files changed (4) hide show
  1. Start.py +1 -5
  2. app.py +0 -28
  3. poetry.lock +0 -0
  4. pyproject.toml +20 -9
Start.py CHANGED
@@ -20,8 +20,4 @@ This chatbot will look up from all Aerospace Mechanism Symposia in the following
20
  * Model parameters: https://platform.openai.com/docs/api-reference/chat/create
21
  * Pinecone: https://docs.pinecone.io/docs/projects#api-keys
22
  * OpenAI API: https://platform.openai.com/api-keys
23
- '''
24
-
25
- # # Establish secrets
26
- # PINECONE_ENVIRONMENT=os.getenv('PINECONE_ENVIRONMENT')
27
- # PINECONE_API_KEY=os.getenv('PINECONE_API_KEY')
 
20
  * Model parameters: https://platform.openai.com/docs/api-reference/chat/create
21
  * Pinecone: https://docs.pinecone.io/docs/projects#api-keys
22
  * OpenAI API: https://platform.openai.com/api-keys
23
+ '''
 
 
 
 
app.py DELETED
@@ -1,28 +0,0 @@
1
- import streamlit as st
2
- import os
3
-
4
- # Set up page
5
- st.set_page_config(
6
- page_title="Aerospace Chatbot: AMS",
7
- )
8
- st.title("Aerospace Chatbot Homepage")
9
- st.markdown("Code base: https://github.com/dsmueller3760/aerospace_chatbot")
10
- st.markdown('---')
11
- st.title("Chatbots")
12
- st.markdown("""
13
- Chatbots for aerospace mechanisms symposia, using all available papers published since 2000
14
- * Aerospace Mechanisms Chatbot, Langchain: Uses langchain QA retrieval https://databutton.com/v/71z0llw3/Aerospace_Mechanisms_Chat_Bot_Langchain
15
- * Aerospace Mechanisms Chatbot, Canopy: Uses pinecone's canopy tool https://databutton.com/v/71z0llw3/Aerospace_Mechanisms_Chat_Bot_Canopy
16
- """)
17
- st.subheader("AMS")
18
- '''
19
- This chatbot will look up from all Aerospace Mechanism Symposia in the following location: https://github.com/dsmueller3760/aerospace_chatbot/tree/main/data/AMS
20
- * Available models: https://platform.openai.com/docs/models
21
- * Model parameters: https://platform.openai.com/docs/api-reference/chat/create
22
- * Pinecone: https://docs.pinecone.io/docs/projects#api-keys
23
- * OpenAI API: https://platform.openai.com/api-keys
24
- '''
25
-
26
- # # Establish secrets
27
- # PINECONE_ENVIRONMENT=os.getenv('PINECONE_ENVIRONMENT')
28
- # PINECONE_API_KEY=os.getenv('PINECONE_API_KEY')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
poetry.lock CHANGED
The diff for this file is too large to render. See raw diff
 
pyproject.toml CHANGED
@@ -1,21 +1,32 @@
1
  [tool.poetry]
2
- name = "chatbot-ams-langchain"
3
  version = "0.1.0"
4
  description = ""
5
- authors = ["Dan Mueller <[email protected]>"]
6
  readme = "README.md"
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.11"
10
- langchain = "^0.0.348"
11
- streamlit = "^1.29.0"
12
  python-dotenv = "^1.0.0"
13
- tqdm = "^4.66.1"
14
- ipykernel = "^6.27.1"
15
  langchainhub = "^0.1.14"
16
- canopy-sdk = "0.1.3"
17
- canopy = "^8.42"
18
- openai = "0.27.5"
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  [build-system]
 
1
  [tool.poetry]
2
+ name = "aerospace-chatbot"
3
  version = "0.1.0"
4
  description = ""
5
+ authors = ["dsmueller <[email protected]>"]
6
  readme = "README.md"
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.11"
 
 
10
  python-dotenv = "^1.0.0"
11
+ ipykernel = "^6.28.0"
12
+ ipywidgets = "^8.1.1"
13
  langchainhub = "^0.1.14"
14
+ pinecone-client = "^2.2.4"
15
+ tiktoken = "^0.5.2"
16
+ watchdog = "^3.0.0"
17
+ chromadb = "^0.4.22"
18
+ jsonlines = "^4.0.0"
19
+ pypdf = "^3.17.4"
20
+ streamlit = "^1.29.0"
21
+ langchain-community = "^0.0.10"
22
+ langchain = "^0.1.0"
23
+ tenacity = "^8.2.3"
24
+ openai = "^1.7.2"
25
+ langchain-openai = "^0.0.2.post1"
26
+ sentence-transformers = "^2.2.2"
27
+ ragatouille = "^0.0.4b2"
28
+ nbformat = "^5.9.2"
29
+ ragxplorer = {git = "https://github.com/dsmueller3760/RAGxplorer.git", rev = "load_db"}
30
 
31
 
32
  [build-system]