Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EpistasisLab/KRAGEN
/ types & classes
Types & classes
33 in github.com/EpistasisLab/KRAGEN
⨍
Functions
304
◇
Types & classes
33
↳
Endpoints
19
↓ 8 callers
Class
Thought
Represents an LLM thought with its state, constructed by the parser, and various flags.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/thought.py:15
↓ 3 callers
Class
AIConn
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconn.py:5
↓ 2 callers
Class
Generate
Operation to generate thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:391
↓ 1 callers
Class
ALZKBParser
ALZKBParser provides the parsing of language model reponses specific to the ALZKB example. Inherits from the Parser class and implements
KRAGEN_Dashboard/Backend/got.py:555
↓ 1 callers
Class
ALZKBPrompter
ALZKBPrompter provides the generation of prompts specific to the ALZKB example for the language models. Inherits from the Prompter class
KRAGEN_Dashboard/Backend/got.py:50
↓ 1 callers
Class
Score
Operation to score thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:154
↓ 1 callers
Class
Selector
Operation to select thoughts from predecessors. Useful for separating thoughts to perform different, subsequent operations on them.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:905
↓ 1 callers
Class
WeaviateClient
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:10
Class
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:8
Class
AbstractLanguageModel
Abstract base class that defines the interface for all language models.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/abstract_language_model.py:16
Class
Aggregate
Operation to aggregate thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:601
Class
AzureGPT
The ChatGPT class handles interactions with the OpenAI models using the provided configuration. Inherits from the AbstractLanguageModel and
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:21
Class
ChatGPT
The ChatGPT class handles interactions with the OpenAI models using the provided configuration. Inherits from the AbstractLanguageModel and
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/chatgpt.py:20
Interface
Cluster
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/types.ts:11
Class
Controller
Controller class to manage the execution flow of the Graph of Operations, generating the Graph Reasoning State. This involves language mo
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/controller/controller.py:18
Interface
Dataset
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/types.ts:22
Interface
DisplayGraphProps
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/index.tsx:64
Class
ErrorBoundary
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:8
Interface
ErrorBoundaryState
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:3
Interface
FiltersState
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/types.ts:31
Class
GraphOfOperations
Represents the Graph of Operations, which prescribes the execution plan of thought operations.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/graph_of_operations.py:15
Class
GroundTruth
Operation to evaluate if thoughts correctly solve the problem, using a ground truth evaluator
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:841
Class
Improve
Operation to improve thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:545
Class
KeepBestN
Operation to keep the best N thoughts from predecessors based on their score.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:677
Class
KeepValid
Operation to keep valid thoughts from predecessors.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:777
Class
Llama2HF
An interface to use LLaMA 2 models through the HuggingFace library.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/llamachat_hf.py:15
Interface
NodeData
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/types.ts:1
Class
Operation
Abstract base class that defines the interface for all operations.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:38
Class
OperationType
Enum to represent different operation types that can be used as unique identifiers.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:22
Class
Parser
Abstract base class that defines the interface for all parsers. Parsers are used to parse the responses from the language models.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/parser/parser.py:14
Class
Prompter
Abstract base class that defines the interface for all prompters. Prompters are used to generate the prompts for the language models.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/prompter/prompter.py:14
Interface
Tag
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/types.ts:17
Class
ValidateAndImprove
Operation to validate and improve thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:269