Skip to content
Snippets Groups Projects
Unverified Commit afc7c94e authored by Jerry Liu's avatar Jerry Liu Committed by GitHub
Browse files

take 2: Move all query-related classes to under the query module (#99)

parent 184c9c06
Branches
Tags
No related merge requests found
......@@ -2,8 +2,8 @@
from typing import Type
from gpt_index.indices.base import BaseGPTIndexQuery
from gpt_index.indices.data_structs import IndexStructType
from gpt_index.indices.query.base import BaseGPTIndexQuery
from gpt_index.indices.query.keyword_table.query import (
GPTKeywordTableGPTQuery,
GPTKeywordTableRAKEQuery,
......@@ -14,7 +14,7 @@ from gpt_index.indices.query.list.query import GPTListIndexQuery
from gpt_index.indices.query.schema import QueryMode
from gpt_index.indices.query.tree.embedding_query import GPTTreeIndexEmbeddingQuery
from gpt_index.indices.query.tree.leaf_query import GPTTreeIndexLeafQuery
from gpt_index.indices.tree.retrieve_query import GPTTreeIndexRetQuery
from gpt_index.indices.query.tree.retrieve_query import GPTTreeIndexRetQuery
# TODO: migrate _mode_to_query in indices/base.py to use this file
MODE_TO_QUERY_MAP_TREE = {
......
......@@ -13,8 +13,8 @@ from gpt_index.indices.prompt_helper import PromptHelper
from gpt_index.indices.query.base import BaseGPTIndexQuery
from gpt_index.indices.query.tree.embedding_query import GPTTreeIndexEmbeddingQuery
from gpt_index.indices.query.tree.leaf_query import GPTTreeIndexLeafQuery
from gpt_index.indices.query.tree.retrieve_query import GPTTreeIndexRetQuery
from gpt_index.indices.tree.inserter import GPTIndexInserter
from gpt_index.indices.tree.retrieve_query import GPTTreeIndexRetQuery
from gpt_index.indices.utils import get_sorted_node_list
from gpt_index.langchain_helpers.chain_wrapper import LLMPredictor
from gpt_index.prompts.base import Prompt, validate_prompt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment