From 4358a91e345e1d48e9ca8f73b43e048ff9a02938 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Sun, 10 Nov 2024 12:45:55 +0100 Subject: [PATCH] fix markdown linting errors --- docs/recipes/ai-for-documentation.md | 1 + docs/recipes/ai.md | 7 ++++++- docs/recipes/breaking-changes-6-1.md | 15 +++++++++++---- docs/recipes/configuration-lucee5.md | 1 + docs/recipes/configuration.md | 2 ++ docs/recipes/overwrite-build-in-functions-tags.md | 1 - 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/docs/recipes/ai-for-documentation.md b/docs/recipes/ai-for-documentation.md index ec55f9a20..06985dcf8 100644 --- a/docs/recipes/ai-for-documentation.md +++ b/docs/recipes/ai-for-documentation.md @@ -38,6 +38,7 @@ To enable AI in the Documentation tab of the Monitor, set up a compatible AI con Below are example configurations to enable AI functionality in the Documentation tab, important here is the `default` setting. **OpenAI (ChatGPT) Configuration Example:** + ```json "ai": { "docChatGPT": { diff --git a/docs/recipes/ai.md b/docs/recipes/ai.md index a677d20e2..25a776aff 100644 --- a/docs/recipes/ai.md +++ b/docs/recipes/ai.md @@ -19,6 +19,7 @@ Lucee 6.2 includes experimental support for AI integration, which will be finali In Lucee 6.2, AI connections can be configured similarly to datasources or caches, either in the Lucee Administrator or directly in `.CFConfig.json`. Here are sample configurations: **OpenAI (ChatGPT) Example:** + ```json "ai": { "mychatgpt": { @@ -36,6 +37,7 @@ In Lucee 6.2, AI connections can be configured similarly to datasources or cache ``` **Google Gemini Example:** + ```json "ai": { "mygemini": { @@ -51,6 +53,7 @@ In Lucee 6.2, AI connections can be configured similarly to datasources or cache ``` **Ollama (Local) Example:** + ```json "ai": { "gemma2": { @@ -68,6 +71,7 @@ In Lucee 6.2, AI connections can be configured similarly to datasources or cache In these examples, ChatGPT from OpenAI, Gemini from Google, and Ollama for local use are set up. The `OpenAIEngine` allows configuration for `openai` or `ollama` types and can also connect to any service using the OpenAI REST interface by specifying a URL: **OpenAI REST Interface Example:** + ```json "ai": { "lucy": { @@ -110,6 +114,7 @@ You can interact with AI directly via Lucee functions and tags. At the moment, these functions use the prefix `Lucee` to avoid conflicts with existing functions in your code. With Lucee 7, we plan to remove the prefix (but still support it as an alias). **Direct Interaction Example:** + ```javascript // start a session with a specic AI endpoint slim = LuceeCreateAISession(name:'gemma2', systemMessage:"Answer as Slim Shady."); @@ -136,7 +141,7 @@ This feature is still a work in progress, and we are working to improve the qual ### Monitor Documentation Tab In the Monitor's Documentation tab, AI can answer questions about Lucee based on retrieval-augmented generation (RAG) with available documentation and links to related documents. -This feature is also in development for enhanced input quality (read more about Monitor Documentation here https://github.com/lucee/lucee-docs/blob/master/docs/recipes/monitoring-debugging.md). +This feature is also in development for enhanced input quality (read more about [https://github.com/lucee/lucee-docs/blob/master/docs/recipes/monitoring-debugging.md](Monitor Documentation) ). ## Future Development diff --git a/docs/recipes/breaking-changes-6-1.md b/docs/recipes/breaking-changes-6-1.md index 0246dcf2c..92a3784e8 100644 --- a/docs/recipes/breaking-changes-6-1.md +++ b/docs/recipes/breaking-changes-6-1.md @@ -1,5 +1,4 @@ -