Project structure of: spcl/graph-of-thoughts
doc_merge.pyEfficient NDA merging with language model and redundancy handling.plot.pyPlot script, imports, sorts, plots boxplots and bars.pure_documents.jsonCompany-supplier agreement discussions, covering various aspects.README.mdDocument merging methods comparison with debug logs.
dataset_gen_countries.pyGenerate dataset for country occurrences using language modelplot.pyPython script for plotting boxplots, bar charts from JSON data.README.mdCount frequency methods for countries in text
README.mdRunnable examples for Graph of Thoughts package with standalone scripts and prompt files.dataset_gen_intersection.pyShuffles, generates sets, calculates intersections.plot.pyBoxplot generator for AI method resultsREADME.mdSet intersection data generator and visualizer.utils.pySet intersection utility functions and test case.
plot.pySorts, plots, customizes boxplots for sorting algorithms.README.mdSorting algorithm examples in Python.utils.pySorting utility functions, list conversion and testing.
__init__.pyImports Controller class from package's controller module.controller.pyGraph processing controller for language models.README.mdController class manages graph execution with LLM, custom prompter, parser.
__init__.pyImports language model classes from submodulesabstract_language_model.pyAbstract Language Model Class Definedchatgpt.pyChatGPT class for OpenAI's chat API, multi-response support.config_template.jsonLanguage model configuration templatellamachat_hf.pyLLaMA 2 model for text generation init.README.mdLanguage Models module for GPT-4, GPT-3.5, and Llama-2
__init__.pyImports classes for operations in graph-of-thoughts.graph_of_operations.pyGraph of Operations: Manages operation execution plansoperations.pyGraph of Thoughts operations preservation.README.mdManage thought operations with language models and helper classes.thought.pyThought class: LLM operation, state, score.
__init__.pyImport Parser class from "parser" module for easier usage.parser.pyAbstract class with 3 parsing methods for language model responses using thought states and texts.
__init__.pyImports Prompter class from "prompter" module.prompter.pyGenerate prompt language model.
plots.pyGenerate customized boxplots with Python and JSON dataREADME.mdUnpack, execute plots.py for arXiv preprint data visualization
pyproject.tomlPython package settings with Hatchling and entry point.README.mdGoT framework: Python language model for sorting and JSON graphs