-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from khoj-ai/features/upload-docs-from-whatsapp
Add support for uploading documents through WhatsApp
- Loading branch information
Showing
3 changed files
with
116 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,14 @@ | |
Sorry, I wasn't able to understand your voice message this time. Could you please try typing out your message or send a shorter message? If you'd like to help me improve, email my creators at [email protected]. | ||
""".strip() | ||
|
||
KHOJ_FAILED_DOCUMENT_UPLOAD_MESSAGE = f""" | ||
Sorry, I wasn't able to process your document this time. Could you please try sending a different document? If you'd like to help me improve, email my creators at [email protected]. | ||
""".strip() | ||
|
||
KHOJ_MEDIA_NOT_IMPLEMENTED_MESSAGE = f""" | ||
Sorry, I'm not yet able to process this type of media. Could you please try sending a different type of media? If you'd like to help me improve, email my creators at [email protected]. | ||
""".strip() | ||
|
||
KHOJ_API_URL = os.getenv("KHOJ_API_URL", "https://app.khoj.dev") | ||
KHOJ_API_CLIENT_ID = os.getenv("KHOJ_API_CLIENT_ID") | ||
KHOJ_API_CLIENT_SECRET = os.getenv("KHOJ_API_CLIENT_SECRET") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters