MCPcopy Create free account

hub / github.com/EpistasisLab/KRAGEN / functions

Functions304 in github.com/EpistasisLab/KRAGEN

FunctionenterNode
({ node })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:54
Functionexecutions
(execution_id=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/execapi.py:14
FunctionextractCode
(messageFromOpenai)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:15
FunctionextractPackagesOfCode
(code)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:29
FunctionextractUsefulInfoFromData
(data_origin_converted, query)
src/make_vector.py:69
FunctionfilterRedHRYChatlogs
(data)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:58
Functiongenerate_error
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:537
Methodgenerate_prompt
Generate a generate prompt for the language model. :param num_branches: The number of responses the prompt should ask the LM to gene
KRAGEN_Dashboard/Backend/got.py:401
FunctiongetChatTitle
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:48
FunctiongetEngines
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:338
FunctiongetFilesURLs
(file_id)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:824
FunctiongetSpecificChatbyChatId
(current_chatTapID)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:557
FunctiongetTokenUsage
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:864
FunctiongetVES
(question)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:474
Functionget_answer
(question,knowledge_array,temperature = 0, model = "gpt-35-turbo-16k")
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:142
Functionget_chat
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:92
Functionget_chat_title
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:46
Functionget_chatids
()
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:231
Functionget_chatlogs
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:109
Functionget_class
(class_name)
src/upload.py:31
Functionget_config
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:79
Functionget_embedding
(api_key,api_base,api_version,deployment_name, text_to_embed)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/azure_embedding.py:3
Methodget_embedding
(self, text_to_embed)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:164
Functionget_execution
(execution_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:29
Methodget_final_thoughts
Retrieve the final thoughts after all operations have been executed. :return: List of thoughts for each operation in the graph's lea
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/controller/controller.py:93
Functionget_packages
()
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:133
Methodget_response_texts
Extract the response texts from the query response. :param query_response: The response dictionary (or list of dictionaries) from th
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:145
Methodget_response_texts
Abstract method to extract response texts from the language model's response(s). :param query_responses: The responses returned from
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/abstract_language_model.py:83
Methodget_response_texts
Extract the response texts from the query response. :param query_responses: The response list of dictionaries generated from the `qu
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/llamachat_hf.py:110
Functionget_score_from_comparison
(comparison)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:265
Methodget_thoughts
Abstract method to retrieve the thoughts associated with the operation. This should be implemented in derived classes. :retu
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:143
Methodget_thoughts
Returns the list of final thoughts, after validation and improvement. :return: List of final validated and improved thoughts.
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:302
Methodget_thoughts
Returns the thoughts associated with the operation. :return: List of generated thoughts. :rtype: List[Thought]
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:414
Methodget_thoughts
Returns the thoughts associated with the operation after improvement. :return: List of improved thoughts. :rtype: List[Thoug
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:559
Methodget_thoughts
Returns the thoughts associated with the operation after aggregation. :return: List of aggregated thoughts. :rtype: List[Tho
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:619
Methodget_thoughts
Returns the thoughts kept by the operation. :return: List of kept thoughts. :rtype: List[Thought]
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:735
Methodget_thoughts
Returns the thoughts kept by the operation. :return: List of kept thoughts. :rtype: List[Thought]
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:791
Methodget_thoughts
Returns the thoughts associated with the operation. :return: List of evaluated thoughts. :rtype: List[Thought]
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:859
Methodget_thoughts
Returns the thoughts selected by the operation. :return: List of selected thoughts. :rtype: List[Thought]
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/operations.py:924
Functionget_unique_nodes_no_dask
(df)
src/convert.py:30
Functiongetchatlogs
()
KRAGEN_Dashboard/Backend/ExecGPTServer/server.py:38
Functiongot
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:137
Functiongot_test_return_json
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:357
FunctionhandleChattapClick
(e)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/SideMenu.js:62
FunctionhandleDrag
(e)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:9
FunctionhandleMouseMove
(e: { clientX: any; clientY: any })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/index.tsx:130
FunctionhandleTemp
(temp)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:527
FunctionhandletoggleDisplayGraph
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ChatBox.js:53
Methodimprove_prompt
Generate an improve prompt for the language model. :param kwargs: Additional keyword arguments. :return: The improve prompt.
KRAGEN_Dashboard/Backend/got.py:514
Functionindex
()
KRAGEN_Dashboard/Backend/ExecGPTServer/server.py:29
Functioninit_app
(app)
KRAGEN_Dashboard/Backend/ExecGPTServer/db/db.py:42
Functioninit_db_command
()
KRAGEN_Dashboard/Backend/ExecGPTServer/db/db.py:37
FunctioninsertTokenUsage
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:899
Functioninstall_packages
(packages)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:145
FunctionleaveEdge
({ edge })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:82
FunctionleaveNode
()
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:60
FunctionmakeBlinking
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:152
Functionmk_dir
(directory)
src/kragen.py:12
Functionmodels
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/openai.py:23
Functionmodels
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/routes_old.py:26
FunctionnomoreBlinking
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:163
Methodobject_count
(self)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:99
FunctiononInputChange
(e: ChangeEvent<HTMLInputElement>)
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:60
FunctiononKeyPress
(e: KeyboardEvent<HTMLInputElement>)
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:73
FunctionopenaiChatCompletions
(currentModel, preSetLastMessageFromUser)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:132
FunctionopenaiChatCompletionsWithChatLog
( currentModel, chatLogNew, preSet, lastMessageFromUser )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:289
FunctionopenaiComletions
(currentModel, preSetLastMessageFromUser)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:642
Methodoutput_graph
Serialize the state and results of the operations graph to a JSON file. :param path: The path to the output file. :type path
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/controller/controller.py:104
Functionpackages
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/execapi.py:49
Methodparse_aggregation_answer
Parse the response from the language model for an aggregation prompt. :param states: The thought states used to generate the prompt.
KRAGEN_Dashboard/Backend/got.py:569
Methodparse_generate_answer
Parse the response from the language model for a generate prompt. :param state: The thought state used to generate the prompt.
KRAGEN_Dashboard/Backend/got.py:639
Methodparse_improve_answer
Parse the response from the language model for an improve prompt. :param state: The thought state used to generate the prompt.
KRAGEN_Dashboard/Backend/got.py:626
Methodparse_score_answer
Parse the response from the language model for a score prompt. :param states: The thought states used to generate the prompt.
KRAGEN_Dashboard/Backend/got.py:813
Methodparse_validation_answer
Parse the response from the language model for a validation prompt. :param state: The thought state used to generate the prompt.
KRAGEN_Dashboard/Backend/got.py:800
FunctionpatchChatToDB
( current_chatTapID, id_in_chatTap, message, message_type, who )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:789
FunctionpostChats
(experiment, experimentId)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:754
FunctionpostInChatlogsToDBWithExeId
( chat_id, message, message_type, who, exec_id = "" )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:716
Functionprocess_csv_dask
(file_path)
src/make_vector.py:81
Methodquery
Query the OpenAI model for responses. :param query: The query to be posed to the language model. :type query: str :p
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:68
Methodquery
Abstract method to query the language model. :param query: The query to be posed to the language model. :type query: str
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/abstract_language_model.py:69
Methodquery
Query the LLaMA 2 model for responses. :param query: The query to be posed to the language model. :type query: str :
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/llamachat_hf.py:76
Methodquery_bm25
(self, properties=["knowledge"], query_string="test", additional="score", limit=3)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:48
Methodquery_my_near_text
(self, prompt, properties=["knowledge"], additional="score", limit=3)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:73
Methodquery_near_text
(self, properties=["knowledge"], near_text=["gene"], additional="score", limit=3)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:61
Functionreceive_chat_input
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:339
FunctionreplaceFirstBackticks
(message)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:96
FunctionreportWebVitals
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/reportWebVitals.js:1
Functionrun
(config)
src/convert.py:297
Functionrun_code
(execution, run_dir)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:79
Functionsave_config
(org_id=None, api_key=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:5
Methodscore
Returns the score of the thought. :return: The score of the thought. :rtype: float
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/thought.py:78
Methodscore_prompt
Generate a score prompt for the language model. :param state_dicts: The thought states that should be scored,
KRAGEN_Dashboard/Backend/got.py:534
Functionsearch_docs
(df, user_query, top_n=3, to_print=False)
src/make_vector.py:53
FunctionsendChatInputToBackend
(chatInput)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:400
Methodsolved
Returns the solved flag of the thought. :return: The solved flag of the thought. :rtype: bool
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/operations/thought.py:99
FunctionstopDrag
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:23
Functionupdate_chat
(title, chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:19
Functionupdate_chat_title
(chat_id, title)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:69
Functionupdate_chatlog
(chatlog)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:166
Functionupdate_config
(config_id=None, org_id=None, api_key=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:41
← previousnext →201–300 of 304, ranked by callers