An open API service indexing awesome lists of open source software.

https://github.com/petrbroz/aps-design-chatbot

Simple chatbot for querying metadata of designs in Autodesk Platform Services using Amazon Bedrock.
https://github.com/petrbroz/aps-design-chatbot

autodesk-platform-services aws-bedrock langchain

Last synced: 6 months ago
JSON representation

Simple chatbot for querying metadata of designs in Autodesk Platform Services using Amazon Bedrock.

Awesome Lists containing this project

README

          

# aps-design-chatbot

Simple chatbot for querying metadata of designs in [Autodesk Platform Services](https://aps.autodesk.com) using [Amazon Bedrock](https://aws.amazon.com/bedrock).

![screenshot](./screenshot.png)

## Development

### Prerequisites

- [APS credentials](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app)
- [Provisioned access to BIM360 or ACC](https://aps.autodesk.com/en/docs/bim360/v1/tutorials/getting-started/manage-access-to-docs/)
- AWS credentials with access to [Amazon Bedrock](https://aws.amazon.com/bedrock)
- [Node.js](https://nodejs.org) (Long Term Support version is recommended)
- Command-line terminal such as [PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/overview)
or [bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell))

### Setup & Run

- Clone this project
- Install dependencies: `npm install`
- Specify the following environment variables:
- `APS_CLIENT_ID` - your APS application client ID
- `APS_CLIENT_SECRET` - your APS application client secret
- `APS_CALLBACK_URL` - your OAuth callback
- For local development, it should be http://localhost:8080/auth/callback
- Don't forget to add the same URL to your APS application in https://aps.autodesk.com/myapps as well
- `SERVER_SESSION_SECRET` - custom phrase used to encrypt/decrypt cookies
- Configure the AWS credentials ([guide](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials-node.html)) and region
- Run the server: `npm start`
- Go to http://localhost:8080