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.
- Host: GitHub
- URL: https://github.com/petrbroz/aps-design-chatbot
- Owner: petrbroz
- Created: 2024-06-05T09:00:34.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-01-20T15:52:52.000Z (9 months ago)
- Last Synced: 2025-03-28T20:05:49.177Z (7 months ago)
- Topics: autodesk-platform-services, aws-bedrock, langchain
- Language: JavaScript
- Homepage: https://aps-design-chatbot.autodesk.io
- Size: 1.41 MB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).

## 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