Submission for the coding challenge#3
Open
almosnow wants to merge 9 commits intoWeb1on1-Solo:mainfrom
Open
Conversation
…etup a basic chatbot
…ary API and webhook keys to be able to work. I also set up a crude express server to verify the webhook and to hook a chipchat instance to it. Comment: I wasn't able to suer the chipchat as middleware, but the "raw ingest" approach seems to be working for now. I set up a very basic bot structure just to see if I am getting messages correctly.
… able to update a message in a conversation, identified by its messaged_id. Comment: I did not find a way to do this with the Node SDK so I wrote this. Perhaps the feature is there but I didn't find it. I think this could be accomplised through the SDK's like 'bot.messages.update(id, ...)' but I wanted to try writing the request code to get a good feeling of Web1on1's REST API.
… crude implementations of aes256 (i.e. no secuiry guarantees) but they are needed to build a proof-of-concept about how to exchange messages between a webview, a bot's backend and a web1on1 conversation. I will keep working on the complementary webview on the backend, that makes all of this work. This webview is going to be used as the date/time picker for the appointment.
…parate all the boilerplate code of the bot, from the actual conversational logic that we are looking to implement.
… picker. This is provided in a different path through express and implements the neccessary logic to allow it to read a data parameter that is sent to the bot's backend when the user has finished choosing the date for the appointment.
Also, kept working on the conversation tree and it is coming along nicely.
…n checked to work properly 👌🏻
…to a function call. Finished modeling the whole conversational tree and tested it.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'll keep in touch via email.
Best!