Skip to content

Commit

Permalink
typos and dynamic versioning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Aug 8, 2024
1 parent 828bdc2 commit 331831a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ myst-parser = {version = ">=0.18.1"}
kg = "kg_chat.cli:main"

[tool.poetry-dynamic-versioning]
enable = false
enable = true
vcs = "git"
style = "pep440"

Expand Down
10 changes: 5 additions & 5 deletions src/kg_chat/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def list_models():
@data_dir_option
@llm_provider_option
def import_kg(database: str = "duckdb", data_dir: str = None, llm_provider: str = "openai"):
"""Run the kg-chat's demo command."""
"""Run the kg-chat's import command."""
if not data_dir:
raise ValueError("Data directory is required. This typically contains the KGX tsv files.")
config = get_llm_config(llm_provider)
Expand All @@ -105,7 +105,7 @@ def import_kg(database: str = "duckdb", data_dir: str = None, llm_provider: str
@llm_provider_option
@llm_option
def test_query(data_dir: Union[str, Path], llm_provider: str, llm: str, database: str = "duckdb"):
"""Run the kg-chat's chat command."""
"""Run the kg-chat's test-query command."""
if llm_provider is None and llm is None:
llm = OPEN_AI_MODEL
config = get_llm_config(llm_provider, llm)
Expand All @@ -123,7 +123,7 @@ def test_query(data_dir: Union[str, Path], llm_provider: str, llm: str, database
@llm_provider_option
@llm_option
def show_schema(data_dir: Union[str, Path], llm_provider: str, llm: str, database: str = "duckdb"):
"""Run the kg-chat's chat command."""
"""Run the kg-chat's show-schema command."""
config = get_llm_config(llm_provider, llm)
impl = get_database_impl(database, data_dir=data_dir, llm_config=config)
impl.show_schema()
Expand All @@ -136,7 +136,7 @@ def show_schema(data_dir: Union[str, Path], llm_provider: str, llm: str, databas
@llm_provider_option
@llm_option
def qna(query: str, data_dir: Union[str, Path], llm_provider: str, llm: str, database: str = "duckdb"):
"""Run the kg-chat's chat command."""
"""Run the kg-chat's qna command."""
config = get_llm_config(llm_provider, llm)
impl = get_database_impl(database, data_dir=data_dir, llm_config=config)
response = impl.get_human_response(query)
Expand Down Expand Up @@ -169,7 +169,7 @@ def run_app(
database: str = "duckdb",
debug: bool = False,
):
"""Run the kg-chat's chat command."""
"""Run the kg-chat's app command."""
config = get_llm_config(llm_provider, llm)
impl = get_database_impl(database, data_dir=data_dir, llm_config=config)
kgc = KnowledgeGraphChat(impl)
Expand Down

0 comments on commit 331831a

Please sign in to comment.