Giter Club home page Giter Club logo

openaiapi's Introduction

📌 Open AI QA機器人和ChatGPT API實作

image image

使用Open AI API建立的ChatGPT和QA機器人

  1. Google OpenID Connect登入服務
  2. ChatGPT3.5/4聊天室操作API
  3. QA服務
  4. Chat GPT 3.5/4串接
  5. Embedding文本轉換和寫入

📒 環境變數相關資訊

SeqLog設定

  • serverUrl : Seqlog Server Url
  • apiKey : Seqlog API Key

MSSQL設定

  • ConnectionStrings__DefaultConnection : SQL連線字串
  • Connection__Key : SQL連線密碼

PathBase設定

  • HostUrl__PathBase : 代理路徑設定

OpenAI API設定

  • OpenAI__Key : Open AI API Key
  • OpenAI__ChatGPTModel : ChatGPT的Model(預設:gpt-3.5-turbo,2023/06/13後可以改用gpt-3.5-turbo-0613/gpt-3.5-turbo-16k-0613)
  • OpenAI__EmbeddingModel : Embedding的Model(預設:text-embedding-ada-002)
  • OpenAI__ChatGPTCompletionMAXTokenSize : ChatGPT回答時的Token最大數量(預設:2048)
  • OpenAI__QAGPTCompletionMAXTokenSize : QA GPT回答時的Token最大數量(預設:1024)
  • OpenAI__TotalTokenSize : ChatGPT的提問和回應Token數量限制(預設:4096)(gpt-3.5-turbo最大:4096)(gpt-3.5-turbo-16k-0613最大:16384)

📒 DB相關資訊

資料庫 : OpenAI

openaiapi's People

Contributors

momochenisme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.