Share via

GPT service with Python and VS code

Shinyee Tong 100 Reputation points Microsoft External Staff
2023-11-29T07:55:41.5933333+00:00
  1. I want to deploy GPT service which is combined with Python and VS code.

What would I do to meet this requirements?

  1. I will like to save and read files from Postgresql with pgvector extension.

could provide the materials to support this?

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,661 Reputation points Microsoft Employee Moderator
    2023-11-30T02:11:24.07+00:00

    @Shinyee Tong (International Supplier) For GPT, you can create an Azure Open AI Resource and Deploy a GPT Model that you can later access via its API. In your python code, you can directly use the openai package which has a separate class to use Azure OpenAI.

    For the vector store, you can enable the pgvector extension for Azure PostgreSQL as shown in the official docs.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.