Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiwaves-cn/RecurrentGPT
/ functions
Functions
20 in github.com/aiwaves-cn/RecurrentGPT
⨍
Functions
20
◇
Types & classes
2
↓ 15 callers
Function
get_content_between_a_b
(a,b,text)
utils.py:28
↓ 7 callers
Function
get_api_response
(content: str, max_tokens=None)
utils.py:6
↓ 7 callers
Method
step
(self, response_file=None)
human_simulator.py:134
↓ 4 callers
Method
step
(self, response_file=None)
recurrentgpt.py:117
↓ 3 callers
Function
parse_instructions
(instructions)
utils.py:93
↓ 2 callers
Function
get_init
init_text: if the title, outline, and the first 3 paragraphs are given in a .txt file, directly read text: if no .txt file is given, use init
utils.py:32
↓ 2 callers
Method
parse_output
(self, text)
human_simulator.py:109
↓ 2 callers
Method
parse_output
(self, output)
recurrentgpt.py:85
↓ 2 callers
Method
parse_plan
(self,response)
human_simulator.py:58
↓ 2 callers
Method
select_plan
(self,response_file)
human_simulator.py:63
↓ 1 callers
Function
init_prompt
(novel_type, description)
gradio_server.py:16
↓ 1 callers
Method
prepare_input
(self)
human_simulator.py:16
↓ 1 callers
Method
prepare_input
(self, new_character_prob=0.1, top_k=2)
recurrentgpt.py:21
Method
__init__
(self, input, memory, embedder)
human_simulator.py:6
Method
__init__
(self, input, short_memory, long_memory, memory_index, embedder)
recurrentgpt.py:11
Function
controled_step
(short_memory, long_memory, selected_instruction, current_paras, request: gr.Request, )
gradio_server.py:118
Function
get_chatgpt_response
(model,prompt)
utils.py:84
Function
init
(novel_type, description, request: gr.Request)
gradio_server.py:44
Function
on_select
(instruction1, instruction2, instruction3, evt: gr.SelectData)
gradio_server.py:159
Function
step
(short_memory, long_memory, instruction1, instruction2, instruction3, current_paras, request: gr.Request, )
gradio_server.py:73