Skip to content

Commit ebbc0bb

Browse files
authored
Merge pull request #363 from semantic-systems/develop
Merge updates to main
2 parents 0f51876 + 92d5c0d commit ebbc0bb

File tree

13 files changed

+1206
-871
lines changed

13 files changed

+1206
-871
lines changed

config.py

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,18 @@ class Config:
285285
# "module": "oersi",
286286
# "search-endpoint": f"https://oersi.org/resources/api/search/oer_data/_search?pretty&size={NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT}&q=",
287287
# },
288-
# "IEEE": { #IEEE API key is not working, therefore this has been disabled for now.
288+
# "IEEE": {
289289
# "logo": {
290+
# "name": "IEEE",
291+
# "link": "https://ieeexplore.ieee.org/",
290292
# "src": "ieee.gif",
291293
# "width": "w-100",
292294
# "height": "h-70",
293295
# },
294296
# "module": "ieee",
295-
# "search-endpoint": f"http://ieeexploreapi.ieee.org/api/v1/search/articles?apikey={IEEE_API_KEY}&max_records={NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT}&querytext=",
296-
# "get-publication-endpoint": f"http://ieeexploreapi.ieee.org/api/v1/search/articles?apikey={IEEE_API_KEY}&doi=",
297+
# "search-endpoint": f"https://ieeexploreapi.ieee.org/api/v1/search/articles?max_records={NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT}&querytext=",
298+
# "get-publication-endpoint": f"https://ieeexploreapi.ieee.org/api/v1/search/articles?doi=",
299+
# "api-key-param": "apikey",
297300
# },
298301
# "EUDAT": {
299302
# "module": "eudat",
@@ -308,10 +311,17 @@ class Config:
308311
# "module": "orkg",
309312
# "search-endpoint": f"https://orkg.org/api/resources/?size={NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT}&q=",
310313
# },
311-
# "gepris": {
312-
# "module": "gepris",
313-
# "search-endpoint": f"https://gepris.dfg.de/gepris/OCTOPUS?context=projekt&hitsPerPage=1&index=0&language=en&task=doSearchSimple&keywords_criterion=",
314-
# },
314+
"gepris": {
315+
"logo": {
316+
"name": "GEPRIS",
317+
"link": "https://gepris.dfg.de/",
318+
"src": "GEPRIS_Logo.png",
319+
"width": "w-100",
320+
"height": "h-100",
321+
},
322+
"module": "gepris",
323+
"search-endpoint": f"https://gepris.dfg.de/gepris/OCTOPUS?context=projekt&hitsPerPage=1&index=0&language=en&task=doSearchSimple&keywords_criterion=",
324+
},
315325
}
316326

317327
LLMS = {
@@ -328,7 +338,7 @@ class Config:
328338
}
329339

330340
CHATBOT = {
331-
"chatbot_enable": True,
341+
"chatbot_enable": False,
332342
"chatbot_server": os.environ.get("CHATBOT_SERVER", ""),
333343
"endpoint_chat": "/chat",
334344
"endpoint_save_docs_with_embeddings": "/save-docs-with-embeddings",

0 commit comments

Comments
 (0)