Vitrous commited on
Commit
bae91ff
·
verified ·
1 Parent(s): 6b4aa19

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -11
README.md CHANGED
@@ -46,22 +46,23 @@ Eren Bot is an AI chatbot built using FastAPI and Hugging Face's transformers li
46
 
47
  3.
48
  - `/start_chat/`: Start a new chat thread by providing a prompt and a persona description prompt i.e
49
- ```json
50
- {"prompt":"what food would you recommend",
51
- "persona_prompt":"you are a very helpful ai assistant. you are going to be polite and answer a humanily."
52
- }
53
- ```
54
- - `This method returns {'thread_id': thread_id, 'response': response}
55
 
56
  - `/start_conversation/`: Start a new conversation thread by providing a prompt.
57
- ```json
58
- {"prompt":"what is the time"}
59
- ```
60
- After the request is done, this function returns {'response': response}
 
61
 
62
  - `/get_response/{thread_id}`: Retrieve the response from an existing conversation thread using its thread ID.
63
 
64
- - Returns the specific thread id of the conversation
65
 
66
 
67
  ## Example
 
46
 
47
  3.
48
  - `/start_chat/`: Start a new chat thread by providing a prompt and a persona description prompt i.e
49
+ ```json
50
+ {"prompt":"what food would you recommend",
51
+ "persona_prompt":"you are a very helpful ai assistant. you are going to be polite and answer a humanily."
52
+ }
53
+ ```
54
+ - `This method returns {'thread_id': thread_id, 'response': response}
55
 
56
  - `/start_conversation/`: Start a new conversation thread by providing a prompt.
57
+ ```json
58
+ {"prompt":"what is the time"
59
+ }
60
+ ```
61
+ - `After the request is done, this function returns {'response': response}
62
 
63
  - `/get_response/{thread_id}`: Retrieve the response from an existing conversation thread using its thread ID.
64
 
65
+ - `Returns the specific thread id of the conversation
66
 
67
 
68
  ## Example