retrieval package
content_retrieval
import json, datetime, logging from django_core.config import Config from common.utils import send_request
- retrieval.content_retrieval.content_retrieval(original_query, email)[source]
Retrieve content chunks relevant to the user query from content retrieval site.
Note : The original definition is below. For the documentation purpose two parameters are not included due to a documentation defect def content_retrieval( original_query, email, domain_url=Config.CONTENT_DOMAIN_URL, api_endpoint=Config.CONTENT_RETRIEVAL_ENDPOINT
):