-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/EURAC-EEBgroup/brickllm-lib
- Loading branch information
Showing
2 changed files
with
152 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
## 1.0.0 (2024-11-05) | ||
|
||
|
||
### Features | ||
|
||
* add abstract graph, new state, examples ([ecd7f94](https://github.com/EURAC-EEBgroup/brick-llm/commit/ecd7f940649d1d41ffc354781e277790a01f206f)) | ||
* add makefile ([03aa829](https://github.com/EURAC-EEBgroup/brick-llm/commit/03aa8295cb6251ecbccaf4df63efd19252bd1a4f)) | ||
* add mkdocs ([d38421e](https://github.com/EURAC-EEBgroup/brick-llm/commit/d38421e9808112c3fc7de431de45783a8ce735d6)) | ||
* add validation ([835a6ba](https://github.com/EURAC-EEBgroup/brick-llm/commit/835a6baf19fcf9ab1f7ad21d5b0d21a4c600659a)) | ||
* added custom models ([67cc309](https://github.com/EURAC-EEBgroup/brick-llm/commit/67cc30972b4fee5ad34f252e50881eada85a2df0)) | ||
* added ISSUE_TEMPLATE and ci cd workflows ([5969ec5](https://github.com/EURAC-EEBgroup/brick-llm/commit/5969ec5ad5808dd8f3285fac9c9c9553470be4bd)) | ||
* added pre-commit and tox integration ([25dff8b](https://github.com/EURAC-EEBgroup/brick-llm/commit/25dff8b192b3ef4158a5fddca43ec82ae191ca05)) | ||
* added return types ([f495549](https://github.com/EURAC-EEBgroup/brick-llm/commit/f4955499494082d0073a5982664ac6bfaae9a3a4)) | ||
* BrickSchemaGraphLocal workflow definition ([b80e855](https://github.com/EURAC-EEBgroup/brick-llm/commit/b80e8554389eef596701fde2755b7ce09fe64707)) | ||
* **refactor:** created lib ([980b0e7](https://github.com/EURAC-EEBgroup/brick-llm/commit/980b0e72f16f8e4685279dff8394531f1a818f4a)) | ||
* fine-tuned prompt template ([7a22eb8](https://github.com/EURAC-EEBgroup/brick-llm/commit/7a22eb8d78ded987811d8da9c2daa851ee873d2b)) | ||
* initial release ([8a8f5a1](https://github.com/EURAC-EEBgroup/brick-llm/commit/8a8f5a169639c3524d926daa590d934e4188c279)) | ||
* initial release ([804a19f](https://github.com/EURAC-EEBgroup/brick-llm/commit/804a19fcc935e12ae149e18997614dfe8a7d46c0)) | ||
* initial release ([8f9d7aa](https://github.com/EURAC-EEBgroup/brick-llm/commit/8f9d7aaaaa94f2eb8e93aa2fee724aded11e09da)) | ||
* integration of ollama fine-tuned model ([633bb93](https://github.com/EURAC-EEBgroup/brick-llm/commit/633bb93312fde7ea6fd987fd471690cee705092e)) | ||
* **agent:** langgraph porting ([34f614a](https://github.com/EURAC-EEBgroup/brick-llm/commit/34f614a557afc5b0aae5773b9e0954122c8de30e)) | ||
* local generation node using the fine-tuning ([dd625ca](https://github.com/EURAC-EEBgroup/brick-llm/commit/dd625caa776d8cf987a4a0d6d887c05e31eb82eb)) | ||
* move graph compilation inside class ([e753523](https://github.com/EURAC-EEBgroup/brick-llm/commit/e7535232410a7e81cbbc50a95da8067991ce020a)) | ||
* rdf parser from raw llm response ([740143e](https://github.com/EURAC-EEBgroup/brick-llm/commit/740143ece49cc2c10f97dd956c8b89d4238978aa)) | ||
* update config and states for hosting also the local model instructions ([4b85fc7](https://github.com/EURAC-EEBgroup/brick-llm/commit/4b85fc7d07d48fd287b8b99902f406cdc0fbe417)) | ||
* validate local llm (we need another function since the return node is different ([f228764](https://github.com/EURAC-EEBgroup/brick-llm/commit/f228764b5757c4f1c84714a2aee4321969d144c3)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **mermaid:** added correct output image path ([ff42d5a](https://github.com/EURAC-EEBgroup/brick-llm/commit/ff42d5a107c39c60e1ff5be0fa7354b27961e8c5)) | ||
* added StringIO conversion ([5698f49](https://github.com/EURAC-EEBgroup/brick-llm/commit/5698f49be5f1c2c0251f37816f890fb475e5a65e)) | ||
* dockerfile ([68c03bf](https://github.com/EURAC-EEBgroup/brick-llm/commit/68c03bfbf905ed101f025f3600fa6135d43c85c0)) | ||
* fixed how we pass llm in graph ([eaa1c03](https://github.com/EURAC-EEBgroup/brick-llm/commit/eaa1c03fe6641d4d12a0cc6e53c2061c34eccda4)) | ||
* fixed imports ([2e3ca0f](https://github.com/EURAC-EEBgroup/brick-llm/commit/2e3ca0f132e721641cd973614696985d70155bb0)) | ||
* moved env variable loading inside class ([3911bd9](https://github.com/EURAC-EEBgroup/brick-llm/commit/3911bd900120a49dd1a8c34e0eb36964544442ac)) | ||
* pre-defined namespace ([9ad2a09](https://github.com/EURAC-EEBgroup/brick-llm/commit/9ad2a09c453bfca0de983c7d6b3a1624f263506d)) | ||
* problem in iteration loop ([eac5cd6](https://github.com/EURAC-EEBgroup/brick-llm/commit/eac5cd617dec77af76e497f5a2b879cb729a8259)) | ||
* removed cache ([5a17fdd](https://github.com/EURAC-EEBgroup/brick-llm/commit/5a17fdd16500d402fd95ea94d31b2e0c5d98d690)) | ||
* replace '#' with '.' in prompts ([32d9923](https://github.com/EURAC-EEBgroup/brick-llm/commit/32d99239c05ee01922e7ba2ff51776dc0f3fb88a)) | ||
* unused imports ([35c9d8c](https://github.com/EURAC-EEBgroup/brick-llm/commit/35c9d8cda731d7bd2fef7e3f1a3f385a7d47e4d8)) | ||
|
||
|
||
### chore | ||
|
||
* add simpler building description ([57dcb2e](https://github.com/EURAC-EEBgroup/brick-llm/commit/57dcb2e3fc3f13e1194f1488d6fc27157a1dc6ce)) | ||
* modified cicd ([580199b](https://github.com/EURAC-EEBgroup/brick-llm/commit/580199bed69754fbaa0150c6789292dc20151b63)) | ||
* rename folder containers into finetuned ([0eca876](https://github.com/EURAC-EEBgroup/brick-llm/commit/0eca87685ca37e04e6a83d55fd54c7a3915edeb2)) | ||
|
||
|
||
### Docs | ||
|
||
* add logo to readme ([1f7d153](https://github.com/EURAC-EEBgroup/brick-llm/commit/1f7d1537e1270834e4c5e4c3ca462bb7d42e8aaa)) | ||
* add type validation ([2685307](https://github.com/EURAC-EEBgroup/brick-llm/commit/2685307f08e9ac6e3c4dcb53d6be132a8c2a599b)) | ||
* added all docstrings ([cede480](https://github.com/EURAC-EEBgroup/brick-llm/commit/cede480e5ca4a720df5422ba91930b6038c0e09c)) | ||
* added Dockerfile ([441df65](https://github.com/EURAC-EEBgroup/brick-llm/commit/441df65604ad4485b0f39c487dd779bdc0a001ec)) | ||
* added logo ([1987d44](https://github.com/EURAC-EEBgroup/brick-llm/commit/1987d440b6bfde8cbcf6d89199368f7ac793b007)) | ||
* improve installation readme ([56bf5f6](https://github.com/EURAC-EEBgroup/brick-llm/commit/56bf5f6f3c372ad6ebbdaad05c44b46855ed040e)) | ||
* improved example ([9b06758](https://github.com/EURAC-EEBgroup/brick-llm/commit/9b067584813f64c2b39436921f6e3ada40705a4d)) | ||
* improved readme ([b7788fa](https://github.com/EURAC-EEBgroup/brick-llm/commit/b7788faa31b36f09586eb699936dfdce4ee9d829)) | ||
* modified banner ([f01cb0e](https://github.com/EURAC-EEBgroup/brick-llm/commit/f01cb0e0085ff0013f58eafd052abbffad3717a8)) | ||
* modified custom example ([85074cc](https://github.com/EURAC-EEBgroup/brick-llm/commit/85074cc43697ee8f05e53c75e4b860bd5f894fff)) | ||
* new logo ([55b2508](https://github.com/EURAC-EEBgroup/brick-llm/commit/55b25084679f056ffbb22deceecf592a76eaab5a)) | ||
* save ttl ([50ee39f](https://github.com/EURAC-EEBgroup/brick-llm/commit/50ee39f2c6c26b29cbeac182f633995f60ba2c32)) | ||
* Update README.md with local llm example ([e7a7e8e](https://github.com/EURAC-EEBgroup/brick-llm/commit/e7a7e8e32ca4d31eabc9c5eddc5993ef802687cd)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,87 @@ | ||
[tool.poetry] | ||
name = "brickllm" | ||
version = "0.0.1" | ||
description = "Library for generating RDF files following BrickSchema ontology using LLM" | ||
authors = ["Marco Perini <[email protected]>", "Daniele Antonucci <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://brickllm.com/" | ||
repository = "https://github.com/EURAC-EEBgroup/brickllm-lib" | ||
documentation = "https://brickllm.com/docs" | ||
keywords = [ | ||
"brickllm", | ||
"brickschema", | ||
"rdf", | ||
"ontologies", | ||
"knowledge graph", | ||
"semantic web", | ||
"ai", | ||
"artificial intelligence", | ||
"gpt", | ||
"machine learning", | ||
"natural language processing", | ||
"nlp", | ||
"openai", | ||
"building automation", | ||
"iot", | ||
"graph", | ||
"ontology", | ||
] | ||
|
||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
packages = [{include = "brickllm"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<4.0" | ||
langgraph = "0.2.23" | ||
langchain_openai = "0.2.0" | ||
langchain-fireworks = "0.2.0" | ||
langchain-anthropic = "0.2.1" | ||
langchain_community = "0.3.0" | ||
langchain_core = "0.3.5" | ||
rdflib = ">=6.2.0,<7" | ||
pyshacl = "0.21" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.4" | ||
pytest-sugar = "*" | ||
pytest-cov = "*" | ||
black = "*" | ||
mypy = "*" | ||
ruff = "*" | ||
isort = "*" | ||
pre-commit = "*" | ||
types-setuptools = "^75.1.0.20240917" | ||
mkdocs = "^1.5" | ||
mkdocs-material = "^9.2" | ||
mkdocstrings-python = "^1.1" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py39"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
|
||
[tool.ruff.lint] | ||
select = ["F", "E", "W", "C"] | ||
ignore = ["E203", "E501"] # Ignore conflicts with Black | ||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
strict = true | ||
disallow_untyped_calls = true | ||
ignore_missing_imports = true | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.poetry] | ||
name = "brickllm" | ||
version = "1.0.0" | ||
description = "Library for generating RDF files following BrickSchema ontology using LLM" | ||
authors = ["Marco Perini <[email protected]>", "Daniele Antonucci <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://brickllm.com/" | ||
repository = "https://github.com/EURAC-EEBgroup/brickllm-lib" | ||
documentation = "https://brickllm.com/docs" | ||
keywords = [ | ||
"brickllm", | ||
"brickschema", | ||
"rdf", | ||
"ontologies", | ||
"knowledge graph", | ||
"semantic web", | ||
"ai", | ||
"artificial intelligence", | ||
"gpt", | ||
"machine learning", | ||
"natural language processing", | ||
"nlp", | ||
"openai", | ||
"building automation", | ||
"iot", | ||
"graph", | ||
"ontology", | ||
] | ||
|
||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
packages = [{include = "brickllm"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<4.0" | ||
langgraph = "0.2.23" | ||
langchain_openai = "0.2.0" | ||
langchain-fireworks = "0.2.0" | ||
langchain-anthropic = "0.2.1" | ||
langchain_community = "0.3.0" | ||
langchain_core = "0.3.5" | ||
rdflib = ">=6.2.0,<7" | ||
pyshacl = "0.21" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.4" | ||
pytest-sugar = "*" | ||
pytest-cov = "*" | ||
black = "*" | ||
mypy = "*" | ||
ruff = "*" | ||
isort = "*" | ||
pre-commit = "*" | ||
types-setuptools = "^75.1.0.20240917" | ||
mkdocs = "^1.5" | ||
mkdocs-material = "^9.2" | ||
mkdocstrings-python = "^1.1" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py39"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
|
||
[tool.ruff.lint] | ||
select = ["F", "E", "W", "C"] | ||
ignore = ["E203", "E501"] # Ignore conflicts with Black | ||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
strict = true | ||
disallow_untyped_calls = true | ||
ignore_missing_imports = true | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |