chiruu12 commented on code in PR #179: URL: https://github.com/apache/incubator-hugegraph-ai/pull/179#discussion_r1983265705
########## hugegraph-llm/src/hugegraph_llm/api/rag_api.py: ########## @@ -19,34 +19,36 @@ from fastapi import status, APIRouter, HTTPException -from hugegraph_llm.api.exceptions.rag_exceptions import generate_response from hugegraph_llm.api.models.rag_requests import ( RAGRequest, - GraphConfigRequest, - LLMConfigRequest, - RerankerConfigRequest, GraphRAGRequest, ) from hugegraph_llm.config import huge_settings -from hugegraph_llm.api.models.rag_response import RAGResponse -from hugegraph_llm.config import llm_settings, prompt +from hugegraph_llm.config import prompt from hugegraph_llm.utils.log import log +from hugegraph_llm.api.config_api import ( + graph_config_route, + llm_config_route, + embedding_config_route, + rerank_config_route +) + # pylint: disable=too-many-statements -def rag_http_api( +async def rag_http_api( Review Comment: I will try to resolve the issues and then I will ping you again sir! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For additional commands, e-mail: issues-h...@hugegraph.apache.org