nasa-petal / bidara-deep-chat

BIDARA is a GPT-4o chatbot that was instructed to help scientists and engineers understand, learn from, and emulate the strategies used by living things to create sustainable designs and technologies using the Biomimicry Institute's step-by-step design process.
https://bit.ly/bidara-ai
Other
20 stars 2 forks source link

patent search function #13

Closed bruffridge closed 2 months ago

bruffridge commented 7 months ago

patent search - https://developer.uspto.gov/api-catalog/bulk-search-and-download, https://patentsview.org/apis/api-faqs, https://www.npmjs.com/package/uspto-patents-view-api

The code in the python folder can take a OpenAPI spec and convert it into the json schema required by OpenAI.

bruffridge commented 6 months ago

Here's some links to the code that add patent search to BIDARA on Discord. They will have to be rewritten for the BIDARA web version.

➡️ These are the two files you will need to edit to add the function to the web version: https://github.com/nasa-petal/bidara-deep-chat/tree/main/src/assistant

🚀 Here's how to run the BIDARA web version locally so you can test out your code changes. https://github.com/nasa-petal/bidara-deep-chat/tree/main?tab=readme-ov-file#run-locally

bruffridge commented 2 months ago

PQAI does not appear to be configured for CORS. Opened an issue in their repo. @saanaz379