Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ihumaunkabir authored Oct 5, 2024
1 parent 9f02831 commit b10ba23
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
### tg-finbot

A telegram bot to receive texts, images or pdfs and answer questions accordingly using LLMs.

#### Installation
Install dependencies through pip
```
pip install -r requirements.txt
```

#### Configuring a Telegram bot
On Telegram hit to [@BotFather](https://t.me/BotFather) initiate your own bot and obtain ```BOT_TOKEN, BOT_USER```.

Example ```config/config.py``` with necessary keys and values.
```python
from typing import Final

BOT_TOKEN: Final = 'yourbottoken'
BOT_USER: Final = '@username'
APIURL: Final = 'llmapiendpoint'
VLLM: Final = 'mistral-nemo'
BEARER: Final = "Bearer bearertokenhere"
```

#### Backend
Run the backend of bot by
```
python main.py
```
Output
```
Bot started...
Bot polling...
```

#### Example Usage
Once your bot is running as well as your API is serving properly. Start interacting with your bot.

0 comments on commit b10ba23

Please sign in to comment.