chore: update ChatglmLlm Copyright

This commit is contained in:
Michael Yang 2024-03-26 13:01:16 +08:00
parent 64e5b6cdd8
commit 4a5d4abf52
3 changed files with 48 additions and 4 deletions

View File

@ -1,8 +1,20 @@
/*
* Copyright (c) 2022-2023, Agents-Flex (fuhai999@gmail.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.agentsflex.llm.chatglm;
import java.util.HashMap;
import java.util.Map;
import com.agentsflex.document.Document;
import com.agentsflex.llm.BaseLlm;
import com.agentsflex.llm.MessageListener;
@ -26,6 +38,9 @@ import com.agentsflex.util.Maps;
import com.agentsflex.util.StringUtil;
import com.alibaba.fastjson.JSONPath;
import java.util.HashMap;
import java.util.Map;
public class ChatglmLlm extends BaseLlm<ChatglmLlmConfig> {
private HttpClient httpClient = new HttpClient();

View File

@ -1,4 +1,18 @@
/*
* Copyright (c) 2022-2023, Agents-Flex (fuhai999@gmail.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.agentsflex.llm.chatglm;
import com.agentsflex.llm.LlmConfig;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2022-2023, Agents-Flex (fuhai999@gmail.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.agentsflex.llm.chatglm;
import com.agentsflex.message.AiMessage;