Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gcn_graphdb_retriever-0.1.0.tar.gz (27.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcn_graphdb_retriever-0.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file gcn_graphdb_retriever-0.1.0.tar.gz.

File metadata

File hashes

Hashes for gcn_graphdb_retriever-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82a4dbb793586dbef99628ed42886c5d138ff24d46f19ff60b1774d352993e9a
MD5 dbd0201e33b61dadf73f075fc497a1a8
BLAKE2b-256 a7e7d89005edd5a16b77addac0ab6ada4a59e9d05b4778422d931c9a83e8b402

See more details on using hashes here.

File details

Details for the file gcn_graphdb_retriever-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gcn_graphdb_retriever-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52f1951204dda4e06dcd1f7432746a576f1d95fe7f86e9e1657ccc324281706c
MD5 d5a2feb8822a76ca4de1966b504eb987
BLAKE2b-256 15c343284d15079afd2c14ae89b984ba7dcfe7f1d05c75a15f01c009eb1b9e6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page