corgy-w commented on code in PR #7584:
URL: https://github.com/apache/seatunnel/pull/7584#discussion_r1744849785
##########
docs/zh/transform-v2/llm.md:
##########
@@ -118,3 +174,83 @@ sink {
}
```
+### Customize the LLM model
+
+```hocon
+env {
+ job.mode = "BATCH"
+}
+
+source {
+ FakeSource {
+ row.num = 5
+ schema = {
+ fields {
+ id = "int"
+ name = "string"
+ }
+ }
+ rows = [
+ {fields = [1, "Jia Fan"], kind = INSERT}
+ {fields = [2, "Hailin Wang"], kind = INSERT}
+ {fields = [3, "Tomas"], kind = INSERT}
+ {fields = [4, "Eric"], kind = INSERT}
+ {fields = [5, "Guangdong Liu"], kind = INSERT}
+ ]
+ result_table_name = "fake"
+ }
+}
+
+transform {
+ LLM {
+ source_table_name = "fake"
+ model_provider = CUSTOM
+ model = gpt-4o-mini
Review Comment:
At present, it is not considered, in fact, deleting the model, apikey, and
so on is also possible
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]