Commit Graph

3 Commits

Author SHA1 Message Date
Markus Ecker 08b151dc92 verify text in the middle of a sentence completes 2024-08-19 15:03:04 +02:00
Markus Ecker 95bcbd8825 Initial CopilotCloud support (#318)
* move messages to context

* update prettier

* remove const generics from .prettierignore

* exclude build files in VSCode

* add api key to props

* log chat requests to the cloud

* edit content violation message

* add cloud prefix

* use the current cloud url

* inline guardrails definitions

* update domain

* add input guardrail

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* rename API key to publicApiKey

* Uniform handling of api key header

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* streamline cloud config and add cloud client

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* get headers via case insensitive method

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* update API key

* add reason to guardrail

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* update api key

* rename chat endpoint to engine/openai

* rename cloud chat endpoint

* update API key

* add api version

* update endpoint url

* update API key

* update api keys

* make valid topics optional

* update API key

* add missing import

* exclude Next.js build folder

* rename: CloudClient —> CopilotCloud, DefaultCopilotCloudClient —> RemoteCopilotCloud

* CopilotBackend —> CopilotRuntime

* url -> runtimeUrl

* update docs: CopilotRuntime

* updae docs

* exit pre

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* update comment

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* update comments

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* remove hardcoded guardrails reply

* Fix forwardedProps could be undefined

* send api key when using text area completion

* fix getting header in node http

* update docs

* update to the latest langchain

* add QA for langchain

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* fix langchain qa

* fix yarn create app

* in node http, get api key from headers dict

* Pre release mme/cloud

* Pre release mme/cloud - exit pre mode

* fix langserve qa
2024-05-01 19:31:00 +02:00
Markus Ecker 6541897e52 add qa script and clean up 2024-03-21 17:24:57 +01:00