Spaces:
Sleeping
Sleeping
carbonnnnn
commited on
Commit
·
8832a9e
1
Parent(s):
a88b2e6
Upload 50 files
Browse files- app.py +56 -17
- data2/Abhishek etal2020 - ISR2021 - business models peer-to-peer rental.pdf +3 -0
- data2/Adner etal2022 - MS - frenemies in platform markets.pdf +3 -0
- data2/Anderson etal2014 - ISR - platform investment.pdf +3 -0
- data2/Aouad etal2023 - WP - centralized vs. decentralized price control.pdf +3 -0
- data2/Armstrong2006 - RJE - competition two-sided markets.pdf +3 -0
- data2/Bakos_Halaburda2020 - MS - platform competition multihoming.pdf +3 -0
- data2/Benjaafar etal2018 - MS - p2p product sharing.pdf +3 -0
- data2/Benjaafar etal2021 - MS - sharing economy mobility.pdf +3 -0
- data2/Benjaafar_Hu2020 - MSOM - sharing economy.pdf +3 -0
- data2/Bernstein etal2020 - MSOM - competition demand and supply congestion effects.pdf +3 -0
- data2/Cachon etal2017 - MSOM - surge pricing service platform.pdf +3 -0
- data2/Chellappa_Mukherjee2020 - MS - role of information.pdf +3 -0
- data2/Chen etal2019 - MSOM - online platform.pdf +3 -0
- data2/Chen_Guo2022 - MISQ - advertising and retail platform openness.pdf +3 -0
- data2/Choi etal2020 - EJOR - optimal pricing platform.pdf +3 -0
- data2/Chou etal2012 - POM - newsvendor pricing.pdf +3 -0
- data2/Cohen_Zhang2022 - POM - competition and coopetition.pdf +3 -0
- data2/Cohen_Zhang2023 - WP - competition and coopetition for two-sided markets.pdf +3 -0
- data2/Dou etal2016 - IJPR - service investment and pricing.pdf +3 -0
- data2/Eisenmann etal2006 - HBR - two-sided markets.pdf +3 -0
- data2/Farajallah etal2019 - IEP - pricing behavior.pdf +3 -0
- data2/Hagiu_Spulber2013 - MS - coordination two-sided market.pdf +3 -0
- data2/Hu2020 - POM - view on sharing economy.pdf +3 -0
- data2/Huang etal2022 - MS - quality regulation.pdf +3 -0
- data2/Katz_Shapiro1985 - AER - network externalities.pdf +3 -0
- data2/Kung_Zhong2017 - TRE - pricing strategy.pdf +3 -0
- data2/Lin etal2011 - JMIS - innovation and price competition.pdf +3 -0
- data2/Lin etal2020 - EJOR - pricing platform competition.pdf +3 -0
- data2/Liu etal2019 - EJOR - platform competition.pdf +3 -0
- data2/Liu etal2019 - TRE - pricing decisions.pdf +3 -0
- data2/Liu_Serfes2013 - JEMS - price discrimination two-sided market.pdf +3 -0
- data2/Mantena_Saha2012 - JMIS - co-opetition.pdf +3 -0
- data2/Rochet_Tirole2004 - overview two-sided markets.pdf +3 -0
- data2/Rochet_Tirole2006 - RJE - two-sided market.pdf +3 -0
- data2/Rysman2009 - JEP - economices of two-sided markets.pdf +3 -0
- data2/Rysman2009 - JEP - economics of two-sided platform.pdf +3 -0
- data2/Song etal2020 - ISR - spillover effect platform openness.pdf +3 -0
- data2/Sun etal2020 - EJOR - Inform or Assign drivers.pdf +3 -0
- data2/Wang etal2019 - IJPE - competition O2O.pdf +3 -0
- data2/Wei etal2023 - EJOR - CSR.pdf +3 -0
- data2/Wen_Siqin2019 - IJPE.pdf +3 -0
- data2/Weyl2010 - AER - price theory platforms.pdf +3 -0
- data2/Xie etal2021 - IJPE - competition multi-homing.pdf +3 -0
- data2/Yuan etal2019 - MSOM - coopetition waiting-area.pdf +3 -0
- data2/Zhang etal2022 - MS - competition.pdf +3 -0
- data2/Zheng etal2020 - IEEE - CSR price.pdf +3 -0
- data2/Zhong etal2019 - IJPE - permanent agents and competition.pdf +3 -0
- main.py +21 -6
app.py
CHANGED
@@ -4,24 +4,63 @@ import gradio as gr
|
|
4 |
import time
|
5 |
from hay.pipeline import rs_pipeline
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
24 |
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
chat.launch()
|
27 |
|
|
|
4 |
import time
|
5 |
from hay.pipeline import rs_pipeline
|
6 |
|
7 |
+
d='data'
|
8 |
+
# d='data2'
|
9 |
+
|
10 |
+
title = """<h1 align="center">Chat Literature</h1>"""
|
11 |
+
description = """<br><br><h3 align="center">This is a literature chat model, which can currently answer questions to regulation/two-sided markets topic in Supply chain mangement.</h3>"""
|
12 |
+
|
13 |
+
def user(user_message, history):
|
14 |
+
return "", history + [[user_message, None]]
|
15 |
+
|
16 |
+
def respond(message, chat_history):
|
17 |
+
question = str(message)
|
18 |
+
answer = rs_pipeline(question, d)
|
19 |
+
bot_message = answer
|
20 |
+
chat_history.append((message, bot_message))
|
21 |
+
time.sleep(2)
|
22 |
+
return " ", chat_history
|
23 |
+
|
24 |
+
with gr.Blocks(theme=gr.themes.Soft(primary_hue="emerald", neutral_hue="slate")) as chat:
|
25 |
+
gr.HTML(title)
|
26 |
+
chatbot = gr.Chatbot().style(height=750)
|
27 |
+
msg = gr.Textbox(label="Send a message", placeholder="Send a message",
|
28 |
+
show_label=False).style(container=False)
|
29 |
+
# with gr.Row():
|
30 |
+
# with gr.Column():
|
31 |
+
# msg = gr.Textbox(label="Send a message", placeholder="Send a message",
|
32 |
+
# show_label=False).style(container=False)
|
33 |
+
# with gr.Column():
|
34 |
+
# with gr.Row():
|
35 |
+
# submit = gr.Button("Submit")
|
36 |
+
# stop = gr.Button("Stop")
|
37 |
+
# clear = gr.Button("Clear")
|
38 |
+
|
39 |
+
|
40 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
41 |
|
42 |
+
|
43 |
+
if d=='data':
|
44 |
+
gr.Examples([
|
45 |
+
["How to reduce carbon emissions?"],
|
46 |
+
["What are the main topics in these papers?"],
|
47 |
+
["What are the major math models in PI."]
|
48 |
+
], inputs=msg, label= "Click on any example to copy in the chatbox"
|
49 |
+
)
|
50 |
+
|
51 |
+
else:
|
52 |
+
gr.Examples([
|
53 |
+
["Who are the main users (participants) in the two-sided market?"],
|
54 |
+
["What are the decisions made in the two-sided market? And who makes this decision?"],
|
55 |
+
["What are the main effects in the two-sided market"]
|
56 |
+
], inputs=msg, label= "Click on any example to copy in the chatbox"
|
57 |
+
)
|
58 |
+
|
59 |
+
gr.HTML(description)
|
60 |
+
|
61 |
+
def application():
|
62 |
+
return None
|
63 |
+
|
64 |
+
chat.queue()
|
65 |
chat.launch()
|
66 |
|
data2/Abhishek etal2020 - ISR2021 - business models peer-to-peer rental.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b59a1355505373c13db0e37574862cd6f83175e7580780bd2938d4afebf890f9
|
3 |
+
size 1094452
|
data2/Adner etal2022 - MS - frenemies in platform markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb36a43f1c97d764c13e48c7049d6e19d0a3c70a927345ac2fe6ba69238f97f4
|
3 |
+
size 1043778
|
data2/Anderson etal2014 - ISR - platform investment.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52af1a25348382cbd9971bd0508151801e36b603a2357a991fb861c1fa9df931
|
3 |
+
size 3362024
|
data2/Aouad etal2023 - WP - centralized vs. decentralized price control.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:def0c52c6c648e1ad75b5b852007ffb218ec16bed9e4b203dfe4029ecaec64c2
|
3 |
+
size 1370418
|
data2/Armstrong2006 - RJE - competition two-sided markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57886620a25fbea935fff1d9ef2b726aa6ccae1c9b830c43f2a805ff67decdc0
|
3 |
+
size 3698664
|
data2/Bakos_Halaburda2020 - MS - platform competition multihoming.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd6603b3d33dd044ffa9e3323302835a248208b1bd7ef9260a764422e65955b8
|
3 |
+
size 868976
|
data2/Benjaafar etal2018 - MS - p2p product sharing.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e554541548b498bede182fb0f9c155b99c3e9f3ef07ea4b38595651cb215ea70
|
3 |
+
size 1101556
|
data2/Benjaafar etal2021 - MS - sharing economy mobility.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:202940e39b272878a0d84efd9562f6c05723fa3e725ee603cbae0adc297cc282
|
3 |
+
size 1322842
|
data2/Benjaafar_Hu2020 - MSOM - sharing economy.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ba2f9aaee7baec1a63cab39285c04247d5ff0d971cad21afc1a160570c2ccc0
|
3 |
+
size 734366
|
data2/Bernstein etal2020 - MSOM - competition demand and supply congestion effects.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fcc09835197a81c4df78298d37ac899d0db61dd682283031831731060e2b401
|
3 |
+
size 1176973
|
data2/Cachon etal2017 - MSOM - surge pricing service platform.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4add6cb2aa32b24400e0b2c4d635e2d4fd4abb84cf7c5b03943329aaf8d21a2b
|
3 |
+
size 1541103
|
data2/Chellappa_Mukherjee2020 - MS - role of information.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6aa9bcfc7bd481b33df420d8053b5260e937ad57268976c96febaf43bc8b7f18
|
3 |
+
size 954747
|
data2/Chen etal2019 - MSOM - online platform.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e87bf80c80398507b007253457663d1c2b7de8c1099c82159438e88711df6344
|
3 |
+
size 948202
|
data2/Chen_Guo2022 - MISQ - advertising and retail platform openness.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42434a9644cfe6d2cea9f5abcf81b5635cc620045d96dd64f3060a688b1091fd
|
3 |
+
size 986645
|
data2/Choi etal2020 - EJOR - optimal pricing platform.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56065a5364d848dd66d1bf628d3fcbc7bdfddfb8af86a910016bde08b24a638a
|
3 |
+
size 2128026
|
data2/Chou etal2012 - POM - newsvendor pricing.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc296e902a9c27cd53aa701a6cfd5d31ef6813c49d38b320d4eb303f6211f82b
|
3 |
+
size 505383
|
data2/Cohen_Zhang2022 - POM - competition and coopetition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46ada310ce0a16d0ec65013f46c7127fdda8d9ed6eb101fc9f10bd44dfa5371d
|
3 |
+
size 496852
|
data2/Cohen_Zhang2023 - WP - competition and coopetition for two-sided markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a5a65a148f1a2ded2b6ef69c636783562b50e01adabf5e29485e5d20495d843
|
3 |
+
size 755033
|
data2/Dou etal2016 - IJPR - service investment and pricing.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1fe396558e0bcf2bad1dc101f16c9b69eabe5ccc023722815615cd9f6c5def6
|
3 |
+
size 549430
|
data2/Eisenmann etal2006 - HBR - two-sided markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2fec41714badf21f400c04056e9926b5f4fbb6001bc2011df9911ac50d50a779
|
3 |
+
size 296648
|
data2/Farajallah etal2019 - IEP - pricing behavior.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b89ce3eddf8d60561b270c3e18f8b1e31dc0ee0555e900ea8394803bb9acb183
|
3 |
+
size 1362299
|
data2/Hagiu_Spulber2013 - MS - coordination two-sided market.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6977b6cfb0c2512ccd642597c3b288c42d4501fb758305624bc2cea7ed7a0cea
|
3 |
+
size 2900251
|
data2/Hu2020 - POM - view on sharing economy.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d208f4a88795502dd190cf0c0f6e7a84e9a0175f28e0504d58fcbbe3de620a72
|
3 |
+
size 1393501
|
data2/Huang etal2022 - MS - quality regulation.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76e404ca295ed920248051aa35f36bbd1daf877c8acd9050d7327007518fd688
|
3 |
+
size 1348250
|
data2/Katz_Shapiro1985 - AER - network externalities.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57e4af2fddcaa92883ddb520e1212775836e82d4d6fd88a3dfac6886c598a5ca
|
3 |
+
size 722717
|
data2/Kung_Zhong2017 - TRE - pricing strategy.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:854c6c135480b6a8000133161690933be00f2dbba21ffba1a4a1091c811959a6
|
3 |
+
size 403608
|
data2/Lin etal2011 - JMIS - innovation and price competition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:029245fb545d19420eed1cf211b1175667793e615d278f5d7c16f2f352e3541b
|
3 |
+
size 2311855
|
data2/Lin etal2020 - EJOR - pricing platform competition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa226c5396ccd2adb81fba1abd0600573308d3f1319eb58d5c4b33f1e0b75d8a
|
3 |
+
size 1016686
|
data2/Liu etal2019 - EJOR - platform competition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05b27b59c5877041db8ce18756316e62c1a5bc22e43ff30cbdceded7b6de6f3f
|
3 |
+
size 907183
|
data2/Liu etal2019 - TRE - pricing decisions.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94968918922500aaa180e0f285a847a4fa23dde31ff9532fdc17bd2335e3b356
|
3 |
+
size 2880081
|
data2/Liu_Serfes2013 - JEMS - price discrimination two-sided market.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1931950ae13a5430c14c858a24795fbcab60d75a7a284233d8ee417191b70058
|
3 |
+
size 343231
|
data2/Mantena_Saha2012 - JMIS - co-opetition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22b2af0c6b6e828090f47e53f4586a494c07f5512218ffd73d0043a86a40b241
|
3 |
+
size 763870
|
data2/Rochet_Tirole2004 - overview two-sided markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:064ed8753a78d0627755bd50e33c8476522b2dd3028ae7b3c4685cc1c57ff8b3
|
3 |
+
size 251381
|
data2/Rochet_Tirole2006 - RJE - two-sided market.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40921c831acf5b603b3622bc2363ca2e2b34317cfba530f3c01573c1bcce27f7
|
3 |
+
size 290238
|
data2/Rysman2009 - JEP - economices of two-sided markets.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8abfa3668f620f2f5fb244c5ec751e4a618d7f0595242ac493424cfd2e81259
|
3 |
+
size 409034
|
data2/Rysman2009 - JEP - economics of two-sided platform.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b34292184694b5e61098861aa394e148ab98de68f9f10c7e7ea560c3065efbc4
|
3 |
+
size 486777
|
data2/Song etal2020 - ISR - spillover effect platform openness.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1dbd9f06a11af611d73e1dbf2c21317be634d5680d9770e3af82731da050bf1
|
3 |
+
size 1212738
|
data2/Sun etal2020 - EJOR - Inform or Assign drivers.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:763f2f8c42edc2b61d51e5a0da589bdea8aec6e914a37482cff8c65f535d1fab
|
3 |
+
size 2325812
|
data2/Wang etal2019 - IJPE - competition O2O.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6eb417c227eb1d9672ed18784091678e6bf894f0333f40d0661756eba1150c30
|
3 |
+
size 1352123
|
data2/Wei etal2023 - EJOR - CSR.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e3688092199eeed93c9e28fedd5105ed8e6e59c847e470c14bab8bd6ce9cdfa
|
3 |
+
size 3086265
|
data2/Wen_Siqin2019 - IJPE.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3003bba212eecd3fcb1d6cea6ba3c8347651f39634470fda622e69cefc6143f
|
3 |
+
size 1648371
|
data2/Weyl2010 - AER - price theory platforms.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c15648f1d48d8480817ee11400c6443a3deaa9d2494f443abeb5e860a263635a
|
3 |
+
size 804246
|
data2/Xie etal2021 - IJPE - competition multi-homing.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d38b30aa86712760e4b32d0c09e2ae3b14c2c560b424888e673af89fb2e5d35
|
3 |
+
size 3094158
|
data2/Yuan etal2019 - MSOM - coopetition waiting-area.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:941cff05ff131bcb493b0926ed16f02b0a5cbc7ffa98a5ffd286778024d769d1
|
3 |
+
size 993534
|
data2/Zhang etal2022 - MS - competition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c50dce7f4a1a9795d651e2625964a74cb137664c9f2af9810304be0332a0da6a
|
3 |
+
size 1162993
|
data2/Zheng etal2020 - IEEE - CSR price.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0afaf4c5e81f07b9204a35326e224c974902268d373b5831e9bae4f730b9ed34
|
3 |
+
size 1877904
|
data2/Zhong etal2019 - IJPE - permanent agents and competition.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5739058ad8b52ce58c3bb279fd00ff9696d9ff89dea5e6c0ad125d7a7af598a5
|
3 |
+
size 1024821
|
main.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import argparse
|
2 |
from hay.retriever import generate_docs
|
3 |
-
from hay.pipeline import rg_pipeline, rs_pipeline
|
4 |
from app import application
|
5 |
|
|
|
6 |
|
7 |
def main():
|
8 |
parser = argparse.ArgumentParser()
|
@@ -22,6 +23,11 @@ def main():
|
|
22 |
action='store_true'
|
23 |
)
|
24 |
|
|
|
|
|
|
|
|
|
|
|
25 |
parser.add_argument(
|
26 |
'--gradio', dest='gradio',
|
27 |
action='store_true'
|
@@ -33,24 +39,33 @@ def main():
|
|
33 |
'''
|
34 |
Use this argument to generate the docs and store in DOCUMENT format
|
35 |
'''
|
36 |
-
generate_docs(overlap=10, length=100)
|
37 |
|
38 |
if args.rgpipeline:
|
39 |
'''
|
40 |
Use this argument to run the base retriever generator pipeline
|
41 |
'''
|
42 |
question = "How to reduce emissions?"
|
43 |
-
rg_pipeline(question)
|
44 |
|
45 |
if args.rspipeline:
|
46 |
'''
|
47 |
Use this argument to run the retriever summarizer pipeline
|
48 |
'''
|
49 |
-
|
50 |
-
question = "
|
51 |
-
|
|
|
|
|
52 |
print(answer)
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
if args.gradio:
|
55 |
'''
|
56 |
Use this argument to run the application
|
|
|
1 |
import argparse
|
2 |
from hay.retriever import generate_docs
|
3 |
+
from hay.pipeline import rg_pipeline, rs_pipeline, rsg_pipeline
|
4 |
from app import application
|
5 |
|
6 |
+
d = 'data'
|
7 |
|
8 |
def main():
|
9 |
parser = argparse.ArgumentParser()
|
|
|
23 |
action='store_true'
|
24 |
)
|
25 |
|
26 |
+
parser.add_argument(
|
27 |
+
'--conv', dest='conv',
|
28 |
+
action='store_true'
|
29 |
+
)
|
30 |
+
|
31 |
parser.add_argument(
|
32 |
'--gradio', dest='gradio',
|
33 |
action='store_true'
|
|
|
39 |
'''
|
40 |
Use this argument to generate the docs and store in DOCUMENT format
|
41 |
'''
|
42 |
+
generate_docs(overlap=10, length=100, d=d)
|
43 |
|
44 |
if args.rgpipeline:
|
45 |
'''
|
46 |
Use this argument to run the base retriever generator pipeline
|
47 |
'''
|
48 |
question = "How to reduce emissions?"
|
49 |
+
rg_pipeline(question, d)
|
50 |
|
51 |
if args.rspipeline:
|
52 |
'''
|
53 |
Use this argument to run the retriever summarizer pipeline
|
54 |
'''
|
55 |
+
question = "Who are the main users in the two-sided market"
|
56 |
+
# question = "What are the decisions made in the two-sided market? And who makes this decision? "
|
57 |
+
# question = "What are the main effects in the two-sided market?"
|
58 |
+
# question = "What are the main topics in these papers?"
|
59 |
+
answer = rs_pipeline(question, d)
|
60 |
print(answer)
|
61 |
|
62 |
+
if args.conv:
|
63 |
+
'''
|
64 |
+
Use this argument to run the pipeline using conversational agent class
|
65 |
+
'''
|
66 |
+
op = rsg_pipeline()
|
67 |
+
print(op)
|
68 |
+
|
69 |
if args.gradio:
|
70 |
'''
|
71 |
Use this argument to run the application
|