Skip to main content

Scripts

There are predefined scrpts that launch TrustGraph actions. The scripts are run with:

scripts/<script-name-here>

All scripts also have built-in help documentation:

scripts/<script-name-here> --help

Here is the list of TrustGraph scripts:

  • chunker-recursive
  • chunker-token
  • embeddings-hf
  • embeddings-ollama
  • embeddings-vectorize
  • ge-write-qdrant
  • graph-rag
  • graph-show
  • graph-to-turtle
  • init-pulsar-manager
  • kg-extract-definitions
  • kg-extract-relationships
  • load-pdf
  • load-text
  • pdf-decoder
  • prompt-generic
  • query
  • query-graph-rag
  • run-processing
  • text-completion-azure
  • text-completion-bedrock
  • text-completion-claude
  • text-completion-cohere
  • text-completion-llamafile
  • text-completion-ollama
  • text-completion-openai
  • text-completion-vertexai
  • triples-query-cassandra
  • triples-query-neo4j
  • triples-write-cassandra
  • triples-write-neo4j
  • triples-dump-parquet
  • ge-dump-parquet
  • concat-parquet
  • dump-parquet
  • load-graph-embeddings
  • load-triples

Test Scripts​

There are predefined scripts that launch TrustGraph test actions. The test scripts are run with:

tests/<test-script-name-here>

Here is the list of TrustGraph test scripts:

  • test-embeddings
  • test-graph-rag
  • test-graph-rag2
  • test-llm
  • test-qdrant
  • report-chunk-sizes
  • test-graph-embeddings
  • test-lang-definition
  • test-lang-kg-prompt
  • test-lang-relationships
  • test-triples