Intelligence for your code at your fingertips.

Working at Outdoor Cafe
Untitled design (44).png

Meet Deus.

Deus is a conversational Artificial Intelligence system that assists software developers with day-to-day tasks.

Interaction that feels natural.

Humans express ideas and ask questions naturally by using words. This naturalness is often missing when building software. Deus harnesses the power of state-of-the-art natural language understanding to make each interaction feel you're speaking with a colleague.

Studying in the Library

One Powerful System.

Summarize and explain code

Instead of reading through every line of code, ask Deus to summarize its functionality in a few human readable sentences.

Answer questions 

Developers have different styles of coding which can be difficult and time-consuming to read. Use Deus to get an intuitive answer to your code-related questions.

Generate test cases

Understanding where your code may fail is critical to shipping quality code. Deus offers a new perspective by suggesting areas you should test your code.

Fix Software Bugs

Deus can enable developers to spend a fraction of the time fixing and diagnosing buggy code. Instead, focus on what you love most: building great products.

How it works.

Untitled design (44).png

How does this code work?

On a high level, this code is creating a payment intent. You'll notice that the code is using the Stripe Python library to create a new PaymentIntent. The amount field is set to the sum of all items in the shopping cart. The currency is set to euros. And automatic_payment_method is set to true. This setting will allow Stripe to automatically initiate payments when they are due, by requesting off-session payments from the customer's selected payment method.

app = Flask(__name__, static_folder='public',
            static_url_path='', template_folder='public')


def calculate_order_amount(items):
    return 1400


@app.route('/create-payment-intent', methods=['POST'])
def create_payment():
    try:
        data = json.loads(request.data)
        intent = stripe.PaymentIntent.create(
            amount=calculate_order_amount(data['items']),
            currency='eur',
            automatic_payment_methods={
                'enabled': True,
            },
        )
        return jsonify({
            'clientSecret': intent['client_secret']
        })
    except Exception as e:
        return jsonify(error=str(e)), 403
        
        
if __name__ == '__main__':
    app.run(port=4242)

What is a payment intent?

01

Via the Sandbox

Use our no-code Sandbox to interact with Deus. All you have to do is paste your code into the editor and start a conversation. It's that simple.

02

Via the API

Send a POST request to our simple to use Developer API and get a response back from Deus.

Enhance your software development

Stay updated on the latest from  Describe.ai

Have a question? Let's chat.

Reach out to us at
sales@describe-ai.com