Files
onyx/backend/danswer/document_index/factory.py
T

8 lines
233 B
Python

from danswer.document_index.interfaces import DocumentIndex
from danswer.document_index.vespa.index import VespaIndex
def get_default_document_index() -> DocumentIndex:
# Currently only supporting Vespa
return VespaIndex()