From e1ccf08d54072443cb5d167b115681e383223526 Mon Sep 17 00:00:00 2001
From: Tristan Chin <23557893+maxijonson@users.noreply.github.com>
Date: Sat, 9 Sep 2023 15:03:58 -0400
Subject: [PATCH] [docs] Conversation Classes (#43)
---
package-lock.json | 15 +-
packages/docs/package.json | 1 +
packages/docs/src/app/layout.tsx | 2 +
.../conversation/chatcompletion-service.mdx | 45 ++++-
.../conversation-callable-functions.mdx | 107 ++++++++++-
.../docs/conversation/conversation-config.mdx | 172 +++++++++++++++++-
.../conversation/conversation-history.mdx | 145 ++++++++++++++-
.../conversation-plugin-service.mdx | 6 +-
.../conversation/conversation-plugins.mdx | 97 +++++++++-
.../conversation-request-options.mdx | 58 +++++-
.../mdx/docs/getting-started/introduction.mdx | 7 +-
11 files changed, 638 insertions(+), 17 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0c24618..56ba955 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7918,6 +7918,11 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
+ "node_modules/@vercel/analytics": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.0.2.tgz",
+ "integrity": "sha512-BZFxVrv24VbNNl5xMxqUojQIegEeXMI6rX3rg1uVLYUEXsuKNBSAEQf4BWEcjQDp/8aYJOj6m8V4PUA3x/cxgg=="
+ },
"node_modules/@vitejs/plugin-react-swc": {
"version": "3.3.2",
"dev": true,
@@ -10659,6 +10664,10 @@
"node": ">=16.9.0"
}
},
+ "node_modules/docs": {
+ "resolved": "packages/docs",
+ "link": true
+ },
"node_modules/doctrine": {
"version": "3.0.0",
"dev": true,
@@ -13185,10 +13194,6 @@
"resolved": "packages/implementations/discord",
"link": true
},
- "node_modules/gpt-turbo-docs": {
- "resolved": "packages/docs",
- "link": true
- },
"node_modules/gpt-turbo-nest": {
"resolved": "packages/implementations/nest",
"link": true
@@ -25227,7 +25232,6 @@
}
},
"packages/docs": {
- "name": "gpt-turbo-docs",
"version": "5.0.0",
"dependencies": {
"@mantine/code-highlight": "^7.0.0-alpha.21",
@@ -25236,6 +25240,7 @@
"@mantine/spotlight": "^7.0.0-alpha.21",
"@mantine/vanilla-extract": "^7.0.0-alpha.21",
"@vanilla-extract/css": "^1.12.0",
+ "@vercel/analytics": "^1.0.2",
"contentlayer": "^0.3.4",
"next": "13.4.12",
"next-contentlayer": "^0.3.4",
diff --git a/packages/docs/package.json b/packages/docs/package.json
index d783f5e..cda7879 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -19,6 +19,7 @@
"@mantine/spotlight": "^7.0.0-alpha.21",
"@mantine/vanilla-extract": "^7.0.0-alpha.21",
"@vanilla-extract/css": "^1.12.0",
+ "@vercel/analytics": "^1.0.2",
"contentlayer": "^0.3.4",
"next": "13.4.12",
"next-contentlayer": "^0.3.4",
diff --git a/packages/docs/src/app/layout.tsx b/packages/docs/src/app/layout.tsx
index 9f6c194..6197c87 100644
--- a/packages/docs/src/app/layout.tsx
+++ b/packages/docs/src/app/layout.tsx
@@ -1,6 +1,7 @@
import "@mantine/core/styles.css";
import "@mantine/spotlight/styles.css";
import "@mantine/code-highlight/styles.css";
+import { Analytics } from "@vercel/analytics/react";
import { ColorSchemeScript } from "@mantine/core";
import Shell from "./components/Shell/Shell";
import DocsSpotlight from "./components/DocsSpotlight/DocsSpotlight";
@@ -59,6 +60,7 @@ const AppLayout = ({ children }: AppLayoutProps) => {
{children}
+