From 9c181486a51ace7309597a1c5192745f692290c4 Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Fri, 18 Apr 2025 12:15:49 +0530 Subject: [PATCH] Added `CodeEmbed` component to embed code snippets in markdowns --- docs/docs/apis-generate/chat.md | 10 +- docs/docs/apis-generate/generate.md | 69 ++--------- .../apis-model-management/create-model.md | 25 ++-- .../apis-model-management/delete-model.md | 21 +--- .../get-model-details.md | 37 +++--- .../list-library-models.md | 68 ++-------- .../docs/apis-model-management/list-models.md | 27 ++-- docs/docs/apis-model-management/pull-model.md | 21 +--- docs/package-lock.json | 44 ++++++- docs/package.json | 5 +- docs/src/components/CodeEmbed/index.js | 116 ++++++++++++++++-- docs/src/components/Icon/index.js | 9 ++ docs/src/css/custom.css | 2 + 13 files changed, 233 insertions(+), 221 deletions(-) create mode 100644 docs/src/components/Icon/index.js diff --git a/docs/docs/apis-generate/chat.md b/docs/docs/apis-generate/chat.md index bf2e1f5..d5aabe9 100644 --- a/docs/docs/apis-generate/chat.md +++ b/docs/docs/apis-generate/chat.md @@ -2,6 +2,8 @@ sidebar_position: 7 --- +import CodeEmbed from '@site/src/components/CodeEmbed'; + # Chat This API lets you create a conversation with LLMs. Using this API enables you to ask questions to the model including @@ -273,10 +275,4 @@ You will get a response similar to: > or a similar breed. Without more details like ear shape and tail length, it's not possible to identify the exact breed > confidently. - -[//]: # (Generated using: https://emgithub.com/) -