You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/07/11 06:53:06 UTC

(camel) branch main updated: camel-ai - Add ai-summary.adoc for AI components (#14782)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f7a6adc1295 camel-ai - Add ai-summary.adoc for AI components (#14782)
f7a6adc1295 is described below

commit f7a6adc12953655df98327bdcd9af93e9cf5d216
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Thu Jul 11 15:52:58 2024 +0900

    camel-ai - Add ai-summary.adoc for AI components (#14782)
    
    * camel-ai - Add ai-summary.adoc for AI components
    
    * Regen docs
---
 .../src/main/docs/chatscript-component.adoc               |  1 +
 .../camel-ai/camel-djl/src/main/docs/djl-component.adoc   |  1 +
 .../src/main/docs/langchain4j-chat-component.adoc         |  3 ++-
 .../src/main/docs/langchain4j-embeddings-component.adoc   |  1 +
 .../camel-milvus/src/main/docs/milvus-component.adoc      |  1 +
 .../camel-pinecone/src/main/docs/pinecone-component.adoc  |  1 +
 .../camel-qdrant/src/main/docs/qdrant-component.adoc      |  1 +
 components/camel-ai/src/main/docs/ai-summary.adoc         | 11 +++++++++++
 docs/components/modules/ROOT/nav.adoc                     | 15 ++++++++-------
 docs/components/modules/ROOT/pages/ai-summary.adoc        |  1 +
 10 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/components/camel-ai/camel-chatscript/src/main/docs/chatscript-component.adoc b/components/camel-ai/camel-chatscript/src/main/docs/chatscript-component.adoc
index 1606364050c..5878c765121 100644
--- a/components/camel-ai/camel-chatscript/src/main/docs/chatscript-component.adoc
+++ b/components/camel-ai/camel-chatscript/src/main/docs/chatscript-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: chatscript
 
 *Since Camel {since}*
diff --git a/components/camel-ai/camel-djl/src/main/docs/djl-component.adoc b/components/camel-ai/camel-djl/src/main/docs/djl-component.adoc
index 13281004767..85a098690f8 100644
--- a/components/camel-ai/camel-djl/src/main/docs/djl-component.adoc
+++ b/components/camel-ai/camel-djl/src/main/docs/djl-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: djl
 
 *Since Camel {since}*
diff --git a/components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc b/components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc
index dce9cfef48d..7ee743e5329 100644
--- a/components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc
+++ b/components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: langchain4j-chat
 
 *Since Camel {since}*
@@ -175,4 +176,4 @@ List<ChatMessage> messages = new ArrayList<>();
                 """));
 
         Exchange message = fluentTemplate.to("direct:test").withBody(messages).request(Exchange.class);
-----
\ No newline at end of file
+----
diff --git a/components/camel-ai/camel-langchain4j-embeddings/src/main/docs/langchain4j-embeddings-component.adoc b/components/camel-ai/camel-langchain4j-embeddings/src/main/docs/langchain4j-embeddings-component.adoc
index 58c41e1feae..ab9cae0e2d9 100644
--- a/components/camel-ai/camel-langchain4j-embeddings/src/main/docs/langchain4j-embeddings-component.adoc
+++ b/components/camel-ai/camel-langchain4j-embeddings/src/main/docs/langchain4j-embeddings-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: langchain4j-embeddings
 
 *Since Camel {since}*
diff --git a/components/camel-ai/camel-milvus/src/main/docs/milvus-component.adoc b/components/camel-ai/camel-milvus/src/main/docs/milvus-component.adoc
index 5de23ac55c5..7706e326b99 100644
--- a/components/camel-ai/camel-milvus/src/main/docs/milvus-component.adoc
+++ b/components/camel-ai/camel-milvus/src/main/docs/milvus-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: milvus
 
 *Since Camel {since}*
diff --git a/components/camel-ai/camel-pinecone/src/main/docs/pinecone-component.adoc b/components/camel-ai/camel-pinecone/src/main/docs/pinecone-component.adoc
index 633f6444f80..41f53233e38 100644
--- a/components/camel-ai/camel-pinecone/src/main/docs/pinecone-component.adoc
+++ b/components/camel-ai/camel-pinecone/src/main/docs/pinecone-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: pinecone
 
 *Since Camel {since}*
diff --git a/components/camel-ai/camel-qdrant/src/main/docs/qdrant-component.adoc b/components/camel-ai/camel-qdrant/src/main/docs/qdrant-component.adoc
index a9d9b639372..87d21139ce9 100644
--- a/components/camel-ai/camel-qdrant/src/main/docs/qdrant-component.adoc
+++ b/components/camel-ai/camel-qdrant/src/main/docs/qdrant-component.adoc
@@ -8,6 +8,7 @@
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
+:group: AI
 :camel-spring-boot-name: qdrant
 
 *Since Camel {since}*
diff --git a/components/camel-ai/src/main/docs/ai-summary.adoc b/components/camel-ai/src/main/docs/ai-summary.adoc
new file mode 100644
index 00000000000..678447db0eb
--- /dev/null
+++ b/components/camel-ai/src/main/docs/ai-summary.adoc
@@ -0,0 +1,11 @@
+= AI Components
+:doctitle: AI
+
+The Camel AI components are a group of components for applying Apache Camel to
+various AI-related technologies.
+
+== {doctitle} components
+
+See the following for usage of each component:
+
+indexDescriptionList::[attributes='group={doctitle}',descriptionformat=description]
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 8b249c0f7e6..400dbb1c80c 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -4,6 +4,14 @@
 * xref:ROOT:index.adoc[Components]
 ** xref:activemq-component.adoc[ActiveMQ 5.x]
 ** xref:activemq6-component.adoc[ActiveMQ 6.x]
+** xref:ai-summary.adoc[AI]
+*** xref:chatscript-component.adoc[ChatScript]
+*** xref:djl-component.adoc[Deep Java Library]
+*** xref:langchain4j-chat-component.adoc[langChain4j Chat]
+*** xref:langchain4j-embeddings-component.adoc[LangChain4j Embeddings]
+*** xref:milvus-component.adoc[Milvus]
+*** xref:pinecone-component.adoc[Pinecone]
+*** xref:qdrant-component.adoc[Qdrant]
 ** xref:amqp-component.adoc[AMQP]
 ** xref:arangodb-component.adoc[ArangoDb]
 ** xref:as2-component.adoc[AS2]
@@ -60,7 +68,6 @@
 ** xref:caffeine-cache-component.adoc[Caffeine Cache]
 ** xref:caffeine-loadcache-component.adoc[Caffeine LoadCache]
 ** xref:cql-component.adoc[Cassandra CQL]
-** xref:chatscript-component.adoc[ChatScript]
 ** xref:chunk-component.adoc[Chunk]
 ** xref:class-component.adoc[Class]
 ** xref:cm-sms-component.adoc[CM SMS Gateway]
@@ -84,7 +91,6 @@
 *** xref:debezium-oracle-component.adoc[Debezium Oracle Connector]
 *** xref:debezium-postgres-component.adoc[Debezium PostgresSQL Connector]
 *** xref:debezium-sqlserver-component.adoc[Debezium SQL Server Connector]
-** xref:djl-component.adoc[Deep Java Library]
 ** xref:dhis2-component.adoc[DHIS2]
 ** xref:digitalocean-component.adoc[DigitalOcean]
 ** xref:direct-component.adoc[Direct]
@@ -213,8 +219,6 @@
 *** xref:openshift-builds-component.adoc[Openshift Builds]
 *** xref:openshift-deploymentconfigs-component.adoc[Openshift Deployment Configs]
 ** xref:kudu-component.adoc[Kudu]
-** xref:langchain4j-chat-component.adoc[langChain4j Chat]
-** xref:langchain4j-embeddings-component.adoc[LangChain4j Embeddings]
 ** xref:language-component.adoc[Language]
 ** xref:ldap-component.adoc[LDAP]
 ** xref:ldif-component.adoc[LDIF]
@@ -226,7 +230,6 @@
 ** xref:master-component.adoc[Master]
 ** xref:metrics-component.adoc[Metrics]
 ** xref:micrometer-component.adoc[Micrometer]
-** xref:milvus-component.adoc[Milvus]
 ** xref:mina-component.adoc[Mina]
 ** xref:minio-component.adoc[Minio]
 ** xref:mllp-component.adoc[MLLP]
@@ -256,7 +259,6 @@
 ** xref:paho-component.adoc[Paho]
 ** xref:paho-mqtt5-component.adoc[Paho MQTT 5]
 ** xref:pdf-component.adoc[PDF]
-** xref:pinecone-component.adoc[Pinecone]
 ** xref:platform-http-component.adoc[Platform HTTP]
 ** xref:plc4x-component.adoc[PLC4X]
 ** xref:pgevent-component.adoc[PostgresSQL Event]
@@ -265,7 +267,6 @@
 ** xref:properties-component.adoc[Properties]
 ** xref:pubnub-component.adoc[PubNub]
 ** xref:pulsar-component.adoc[Pulsar]
-** xref:qdrant-component.adoc[Qdrant]
 ** xref:quartz-component.adoc[Quartz]
 ** xref:quickfix-component.adoc[QuickFix]
 ** xref:reactive-streams-component.adoc[Reactive Streams]
diff --git a/docs/components/modules/ROOT/pages/ai-summary.adoc b/docs/components/modules/ROOT/pages/ai-summary.adoc
new file mode 120000
index 00000000000..703f7fb87b9
--- /dev/null
+++ b/docs/components/modules/ROOT/pages/ai-summary.adoc
@@ -0,0 +1 @@
+../../../../../components/camel-ai/src/main/docs/ai-summary.adoc
\ No newline at end of file