Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] support new feature : generalize the corpus based on Qwen llm #2

Open
wants to merge 106 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
064dc98
first commit
Panghy1106 Aug 2, 2024
1f142b1
prompt generator: Node,ReturnBody Parse finished
Panghy1106 Aug 5, 2024
64feeb1
[UPDATE]pprompt_fenerator: Node & ReturnBody test success
Panghy1106 Aug 5, 2024
599cd6a
[REMOVE]: delete unuseful antlr java files
Panghy1106 Aug 5, 2024
30a9c56
[ADD] generate_dataset.py first commit!
Panghy1106 Aug 5, 2024
95c9ade
class schema basic implementation
Panghy1106 Aug 7, 2024
3cbef73
class schema basic implementation
Panghy1106 Aug 7, 2024
e03cecf
[ADD]: first data commit
Panghy1106 Aug 8, 2024
1dfea6d
[UPDATE]: readme
Panghy1106 Aug 9, 2024
8632d6a
Parse WHERE keyword success
Panghy1106 Aug 14, 2024
d92b281
[ADD]: add config system
Panghy1106 Aug 14, 2024
e6a9085
[UPDATE]: config system
Panghy1106 Aug 14, 2024
8192aaf
[UPDATE]: support Chinese cypher
Panghy1106 Aug 14, 2024
9515525
[UPDATE]: support ? in prompt generator
Panghy1106 Aug 14, 2024
1736c47
[ADD]: query generator first commit, match pattern generate test success
Panghy1106 Aug 15, 2024
e38c7bc
[ADD]: querygenerator support return
Panghy1106 Aug 15, 2024
6fc4cb7
[UPDATE]: support the_three_body db
Panghy1106 Aug 16, 2024
c2f0df2
[REMOVE]: ./data/
Panghy1106 Aug 19, 2024
0f5209f
[ADD]: support run.sh
Panghy1106 Aug 22, 2024
3a33792
[ADD]: supprt run.sh
Panghy1106 Aug 22, 2024
fde70dd
[UPDATE]: update readme, support run.sh
Panghy1106 Aug 22, 2024
edc6725
[UPDATE]: format the code with black
Panghy1106 Aug 22, 2024
6796d8f
[UPDATE]: change variable names from small humps to lowercase undersc…
Panghy1106 Aug 22, 2024
db9afb1
[REMOVE]: remove /output
Panghy1106 Aug 24, 2024
c57e12c
[REMOVE]: remove Chinese text
Panghy1106 Aug 27, 2024
5146f1f
[REMOVE]: remove useless utils
Panghy1106 Aug 27, 2024
3f060a1
[UPDATE]: support setup.py
Panghy1106 Aug 27, 2024
fdce55f
[UPDATE]: support setup.py
Panghy1106 Aug 27, 2024
6f30173
[UPDATE]: add ./output
Panghy1106 Aug 27, 2024
4f7c9fa
[UPDATE]: add ./output
Panghy1106 Aug 27, 2024
3ff7639
[UPDATE]:change function name
Panghy1106 Aug 27, 2024
d828fa3
[UPDATE] change vir env name
Panghy1106 Aug 29, 2024
624bfdf
[ADD]: add generalization based on llm
Panghy1106 Aug 31, 2024
d24c668
[ADD]: add Corpus generalization in readme
Panghy1106 Sep 2, 2024
281cfca
[ADD]: add Corpus generalization in readme
Panghy1106 Sep 2, 2024
c06b49c
[ADD]: add Corpus generalization in readme
Panghy1106 Sep 2, 2024
f6139a9
[ADD]: add Corpus generalization in readme
Panghy1106 Sep 2, 2024
b1de7c1
[UPDATE]: generalization based on llm implementation
Panghy1106 Sep 5, 2024
15f2155
[UPDATE]: support generate dataset in dir,support generalize into jso…
Panghy1106 Sep 5, 2024
e5b45ea
[BUGFIX]: support multi inputs into json
Panghy1106 Sep 5, 2024
80fdd60
[FORMAT] format with black
Panghy1106 Sep 6, 2024
ba6326d
Merge branch 'master' into dev
Panghy1106 Sep 6, 2024
926be24
Merge pull request #1 from Panghy1106/dev
Panghy1106 Sep 6, 2024
78f0a0d
[BUGFIX & UPDATE]: genQuery: only one property in Match clause and th…
Panghy1106 Sep 12, 2024
3170519
[ADD] generate multi prompts according to cypher( need to generate pr…
Panghy1106 Sep 12, 2024
fa4d7ea
[UPDATE]: change the output format of genQuery
Panghy1106 Sep 13, 2024
c1b767e
[UPDATE] fix bug
Panghy1106 Sep 15, 2024
aa94667
[UPDATE] support run by sh scripts
Panghy1106 Sep 18, 2024
c283662
[UPDATE]: update readme
Panghy1106 Sep 18, 2024
c8bd368
[UPDATE]: update readme
Panghy1106 Sep 18, 2024
5f1f420
[UPDATE]: update readme
Panghy1106 Sep 18, 2024
0284fe4
[UPDATE]: update readme
Panghy1106 Sep 18, 2024
f0d2d3d
[ADD]: add tqdm
Panghy1106 Sep 18, 2024
20f2768
[BUGFIX]: generalize corpus in batch
Panghy1106 Sep 19, 2024
b055afe
[FORMAT]
Panghy1106 Sep 19, 2024
a038157
[UPDATE] fix intsallation of setup.py
Panghy1106 Sep 19, 2024
0d8dfc8
[UPDATE] update git url
Panghy1106 Sep 26, 2024
149c7f6
[BUGFIX]:fix gen_desc() when deal node and edge with no property
Panghy1106 Sep 26, 2024
8a4eb62
Merge branch 'master' of https://github.com/Panghy1106/Awesome-Text2G…
Panghy1106 Sep 26, 2024
71c27f3
[CONFICT & UPDATE]: update git url
Panghy1106 Sep 26, 2024
dc70c8e
[ADD] support multi-parts pattern
Panghy1106 Oct 10, 2024
c72a283
[BUGFIX]: dupliactes for multi parts pattern
Panghy1106 Oct 11, 2024
ad4b621
[ADD] support SET
Panghy1106 Oct 11, 2024
8e1fbb5
[ADD] support SET finished
Panghy1106 Oct 12, 2024
a7fb55f
[ADD] support simple CREATE cluase with only CREATE
Panghy1106 Oct 12, 2024
f5c04e2
[ADD] support CREATE cluase for create a node or an vertex
Panghy1106 Oct 14, 2024
1e7f6b6
[ADD] support MERGE,REMOVE,DELETE operators
Panghy1106 Oct 15, 2024
1dacde4
[ADD] support multi update cluase
Panghy1106 Oct 15, 2024
8f020e8
[BUGFIX]: support multi update clause
Panghy1106 Oct 16, 2024
7ccfd5f
[FORMAT] check and format before merge the PR
Panghy1106 Oct 16, 2024
a9fc67e
[ADD]: support multi PatternElementChain
Panghy1106 Oct 17, 2024
eeb7580
[BUGFIX] fix CREATE&MERGE clause required properties
Panghy1106 Oct 22, 2024
5959cc6
[CONFILICT] save temp codes
Panghy1106 Oct 23, 2024
51e6b3e
[CONFLICT]: solve merge conflicts
Panghy1106 Oct 23, 2024
822a8f4
Merge branch 'TuGraph-family:master' into master
Panghy1106 Oct 23, 2024
51bc0b4
Merge pull request #2 from Panghy1106/dev_rebase
Panghy1106 Oct 23, 2024
51a0961
[BUGFIX]
Panghy1106 Oct 24, 2024
1f41cd3
[BUGFIX]
Panghy1106 Oct 24, 2024
bd388e4
[BUGFIX & FORMAT]: support set output_dir
Panghy1106 Oct 25, 2024
d36f38a
[BUGFIX & FORMAT]: support set output_dir
Panghy1106 Oct 25, 2024
f246355
Merge branch 'TuGraph-family:master' into master
Panghy1106 Oct 25, 2024
aa3376c
Merge branch 'master' into dev_demo
Panghy1106 Oct 25, 2024
3a07b5c
[BUGFIX] fix get instance ()<-()
Panghy1106 Oct 25, 2024
62076f6
[CONFLICT] merge
Panghy1106 Oct 25, 2024
704607c
[BUGFIX] fix find instace of mactched_label_list
Panghy1106 Oct 27, 2024
dbfcc76
[CONFLICT]
Panghy1106 Oct 27, 2024
35a3e85
[ADD] demo first init
Panghy1106 Oct 28, 2024
a612252
[ADD] demo first init
Panghy1106 Oct 28, 2024
90b415b
[ADD]: demo test
Panghy1106 Oct 28, 2024
dfed104
[ADD]: demo test
Panghy1106 Oct 28, 2024
3ff7b93
[ADD] test demo.gif
Panghy1106 Oct 28, 2024
fe8fa15
[ADD] test demo
Panghy1106 Oct 28, 2024
51a8d6e
[ADD] test demo
Panghy1106 Oct 28, 2024
79527fe
[ADD] test demo
Panghy1106 Oct 28, 2024
a4c5e1a
[ADD]: stash README.md
Panghy1106 Oct 29, 2024
930994a
[ADD]: stash README.md
Panghy1106 Oct 29, 2024
551ee7d
stash README.md
Panghy1106 Oct 29, 2024
95864c9
stash README.md
Panghy1106 Oct 29, 2024
19db480
stash README.md
Panghy1106 Oct 29, 2024
859c8cd
[ADD] stash readme
Panghy1106 Oct 29, 2024
1aed6be
[ADD] add READE.md
Panghy1106 Oct 29, 2024
b66f2f0
[ADD] add READE.md
Panghy1106 Oct 29, 2024
9db7aad
[ADD] add demo
Panghy1106 Oct 29, 2024
7d829b9
[ADD] add README, fix installing python3.10 and cython
Panghy1106 Oct 29, 2024
bae324a
merge
Panghy1106 Oct 30, 2024
fb00939
[ADD] demo
Panghy1106 Oct 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ nvidia-smi
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

# verify
conda --version

Expand Down
7 changes: 7 additions & 0 deletions demo/rpc_client.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import liblgraph_client_python

client = liblgraph_client_python.client("127.0.0.1:9090", "admin", "73@TuGraph")

ret, res = client.callCypher("MATCH (n) RETURN n LIMIT 1", 'MovieDemo1') # cypher, graph
if ret:
print(res)