Skip to content

Commit b6fdc4b

Browse files
committed
Add an example workflow.
1 parent 4b35c55 commit b6fdc4b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

inst/example_workflow.R

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
# remotes::install_github("r-world-devs/GitStats@devel")
2-
3-
gitai_demo <- initialize_project("gitai-demo-2") |>
4-
set_database(index = "gitai-mb") |>
1+
gitai_demo <- initialize_project("gitai-tests") |>
2+
set_database(index = "gitai-mb",
3+
namespace = "gitai-demo-2") |>
54
set_github_repos(
6-
orgs = "pharmaverse"
5+
orgs = "r-world-devs"
76
) |>
87
add_files(files = "\\.md") |>
98
set_llm() |>
109
set_prompt("Provide a one-two sentence description of the product based on input.")
1110

1211
process_repos(gitai_demo)
12+
13+
gitai_demo$db$find_records("Find package with which I can plot data.")
14+
15+
gitai_demo$db$read_record("GitStats")

0 commit comments

Comments
 (0)