MCPcopy Create free account

hub / github.com/EpistasisLab/KRAGEN / functions

Functions304 in github.com/EpistasisLab/KRAGEN

↓ 1 callersMethodquery_with_hybrid
(self, properties=["knowledge"], near_vector=[], near_text='', additional="score", autocut=5)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:89
↓ 1 callersFunctionread_file
(input_csv_file, chunk_size=5)
src/convert.py:16
↓ 1 callersFunctionrefreshValues
()
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:21
↓ 1 callersFunctionremoveCorChat
(e)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/SideMenu.js:578
↓ 1 callersMethodrender
()
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:23
↓ 1 callersFunctionsave_csv
(ddf, directory, filename)
src/convert.py:294
↓ 1 callersFunctionsetBoldUnderlineAndInitTraIc
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/SideMenu.js:690
↓ 1 callersFunctionsetDefaultsForUI
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/SideMenu.js:176
↓ 1 callersMethodset_config
(self)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconn.py:18
↓ 1 callersFunctionset_key
(service, key)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/config_util.py:18
↓ 1 callersFunctionsetup
(filename, configure_backend=True)
src/k_setup.py:13
↓ 1 callersFunctiontokenChekcerForGPT3Point5Turbo
(chatLogNewFormatFiltered)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:162
↓ 1 callersFunctionupload
()
src/upload.py:100
↓ 1 callersFunctionuseDebounce
(value: T, delay: number)
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/use-debounce.ts:3
↓ 1 callersMethodvalidation_prompt
Generate a validation prompt for the language model. The thought state is unpacked to allow for additional keyword arguments
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/prompter/prompter.py:62
FunctionApp
()
KRAGEN_Dashboard/Frontend/src/index.tsx:19
FunctionChatGPT
({ experiment })
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:40
FunctionClustersPanel
({ clusters, filters, toggleCluster, setClusters })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/ClustersPanel.tsx:15
FunctionDescriptionPanel
({ descriptionForClickedNode, setDescriptionForClickedNode, chatCurrentTempId, })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/DescriptionPanel.tsx:10
FunctionDisplayGraph
({ chatInputForGOT, readyToDisplayGOT, setReadyToDisplayGOT, chatCurrentTempId, setGotLoaded, data
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/index.tsx:80
FunctionGraphDataController
({ dataset, filters, children, })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphDataController.tsx:7
FunctionGraphEventsController
({ setHoveredNode, setHoveredEdge, setHoveredEdgeLabel, setDescriptionForClickedNode, children, })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:13
FunctionGraphSettingsController
({ children, hoveredNode })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphSettingsController.tsx:12
FunctionGraphTitle
({ filters })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphTitle.tsx:10
FunctionPanel
({ title, initiallyDeployed, children, })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/Panel.tsx:7
FunctionResizableDiv
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:5
FunctionSearchField
({ filters })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:14
FunctionTagsPanel
({ tags, filters, toggleTag, setTags })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/TagsPanel.tsx:15
Method__init__
Inits the prompter.
KRAGEN_Dashboard/Backend/got.py:343
Method__init__
Inits the response cache.
KRAGEN_Dashboard/Backend/got.py:563
Method__init__
(self, config_path)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:11
Method__init__
Initialize the ChatGPT instance with configuration, model details, and caching options. :param config_path: Path to the configuratio
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/chatgpt.py:27
Method__init__
Initialize the ChatGPT instance with configuration, model details, and caching options. :param config_path: Path to the configuratio
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:28
Method__init__
Initialize the AbstractLanguageModel instance with configuration, model details, and caching options. :param config_path: Path to th
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/abstract_language_model.py:21
Method__init__
Initialize an instance of the Llama2HF class with configuration, model details, and caching options. :param config_path: Path to the
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/llamachat_hf.py:20
Method__init__
Initialize the Controller instance with the language model, operations graph, prompter, parser, and problem parameters. :par
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/controller/controller.py:25
Method__init__
Initializes a new Operation instance with a unique id, and empty predecessors and successors.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:47
Method__init__
Initializes a new ValidateAndImprove operation. :param num_samples: Number of samples to use for validation. Defaults to 1.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:276
Method__init__
Initializes a new Generate operation. :param num_branches_prompt: Number of responses that each prompt should generate (passed to pr
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:398
Method__init__
Initializes a new Improve operation.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:552
Method__init__
Initializes a new Aggregate operation. :param num_responses: Number of responses to use for aggregation. Defaults to 1. :typ
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:608
Method__init__
Initializes a new KeepBestN operation. :param n: Maximum number of thoughts to keep. :type n: int :param higher_is_b
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:684
Method__init__
Initializes a new KeepValid operation.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:784
Method__init__
Initializes a new GroundTruth operation. :param ground_truth_evaluator: A function to evaluate if a thought solves the problem.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:848
Method__init__
Initializes a new Selector operation. :param selector: A function to select thoughts from the predecessors' thoughts. :type
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:913
Method__init__
Initializes a new Graph of Operations instance with empty operations, roots, and leaves. The roots are the entry points in the graph
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/graph_of_operations.py:20
Method__init__
Initializes a new Thought instance with a state and various default flags. :param state: The state of the thought. Defaults to None.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/thought.py:22
Method__new__
(cls, *args, **kwargs)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconn.py:8
Method_execute
Executes the scoring operation by scoring the thoughts from the predecessors. If combined scoring is used, the thoughts are scored to
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:197
Method_execute
Executes the ValidateAndImprove operation by validating and improving the predecessors' thoughts. If a validation function is provide
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:311
Method_execute
Executes the Generate operation by generating thoughts from the predecessors. The thoughts are generated by prompting the LM with the
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:423
Method_execute
Executes the Improve operation by improving the predecessors' thoughts. The thoughts are improved by prompting the LM with the predec
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:568
Method_execute
Executes the Aggregate operation by aggregating the predecessors' thoughts. The thoughts are aggregated by prompting the LM with the
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:628
Method_execute
Executes the KeepBestN operation by keeping the best N thoughts from the predecessors according to their score. :param lm: The langu
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:744
Method_execute
Executes the KeepValid operation by keeping the valid thoughts from the predecessors. Keeps unvalidated thoughts as well. :p
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:800
Method_execute
Executes the GroundTruth operation by evaluating the predecessors' thoughts using the ground truth evaluator function. :param lm: Th
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:868
Method_execute
Executes the Selector operation by selecting thoughts from the predecessors using the selector function. If the Selector has no prede
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:933
FunctionaddComments
(codeSnippet)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:119
Functionadd_chatlog
(chatlog)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:126
Functionadd_generated_files
(run_dir)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:119
Methodadd_operation
Add an operation to the graph considering its predecessors and successors. Adjust roots and leaves based on the added operation's pos
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/graph_of_operations.py:47
Functionaddchatlog
()
KRAGEN_Dashboard/Backend/ExecGPTServer/server.py:55
Methodaggregation_prompt
Generate an aggregation prompt for the language model. :param state_dicts: The thought states that should be aggregated. :ty
KRAGEN_Dashboard/Backend/got.py:375
FunctionautoScrollDown
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:522
Functionchat
(chat_id=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:23
FunctionchatLogProvider
({children})
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/context/chatLogContext.js:5
Functionchat_completions
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/openai.py:10
Functionchat_completions
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/routes_old.py:32
Functionchatids
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:129
Functionchatlogs
(chat_id, chatlog_id=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:69
FunctioncheckCodePackages
(packagesArray)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:665
FunctioncheckIfCode
(messageFromOpenai)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:1
FunctioncheckStatus
(response)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:849
FunctionclearChat
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:333
Methodclear_cache
Clear the response cache.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/abstract_language_model.py:62
FunctionclickEdge
({ edge })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:89
FunctionclickNode
({ node })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:30
Functionclose_db
(e=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/db/db.py:18
Functioncompare_answers
(answer, ground_truth)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:234
MethodcomponentDidCatch
(error: Error, errorInfo: React.ErrorInfo)
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:14
Functioncondense_knowledge
(knowledge_array)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:204
Functionconnections
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/routes_old.py:7
Methodconstructor
(props: {})
KRAGEN_Dashboard/Frontend/src/components/ErrorBoundary.tsx:9
FunctionconvertToOfficialPackageName
( listOfOfficialPackageName, packagesNotInstalled )
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:81
Functioncount
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:121
Functioncount_chatids
()
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:217
Functioncreate_app
()
KRAGEN_Dashboard/Backend/ExecGPTServer/__init__.py:7
Functioncreate_app
(test_config=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/__init__old.py:5
Functioncreate_chat
(title)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:4
Functioncreate_code_run_dir
(execution_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:106
Functioncreate_config
(service, key)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/config_util.py:4
Functioncreate_config
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/api.py:12
Functioncreate_execution
(src_code)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:9
Functiondelete_chat
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:33
FunctiondisableReadingInput
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:175
FunctiondoDrag
(dragEvent)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:16
FunctiondrawLabel
( context: CanvasRenderingContext2D, data: PartialButFor<NodeDisplayData, "x" | "y" | "size" | "label" | "
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/others/canvas-utils.ts:95
FunctionenableReadingInput
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:191
FunctionencQuestion
(question)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:428
FunctionenterEdge
({ edge })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:66
← previousnext →101–200 of 304, ranked by callers