meya-ai / community Goto Github PK
View Code? Open in Web Editor NEWRepo for issue tracking (feature requests, bug reports), code examples, how-tos, etc.
License: MIT License
Repo for issue tracking (feature requests, bug reports), code examples, how-tos, etc.
License: MIT License
Tells user how to interact with the bot
https://developers.facebook.com/docs/messenger-platform/thread-settings/greeting-text
The meya.video
component sends to the output webhook API a standard text message with just URL in text.
I think type
should be "type": "video"
instead of "type": "text"
.
This lets the component handle the timeout gracefully. Celery does something similar for tasks with timeouts, and it is very useful.
Sometimes there are hiccups between Facebook and Meya, and it'd be useful to have those logged to see what's happening. Probably a similar situation with other platforms
Each account (or bot?) should have the ability to include dependencies similar to requirements.txt:
numpy
arrow
urllib3
These package could then be referenced inside components.
King @bye
Structure
Components have access to a db object.
Example:
self.db.request.set('name', 'Alice')
print self.db.request.get('name')
Useful for reading product feeds, user lists etc
Use-case:
Allows up to 10 pre-built responses, useful for navigation
http://messengerblog.com/bots/messenger-platform-1-1-ratings-quick-replies-account-linking-and-more/
Is there a way to connect a bot to multiple FB pages w/ the current messenger integration?
It would be nice to access things like component time limits via a Python API, rather than defining constants ourselves that we have to keep up to date.
Examples
Passing "\n" as part of data in component causes an error. Workaround was to break data into smaller pieces, and use new line in meya.text instead.
Button(text="Share", flow="share", data={'share': share[i]} )
where share[i] = string1 + " \n " + string2
Added on behalf of @suholet
Use-case:
I looked pretty quickly, but I didn't see any cron job-type support. Are daily messages or questions behavior supported?
I also don't think I have permissions to add the question label...
http://messengerblog.com/bots/messenger-platform-1-1-ratings-quick-replies-account-linking-and-more/
"Most bots have a common “menu” or “settings” option, and we are now making this more consistent and easier to access with the launch of persistent menu. This eliminates the need for people to remember text commands and provides a great way to restart the flow. The menu can be accessed by an icon in the message composer, and will support up to five custom actions."
Use-case:
In some cases it's very useful to use a generic component "meya.input_raw" that will store in the output/scope the raw object received from the user.
For example, with FB Messenger platform, using a custom geocoding component, I cannot receive a string (address) or shared location just using meya.input_string.
Meya currently supports Intent integration from the wit.ai platform by integrating your Intent_Name and Accesss_token from wit.ai
Wit.ai recently rolled out some updates to allow for a more intuitive system for working with bots specifically called Bot Engine
As shown here, the old wit.ai console is built around Intents
The new wit.ai console is built around Stories, which are example conversations that you might have with your bot. Intents are completely removed as they were merged with Entities under the Understanding tab in the new console.
The documentation for wit.ai has also been updated to accommodate the new features https://wit.ai/docs/quickstart
Meya.ai should reflect the updated wit.ai console to support Stories and Understanding
It could be very useful to have a conditional component like the switch/case instruction.
It could me called meya.conditional and it could be very similar to meya.conditional_nlp_intent but based on a custom variable instead of flow.intent.
This could be an example of use
component: meya.conditional
properties:
scope: flow
key: mycustomvar
transitions:
first_value: first_value_state
second_value: second_value_state
third_value: third_value_state
The following keyword YAML breaks:
keyword: 1
Temporary workaround:
keyword: '1'
A nice to have.
See [http://atwherebot.com/]
Clients
Docs:
Repro:
It would be nice to have a small storage available for images we might use in the flows instead of having to upload them somewhere else.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.