Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram no response my message #68

Open
youyi1314 opened this issue Jan 19, 2024 · 0 comments
Open

Telegram no response my message #68

youyi1314 opened this issue Jan 19, 2024 · 0 comments

Comments

@youyi1314
Copy link

youyi1314 commented Jan 19, 2024

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

Chat Actions:
Screenshot 2024-01-19 at 9 31 46 PM

and my telegram din get any message
Screenshot 2024-01-19 at 9 25 18 PM

@youyi1314 youyi1314 reopened this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant