Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Miyagi Bing and ai.com Plugin

Showcases how to build a Bing and ai.com plugin and host it securely in Azure.

Examples

This plugin showcases a financial advisor app, and since it is accessible publicly from Bing and ChatGPT, it will answer general questions about investment allocation. For the next phase, it will have user authentication and will be able to answer questions about the user's portfolio.

  • "Given current marco conditions, is it better to invest in stocks or bonds?"
  • "Is MSFT a good purchase?"
  • "Best way to invest $1000?"
  • "Most optimal retirement plan?"

Setup

  1. Populate the .env.example file with your Bing API and OpenAPI keys and rename it to .env
  2. (Optional) Register for a free API Key with FMP to fetch stock information and update .env
  3. In a terminal or codespaces, run the following command:
    poetry install && poetry run dev 
    
  4. Install the plugin from Bing or ai.com.

ChatGPT

  1. Go to ai.com and from New Chat, under GPT-4, select Plugins
  2. From the Plugin store dialog, Click on Develop your own plugin
  3. Under Domain, enter http://localhost:8000 and click on Find Manifest find-manifest
  4. Install localhost plugin install-plugin
  5. Select plugin and interact plugin interact