Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EpistasisLab/KRAGEN
/ functions
Functions
304 in github.com/EpistasisLab/KRAGEN
⨍
Functions
304
◇
Types & classes
33
↳
Endpoints
19
Function
enterNode
({ node })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:54
Function
executions
(execution_id=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/execapi.py:14
Function
extractCode
(messageFromOpenai)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:15
Function
extractPackagesOfCode
(code)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:29
Function
extractUsefulInfoFromData
(data_origin_converted, query)
src/make_vector.py:69
Function
filterRedHRYChatlogs
(data)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:58
Function
generate_error
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:537
Method
generate_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
Function
getChatTitle
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:48
Function
getEngines
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:338
Function
getFilesURLs
(file_id)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:824
Function
getSpecificChatbyChatId
(current_chatTapID)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:557
Function
getTokenUsage
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:864
Function
getVES
(question)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:474
Function
get_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
Function
get_chat
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:92
Function
get_chat_title
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:46
Function
get_chatids
()
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:231
Function
get_chatlogs
(chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:109
Function
get_class
(class_name)
src/upload.py:31
Function
get_config
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:79
Function
get_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
Method
get_embedding
(self, text_to_embed)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/language_models/azuregpt.py:164
Function
get_execution
(execution_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:29
Method
get_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
Function
get_packages
()
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:133
Method
get_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
Method
get_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
Method
get_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
Function
get_score_from_comparison
(comparison)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:265
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Method
get_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
Function
get_unique_nodes_no_dask
(df)
src/convert.py:30
Function
getchatlogs
()
KRAGEN_Dashboard/Backend/ExecGPTServer/server.py:38
Function
got
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:137
Function
got_test_return_json
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:357
Function
handleChattapClick
(e)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/SideMenu.js:62
Function
handleDrag
(e)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:9
Function
handleMouseMove
(e: { clientX: any; clientY: any })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/index.tsx:130
Function
handleTemp
(temp)
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/index.js:527
Function
handletoggleDisplayGraph
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ChatBox.js:53
Method
improve_prompt
Generate an improve prompt for the language model. :param kwargs: Additional keyword arguments. :return: The improve prompt.
KRAGEN_Dashboard/Backend/got.py:514
Function
index
()
KRAGEN_Dashboard/Backend/ExecGPTServer/server.py:29
Function
init_app
(app)
KRAGEN_Dashboard/Backend/ExecGPTServer/db/db.py:42
Function
init_db_command
()
KRAGEN_Dashboard/Backend/ExecGPTServer/db/db.py:37
Function
insertTokenUsage
()
KRAGEN_Dashboard/Frontend/src/components/apiService.js:899
Function
install_packages
(packages)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:145
Function
leaveEdge
({ edge })
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:82
Function
leaveNode
()
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/GraphEventsController.tsx:60
Function
makeBlinking
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:152
Function
mk_dir
(directory)
src/kragen.py:12
Function
models
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/openai.py:23
Function
models
()
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/routes_old.py:26
Function
nomoreBlinking
()
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:163
Method
object_count
(self)
KRAGEN_Dashboard/Backend/graph_of_thoughts/graph_of_thoughts/vector_db/weaviate.py:99
Function
onInputChange
(e: ChangeEvent<HTMLInputElement>)
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:60
Function
onKeyPress
(e: KeyboardEvent<HTMLInputElement>)
KRAGEN_Dashboard/Frontend/src/components/DisplayGraph/SearchField.tsx:73
Function
openaiChatCompletions
(currentModel, preSetLastMessageFromUser)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:132
Function
openaiChatCompletionsWithChatLog
( currentModel, chatLogNew, preSet, lastMessageFromUser )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:289
Function
openaiComletions
(currentModel, preSetLastMessageFromUser)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:642
Method
output_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
Function
packages
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/execapi.py:49
Method
parse_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
Method
parse_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
Method
parse_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
Method
parse_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
Method
parse_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
Function
patchChatToDB
( current_chatTapID, id_in_chatTap, message, message_type, who )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:789
Function
postChats
(experiment, experimentId)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:754
Function
postInChatlogsToDBWithExeId
( chat_id, message, message_type, who, exec_id = "" )
KRAGEN_Dashboard/Frontend/src/components/apiService.js:716
Function
process_csv_dask
(file_path)
src/make_vector.py:81
Method
query
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
Method
query
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
Method
query
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
Method
query_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
Method
query_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
Method
query_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
Function
receive_chat_input
()
KRAGEN_Dashboard/Backend/ExecGPTServer/api/chatapi.py:339
Function
replaceFirstBackticks
(message)
KRAGEN_Dashboard/Frontend/src/components/codeUtils.js:96
Function
reportWebVitals
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/reportWebVitals.js:1
Function
run
(config)
src/convert.py:297
Function
run_code
(execution, run_dir)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/exec_util.py:79
Function
save_config
(org_id=None, api_key=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:5
Method
score
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
Method
score_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
Function
search_docs
(df, user_query, top_n=3, to_print=False)
src/make_vector.py:53
Function
sendChatInputToBackend
(chatInput)
KRAGEN_Dashboard/Frontend/src/components/apiService.js:400
Method
solved
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
Function
stopDrag
()
KRAGEN_Dashboard/Frontend/src/components/ChatGPTForKRAGENLoc/ResizableDiv.js:23
Function
update_chat
(title, chat_id)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:19
Function
update_chat_title
(chat_id, title)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:69
Function
update_chatlog
(chatlog)
KRAGEN_Dashboard/Backend/ExecGPTServer/utils/chat_util.py:166
Function
update_config
(config_id=None, org_id=None, api_key=None)
KRAGEN_Dashboard/Backend/ExecGPTServer/notused/aiconf.py:41
← previous
next →
201–300 of 304, ranked by callers