Add your description here
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gcn_graphdb_retriever-0.1.0.tar.gz.
File metadata
- Download URL: gcn_graphdb_retriever-0.1.0.tar.gz
- Upload date:
- Size: 27.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82a4dbb793586dbef99628ed42886c5d138ff24d46f19ff60b1774d352993e9a
|
|
| MD5 |
dbd0201e33b61dadf73f075fc497a1a8
|
|
| BLAKE2b-256 |
a7e7d89005edd5a16b77addac0ab6ada4a59e9d05b4778422d931c9a83e8b402
|
File details
Details for the file gcn_graphdb_retriever-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gcn_graphdb_retriever-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52f1951204dda4e06dcd1f7432746a576f1d95fe7f86e9e1657ccc324281706c
|
|
| MD5 |
d5a2feb8822a76ca4de1966b504eb987
|
|
| BLAKE2b-256 |
15c343284d15079afd2c14ae89b984ba7dcfe7f1d05c75a15f01c009eb1b9e6c
|