π¬ RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. Built w/ Rasa, FastAPI, Langchain, LlamaIndex, SQLModel, pgvector, ngrok, telegram
I did follow all the setting including telegram bot,
but when i send me message, api got response and actions did success, but my telegram din get any response
Chat API:
DEBUG:config:Input: hey
19/01/2024
21:27:45
Input: hey
19/01/2024
21:27:45
DEBUG:config:π¬ Query received: hey
19/01/2024
21:27:45
π¬ Query received: hey
19/01/2024
21:27:45
DEBUG:config:[Document(page_content='hey')]
19/01/2024
21:27:45
[Document(page_content='hey')]
19/01/2024
21:27:46
DEBUG:openai:message='Request to OpenAI API' method=post path=https://api.openai.com/v1/embeddings
19/01/2024
21:27:46
message='Request to OpenAI API' method=post path=https://api.openai.com/v1/embeddings
19/01/2024
21:27:46
DEBUG:openai:api_version=None
19/01/2024
21:27:46
api_version=None
19/01/2024
21:27:46
DEBUG:urllib3.util.retry:Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
19/01/2024
21:27:46
Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
19/01/2024
21:27:46
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.openai.com:443
19/01/2024
21:27:46
Starting new HTTPS connection (1): api.openai.com:443
19/01/2024
21:27:46
DEBUG:urllib3.connectionpool:https://api.openai.com:443 "POST /v1/embeddings HTTP/1.1" 200 None
19/01/2024
21:27:46
https://api.openai.com:443 "POST /v1/embeddings HTTP/1.1" 200 None
19/01/2024
21:27:46
DEBUG:openai:message='OpenAI API response' path=https://api.openai.com/v1/embeddings processing_ms=20 request_id=7467ad6e233b8da46c4434d2d726e2eb response_code=200
19/01/2024
21:27:46
message='OpenAI API response' path=https://api.openai.com/v1/embeddings processing_ms=20 request_id=7467ad6e233b8da46c4434d2d726e2eb response_code=200
19/01/2024
21:27:46
/usr/local/lib/python3.9/site-packages/langchain/llms/openai.py:216: UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`
19/01/2024
21:27:46
warnings.warn(
19/01/2024
21:27:46
/usr/local/lib/python3.9/site-packages/langchain/llms/openai.py:811: UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`
19/01/2024
21:27:46
warnings.warn(
19/01/2024
21:27:46
DEBUG:openai:message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
19/01/2024
21:27:46
message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
19/01/2024
21:27:46
DEBUG:openai:api_version=None
19/01/2024
21:27:46
api_version=None
19/01/2024
21:27:49
DEBUG:urllib3.connectionpool:https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
19/01/2024
21:27:49
https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
19/01/2024
21:27:49
DEBUG:openai:message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=2486 request_id=99c1f207c677c83dee1a91abe5a65b66 response_code=200
19/01/2024
21:27:49
message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=2486 request_id=99c1f207c677c83dee1a91abe5a65b66 response_code=200
19/01/2024
21:27:49
DEBUG:config:π¬ LLM result: {
19/01/2024
21:27:49
"message": "Hello! How can I assist you today?",
19/01/2024
21:27:49
"tags": ["greeting"],
19/01/2024
21:27:49
"is_escalate": false
19/01/2024
21:27:49
}
19/01/2024
21:27:49
π¬ LLM result: {
19/01/2024
21:27:49
"message": "Hello! How can I assist you today?",
19/01/2024
21:27:49
"tags": ["greeting"],
19/01/2024
21:27:49
"is_escalate": false
19/01/2024
21:27:49
}
19/01/2024
21:27:49
DEBUG:config:Output: { "message": "Hello! How can I assist you today?", "tags": ["greeting"], "is_escalate": false}
19/01/2024
21:27:49
Output: { "message": "Hello! How can I assist you today?", "tags": ["greeting"], "is_escalate": false}
19/01/2024
21:27:49
DEBUG:config:π€ User found: identifier_type=<CHANNEL_TYPE.TELEGRAM: 2> uuid=UUID('65038b55-3012-4a87-b43f-5ff5e8b418b0') identifier='373384804' last_name=None phone=None device_fingerprint=None updated_at=datetime.datetime(2024, 1, 18, 18, 55, 23, 469251) id=1 first_name='Kenny' email=None dob=None created_at=datetime.datetime(2024, 1, 18, 18, 55, 23, 469243)
19/01/2024
21:27:49
π€ User found: identifier_type=<CHANNEL_TYPE.TELEGRAM: 2> uuid=UUID('65038b55-3012-4a87-b43f-5ff5e8b418b0') identifier='373384804' last_name=None phone=None device_fingerprint=None updated_at=datetime.datetime(2024, 1, 18, 18, 55, 23, 469251) id=1 first_name='Kenny' email=None dob=None created_at=datetime.datetime(2024, 1, 18, 18, 55, 23, 469243)
19/01/2024
21:27:49
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): rasa-core:5005
19/01/2024
21:27:49
Starting new HTTP connection (1): rasa-core:5005
19/01/2024
21:27:50
DEBUG:urllib3.connectionpool:http://rasa-core:5005 "POST /webhooks/telegram/webhook HTTP/1.1" 200 7
19/01/2024
21:27:50
http://rasa-core:5005 "POST /webhooks/telegram/webhook HTTP/1.1" 200 7
19/01/2024
21:27:50
DEBUG:config:[π€ RasaGPT API webhook]
19/01/2024
21:27:50
Posting data: {"update_id": "125010864", "message": {"message_id": 14, "from": {"id": 373384804, "is_bot": false, "first_name": "Kenny", "last_name": "Ong", "username": "youyi1314", "language_code": "en", "is_premium": true}, "chat": {"id": 373384804, "first_name": "Kenny", "last_name": "Ong", "username": "youyi1314", "type": "private"}, "date": 1705670865, "text": "hey", "meta": {"response": "Hello! How can I assist you today?", "tags": ["greeting"], "is_escalate": false, "session_id": "3ad102ef-71a6-466f-99c2-9b144835ed42"}}}
19/01/2024
21:27:50
19/01/2024
21:27:50
[π€ RasaGPT API webhook]
19/01/2024
21:27:50
Rasa webhook response: success
19/01/2024
21:27:50
[π€ RasaGPT API webhook]
19/01/2024
21:27:50
Posting data: {"update_id": "125010864", "message": {"message_id": 14, "from": {"id": 373384804, "is_bot": false, "first_name": "Kenny", "last_name": "Ong", "username": "youyi1314", "language_code": "en", "is_premium": true}, "chat": {"id": 373384804, "first_name": "Kenny", "last_name": "Ong", "username": "youyi1314", "type": "private"}, "date": 1705670865, "text": "hey", "meta": {"response": "Hello! How can I assist you today?", "tags": ["greeting"], "is_escalate": false, "session_id": "3ad102ef-71a6-466f-99c2-9b144835ed42"}}}
19/01/2024
21:27:50
19/01/2024
21:27:50
[π€ RasaGPT API webhook]
19/01/2024
21:27:50
Rasa webhook response: success
I did follow all the setting including telegram bot, but when i send me message, api got response and actions did success, but my telegram din get any response
Chat API:
Chat Actions:
and my telegram din get any message