mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-03 11:40:01 +02:00
Backport Test (#2963)
This commit is contained in:
parent
0fb6baef2b
commit
c7018f7a6c
@ -19,13 +19,14 @@ from danswer.connectors.models import Section
|
|||||||
from danswer.file_processing.html_utils import parse_html_page_basic
|
from danswer.file_processing.html_utils import parse_html_page_basic
|
||||||
from danswer.utils.logger import setup_logger
|
from danswer.utils.logger import setup_logger
|
||||||
|
|
||||||
|
|
||||||
|
logger = setup_logger()
|
||||||
|
|
||||||
# Potential Improvements
|
# Potential Improvements
|
||||||
# 1. Support fetching per collection via collection token (configured at connector creation)
|
# 1. Support fetching per collection via collection token (configured at connector creation)
|
||||||
|
|
||||||
GURU_API_BASE = "https://api.getguru.com/api/v1/"
|
GURU_API_BASE = "https://api.getguru.com/api/v1/"
|
||||||
GURU_QUERY_ENDPOINT = GURU_API_BASE + "search/query"
|
GURU_QUERY_ENDPOINT = GURU_API_BASE + "search/query"
|
||||||
GURU_CARDS_URL = "https://app.getguru.com/card/"
|
GURU_CARDS_URL = "https://app.getguru.com/card/"
|
||||||
logger = setup_logger()
|
|
||||||
|
|
||||||
|
|
||||||
def unixtime_to_guru_time_str(unix_time: SecondsSinceUnixEpoch) -> str:
|
def unixtime_to_guru_time_str(unix_time: SecondsSinceUnixEpoch) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user