update deps
This commit is contained in:
parent
c62e6b15b2
commit
575d0ebd42
32
README.md
32
README.md
|
@ -1,3 +1,35 @@
|
|||
# RAFAEL
|
||||
|
||||
Personal assistant bot
|
||||
|
||||
|
||||
Rafael Environment Variables
|
||||
Rafael uses environment variables to customize its behavior. This document describes how to use them and what they do.
|
||||
|
||||
|
||||
## Installing
|
||||
|
||||
Nvidia support
|
||||
|
||||
run `CMAKE_ARGS="-DLLAMA_CUBLAS=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc" pip install llama-cpp-python --force-reinstall --no-cache-dir`
|
||||
|
||||
## Configuration
|
||||
|
||||
### TELEGRAM_API_KEY
|
||||
This variable should contain your bot's API key, which is necessary for Rafael to function properly. You can obtain an API key by creating a new bot on the [Telegram Bot API website](https://core.telegram.org/bash). Once you have created and registered your bot, you'll receive an API key that looks like this: `123456789:ABC-DEF1234567-GHIJKLMNOPQRSTUVWXYZ`.
|
||||
|
||||
For example, to set the TELEGRAM_API_KEY environment variable on a Linux machine using Bash, you would run:
|
||||
|
||||
`export TELEGRAM_API_KEY="123456789:ABC-DEF1234567-GHIJKLMNOPQRSTUVWXYZ"`
|
||||
|
||||
### RAFAEL_WEBHOOK_EXTERNAL_URL
|
||||
This variable should contain the URL for your webhook. If you're using ngrok, you can obtain a temporary URL by running `ngrok http 3000` (assuming you have Rafael running on port 3000). The output will look something like this:
|
||||
|
||||
```
|
||||
Forwarding https://56c87a2.ngrok.io
|
||||
Forwarding http://56c87a2.ngrok.io
|
||||
```
|
||||
|
||||
In this case, you would set RAFAEL_WEBHOOK_EXTERNAL_URL to `https://56c87a2.ngrok.io`. Note that the URL will change every time you run ngrok.
|
||||
|
||||
`export RAFAEL_WEBHOOK_EXTERNAL_URL=https://56c87a2.ngrok.io`
|
13
pdm.lock
13
pdm.lock
|
@ -6,7 +6,7 @@ groups = ["default"]
|
|||
cross_platform = true
|
||||
static_urls = false
|
||||
lock_version = "4.3"
|
||||
content_hash = "sha256:8bf632fb1586093ce18bebf451bacf8bc662d822a9cf517a88df1fa61642ea7c"
|
||||
content_hash = "sha256:afa375287aa6e19c7e617d15a3dcb6cca01fbb4d6f0873db6891dce022469744"
|
||||
|
||||
[[package]]
|
||||
name = "aiohttp"
|
||||
|
@ -859,6 +859,17 @@ files = [
|
|||
{file = "SQLAlchemy-2.0.22.tar.gz", hash = "sha256:5434cc601aa17570d79e5377f5fd45ff92f9379e2abed0be5e8c2fba8d353d2b"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlite-vss"
|
||||
version = "0.1.2"
|
||||
requires_python = ">=3.7"
|
||||
summary = ""
|
||||
files = [
|
||||
{file = "sqlite_vss-0.1.2-py3-none-macosx_10_6_x86_64.whl", hash = "sha256:9eefa4207f8b522e32b2747fce44422c773e36710bf807613795218c7ba125f0"},
|
||||
{file = "sqlite_vss-0.1.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:84994eaf7fe700218b258422358c4536a6aca39b96026c308b28630967f954c4"},
|
||||
{file = "sqlite_vss-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux1_x86_64.whl", hash = "sha256:e44f03bc4cb214bb77b206519abfb623e3e4795967a569218e288927a7715806"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "starlette"
|
||||
version = "0.27.0"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -16,6 +16,7 @@ dependencies = [
|
|||
"langchain>=0.0.314",
|
||||
"pendulum>=2.1.2",
|
||||
"langchainhub>=0.1.13",
|
||||
"sqlite-vss>=0.1.2",
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
readme = "README.md"
|
||||
|
|
Loading…
Reference in New Issue