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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -26
README.md CHANGED
@@ -12,28 +12,9 @@ app_port: 7860
12
  Certainly! Here's the content for your README.md file in markdown format:
13
 
14
  ```markdown
15
- # Eren Bot
16
 
17
- Eren Bot is an AI chatbot built using FastAPI and Hugging Face's transformers library. It allows users to initiate conversations with the bot and receive responses based on predefined persona templates.
18
-
19
- ## Requirements
20
- - Python 3.x
21
- - FastAPI
22
- - Hugging Face Transformers
23
-
24
- ## Installation
25
- 1. Clone the repository:
26
- ```bash
27
- git clone https://github.com/your_username/eren-bot.git
28
- ```
29
- 2. Navigate to the project directory:
30
- ```bash
31
- cd eren-bot
32
- ```
33
- 3. Install dependencies:
34
- ```bash
35
- pip install -r requirements.txt
36
- ```
37
 
38
  ## Usage
39
  1. Run the FastAPI server:
@@ -46,21 +27,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
  ```
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
 
 
12
  Certainly! Here's the content for your README.md file in markdown format:
13
 
14
  ```markdown
15
+ # ArtickBot
16
 
17
+ - AI chatbot built using FastAPI and Hugging Face's transformers library. It allows users to initiate conversations with the bot and receive responses based on predefined persona templates.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## Usage
20
  1. Run the FastAPI server:
 
27
 
28
  3.
29
  - `/start_chat/`: Start a new chat thread by providing a prompt and a persona description prompt i.e
30
+ - Expects a POST Request with a JSON Body
31
+
32
  ```json
33
+ {"prompt":"what food would you recommend",
34
+ "persona_prompt":"you are a very helpful ai assistant. you are going to be polite and answer a humanily."}
 
35
  ```
36
  - `This method returns {'thread_id': thread_id, 'response': response}
37
 
38
  - `/start_conversation/`: Start a new conversation thread by providing a prompt.
39
+ - Expects a POST Request with a JSON Body
40
  ```json
41
+ {"prompt":"what is the time"}
 
42
  ```
43
  - `After the request is done, this function returns {'response': response}
44
 
45
  - `/get_response/{thread_id}`: Retrieve the response from an existing conversation thread using its thread ID.
46
+ - Expects a GET Request with the {thread id} of the conversation
47
 
48
  - `Returns the specific thread id of the conversation
49