diff --git a/core/operation.py b/core/operation.py index 61b6ec4..c40cb4f 100644 --- a/core/operation.py +++ b/core/operation.py @@ -120,7 +120,7 @@ class Operation: qanontitle, search_range: int = 10, # url=f"http://localhost:8010/v1/indices/qaqanon/search", - url=f"http://localhost/api/elp/v1/indices/qaqanon/search", + url=f"http://localhost:3102/elp/v1/indices/qaqanon/search", ) -> List[TitleRepeat]: """ - باید با سرویس از حاج آقا گرفته شود diff --git a/requierments.txt b/requierments.txt index 6a52e29..017b6be 100755 --- a/requierments.txt +++ b/requierments.txt @@ -1,4 +1,3 @@ elasticsearch==8.13.2 nltk pydantic -fast-api \ No newline at end of file diff --git a/router/bale/bale_handle.py b/router/bale/bale_handle.py index 13b443b..0380363 100755 --- a/router/bale/bale_handle.py +++ b/router/bale/bale_handle.py @@ -426,7 +426,9 @@ class BaleBot(BaleBotGeneral): user.active_message_id = 0 user.message_limit = 0 - message = "من ربات تست ام" + message = """👋 سلام دوست عزیز! 🤗 +به دستیار هوشمند قانون یار خوش آمدید! +فقط کافیه به من بگید چه کمکی از دستم برمیاد!""" await self.send_message_helper( user=user,