Skip to content

Commit 8379419

Browse files
committed
v.0.2.23
1 parent 3a02f63 commit 8379419

File tree

6 files changed

+8
-30
lines changed

6 files changed

+8
-30
lines changed

apps/helix-kg/config.hx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"db_max_size_gb": 10,
1111
"mcp": true,
12+
"bm25": true,
1213
"embedding_model": "text-embedding-ada-002",
1314
"graphvis_node_label": "entity_name"
1415
}

apps/kg1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import argparse
99
from tqdm import tqdm
1010

11-
llm_client = OpenAIClient(model="gpt-4o")
11+
#llm_client = OpenAIClient(model="gpt-4o")
1212
db_client = helix.Client(local=True, verbose=False)
1313

1414
def insert_e_r(nodes: List[Hnode], edges: List[Hedge]):

apps/mcp_server.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
# $ uv init project
2-
# $ cp mcp_server.py project
3-
# $ cd project
4-
# $ uv venv && source .venv/bin/activate
5-
# $ uv add helix-py "mcp[cli]"
6-
# then for claude-desktop add this to ~/Library/Application Support/Claude/claude_desktop_config.json
7-
# adjusting paths of course
8-
"""
9-
{
10-
"mcpServers": {
11-
"helix-mcp": {
12-
"command": "uv",
13-
"args": [
14-
"--directory",
15-
"/Users/ln/dev/helix-py/examples/sample_mcp_server",
16-
"run",
17-
"mcp_server.py"
18-
]
19-
}
20-
}
21-
}
22-
"""
23-
241
from mcp.server.fastmcp import FastMCP
252
import helix
263
from typing import Optional, Tuple, List

helix/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
from helix.instance import Instance
88
from helix.providers import OllamaClient, OpenAIClient
99

10-
__version__ = "0.2.20"
10+
__version__ = "0.2.23"
1111

helix/instance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(self, config_path: str="helixdb-cfg", port: int=6969, redeploy: boo
6262
if self.verbose: print(f"{GHELIX} Found existing instance IDs: {self.ids_running}", file=sys.stderr)
6363
if self.verbose: print(f"{GHELIX} Found existing short IDs: {self.short_ids}", file=sys.stderr)
6464

65-
if self.port in self.port_ids:
65+
if self.port in self.port_ids:
6666
self.instance_id = self.port_ids.get(self.port, None)
6767
self.short_id = self.short_ids.get(self.port, None)
6868

@@ -128,10 +128,10 @@ def deploy(self, redeploy: bool=False, remote: bool=False):
128128

129129
atexit.register(self.stop)
130130

131-
if self.verbose:
132-
if redeploy:
131+
if self.verbose:
132+
if redeploy:
133133
print(f"{GHELIX} Redeployed Helix instance: {self.instance_id}", file=sys.stderr)
134-
else:
134+
else:
135135
print(f"{GHELIX} Deployed Helix instance: {self.instance_id}", file=sys.stderr)
136136

137137
return '\n'.join(output)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ helix-py = { workspace = true }
1010

1111
[project]
1212
name = "helix-py"
13-
version = "0.2.20"
13+
version = "0.2.23"
1414
authors = [{ name = "HelixDB Team", email = "lukasnitzsche@yahoo.com"}]
1515
maintainers = [{ name = "Lukas Nitzsche", email = "lukasnitzsche@yahoo.com" }]
1616
description = "helix-db python lib + workflows"

0 commit comments

Comments
 (0)