- 🔭 I’m currently working on my startup AIOP
- 🌱 I’m currently learning LangChain
- 💬 Ask me about collaborating, release managment, AI, Autonomous Driving
- 📫 How to reach me: [email protected]
My go to repos:
CapsuleScripts
HomeAssistant
AppifyAi
AIOP
AppifyAi: Transform conversations into stunning web apps. Dynamic code generation + intuitive interface. Unleash your creativity effortlessly. Use the power of GPT OpenAI LLM and 🦜️🔗 LangChain ⚡and ChromaDB.
License: MIT License
My go to repos:
CapsuleScripts
HomeAssistant
AppifyAi
AIOP
The user may be mistaken when using tags #34 or commands, he could for instance invoke the command /reste instead of /reset or #titel instead of #title.
In case of a mistake, first verify if the tag or command is not correct. If it's not correct, warn the user and let the user fix its mistake by reassign the user instruction in the input text (so that it won't have to rewrite it again)
The python requirements should be given to the user so that it won't face any import issues
Do a video tutorial on how to use interact with the bot.
Add it in the user guide section
like creation of sandbox
https://docs.streamlit.io/library/api-reference/status/st.toast
import http.client
import mimetypes
conn = http.client.HTTPSConnection("api.eva.pingutil.com")
payload = ''
headers = {}
conn.request("GET", "/email?email=[email protected]", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
The streamlit discussion space is full of usefull code. Let the agent search in it and retrieve the solution.
prerequisites:
#18 DONE
Sometimes the code generated by the bot is not correct, we should let him execute the code before output it and verify if there is no obvious mistakes such as missing imports or key errors or such.
This will involve a new extended chain.
Add a page where the user can add text prompts where ever he wants in the page and instruct the bot to do certain task.
The user must be able to upload (via a user command /upload) a picture (jpg, png, gif, ...) or an other file (csv, excel) in order to be able to add this new data into context.
The user will then be able to reference it in the instructions.
For instance:
The user must be able to list the data with the command /list-data
The /reset must also remove the current data uploaded
Handle the case where the file does not exists
DOD:
The user can upload data, list them, and remove them with a reset. And of course be able to reference it in the instruction.
Find a way to add a voice assistant where as input text
Find a way to automate the installation of more libraries. For now the libraries are limited to what I settled up in the requirement.txt file.
Prerequisite:
Find a way to even more contain the user session between users, so that the installed library will not impact the other user
See this langchain doc for info
Implement streamlit code snippets and common functions for the bot to reuse and inspire. Then add it into the document embeedings the bot would query.
Based on the current code and chat history, suggest a relevant instruction the user could copy from
I want the user to do nothing but execute the compiled generated app.
The compiled app should be cross plateform.
The compilation may take some time so do it in backend and send a mail to the user with the app.
Prerequisites:
#26
DOD:
The user must be able to download the generated code and the requirements #26 and the user must able to download the compiled code compatible of all plateforms.
Sometimes the user does not like the code generated, so let the user ask to regenerate the code.
In the case the user ask a question and no code is generated, it's impossible to regenerate it.
DOD:
The /retry command should be implemented to regenerate the response and code (when it has generated one)
it should respond in the language the user uses
Let the user input a starting point where it can upload a code. The input code should be security checked and the bot should then use it as a starting point.
The bot should be able to ask questions to the user (like a normal dev would do) when the user is not precise enough.
Ex:
(For context: The current app has a title and a subtitle) The user tell the bot the following:
As the generated app is growing the code is more and more complex and has a lot of lines and the chat history grows as well. In that case the context grows, the model the bot uses won't be able to process it all (and the price of the prompt will increase).
Find a way to better handle this long term issue
Just change the llm chain to an agent that can resonate. It should be able to better interact with the user when questions are asked.
The user will be let hanging if it does not know how to use the generated code. So you should create a tutorial (textual or video) on how to serve the generated app.
Show how to serve it locally or in a host it in a server.
Add tags to personalize the answer of the robot.
The tag must start with the # character.
One tag example could be #creative to let the bot to be creative in the answer.
Or #title #subtitle to quickly say the bot to add a relevant title or subtitle.
Do a pylint check on the generated app and give it to the bot to fix some errors.
And check for security issues
When the user wants to save the generated app, it usually because app is relevant and works for the user. We could retrieve the code and the evaluation of the user and add it to the snippets, so that the bot will reuse it later and will benefit others.
DOD:
The user can evaluate the generated app, the code is added to the snippets and all of the user will be able to generate a similar app more easily.
For now the core app where the AppifyAi is built on must be refactored by implementing a custom website and hosted on self managed servers.
Sometimes the user will ask for questions so no code is generated. But for now the /undo command will pop the last code and remove the last message, so in case the user ask for a question and wants to undo the stored data will be desynchronized. indeed the last code will be removed but the bot message that generated the code will not.
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.