GCN-GRAPHDB-RETRIEVER-MAIN
以下是关于GCN-graphdb-retriever的介绍
| 方法 | 描述 |
|---|---|
| subject_pipeline | 提取GCN相关信息 |
| gcn_graph_builder | 构建知识图谱 |
使用方法讲解
通过pip安装
pip install GCN-Graphdb-Retriever
1.直接在代码中进行应用
from gcn_graphdb_retriever import subject_KEE_pipeline
from gcn_graphdb_retriever import gcn_graph_builder
def main():
in_filepath = "tests/archive.txt.tar.gz"
out_filepath = "tests/model_test.txt"
examples_filepath = "tests/subject_parser_examples.json"
model = "qwen3:14b"
silent_errors = False
examples_num = 1
subject_KEE_pipeline.subject_pipeline(in_filepath, out_filepath, examples_filepath, model, silent_errors, examples_num)
in_filepath = "tests/model_test.txt"
silent_errors = False
gcn_graph_builder(in_filepath, silent_errors)
if __name__ == "__main__":
main()
3.通过命令行调用
ps@ps:~/桌面/Vscode_test/gcn-graphdb-retriever-main(1)/gcn-graphdb-retriever-main$ uv run subject_KEE_pipeline -i tests/archive.txt.tar.gz -o tests/model_test.txt --examples tests/subject_parser_examples.json
Metadata
Release files for gcn-graphdb-retriever 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcn_graphdb_retriever-0.1.0.tar.gz | 27.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcn_graphdb_retriever-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.5 MB
Release files / gcn_graphdb_retriever-0.1.0.tar.gz
| Download URL | gcn_graphdb_retriever-0.1.0.tar.gz |
|---|---|
| Size | 27.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82a4dbb793586dbef99628ed42886c5d138ff24d46f19ff60b1774d352993e9a
|
|
BLAKE2b-256 checksum How to use checksums |
a7e7d89005edd5a16b77addac0ab6ada4a59e9d05b4778422d931c9a83e8b402
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / gcn_graphdb_retriever-0.1.0-py3-none-any.whl
| Download URL | gcn_graphdb_retriever-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52f1951204dda4e06dcd1f7432746a576f1d95fe7f86e9e1657ccc324281706c
|
|
BLAKE2b-256 checksum How to use checksums |
15c343284d15079afd2c14ae89b984ba7dcfe7f1d05c75a15f01c009eb1b9e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|