Skip to content

Commit

Permalink
updated the glm to accept an empty model-string without error or warn…
Browse files Browse the repository at this point in the history
…ings

Signed-off-by: Peter Staar <[email protected]>
  • Loading branch information
PeterStaar-IBM committed Aug 30, 2024
1 parent 00ec2c9 commit 5e1bdf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "deepsearch-glm"
version = "0.19.0"
version = "0.19.1"
description = "Graph Language Models"
authors = ["Peter Staar <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 4 additions & 0 deletions src/andromeda/nlp/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ namespace andromeda
{
model_names = utils::split(expr, ';');
}
else if(expr.size()==0)
{
model_names = {};
}
else
{
model_names = {expr};
Expand Down

0 comments on commit 5e1bdf8

Please sign in to comment.