GithubHelp home page GithubHelp logo

cvillagrasa / speckly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antonrafael/returnname

0.0 0.0 0.0 82.77 MB

Speckle Hackaton Submission: Speckly The Bot

Shell 0.04% JavaScript 1.73% Python 62.10% C# 26.61% Jupyter Notebook 9.52%

speckly's Introduction

Speckly the bot

This repository contains a hack named Speckly the bot, coded within the scope of the virtual hackathon Into The Speckleverse by the team return Name;

Into The Speckleverse

The team is composed by four international Civil Engineers with a strong background in Software Development:

If you're thinking of it: yes, we tried to maximize the timezone difference in order to always have at least one member awake and ready to code the awesome.

Overall hack description

Speckle and its Connectors enable previously inconceivable workflows among a variety of software within the AEC industry. But what if it could be even better?

Usually, engineering and architecture firms make heavy use of messaging apps such as Slack or Discord during their daily routine. Our hack allows any traditional user to interact with an agent via Natural Language, which will allow to commit directly to the Speckle Server, and ultimately trigger changes within the authoring software.

Technical implementation description

Firstly, a backend for the agent is built using the Node.js discord package. For messaging events, it checks whether the message begins with the reserved keyword !speckly, and then runs the Python script with the NLP logic by using Node's child_process.

The Machine Learning part is carried out in the Python script with the help of the Hugging Face transformers library. Successive queries are run against the user input in order to classify it and prepare a valid answer.

Subsequently, once a query has been successfully identified as a commit request, the Speckle Python SDK specklepy is used to effectively commit the relevant information to the arranged Speckle Stream.

At this point, a Revit add-in allows for listing and reviewing the commits of the relevant Stream ID coming from the messaging app, to then carry them out within the software, if agreed.

Since there are already some practical grasshopper components from Speckle, we can also utilize them to receive the Speckle commit change(sent from Speckly) in grasshopper via RhinoInsideRevit.

Screenshots

img.png img.png img.png

speckly's People

Contributors

alonsooteroseminario avatar antonrafael avatar chenchihyuan avatar cvillagrasa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.