-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a03412
commit 48d2914
Showing
105 changed files
with
422 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...ng/android/PicoLLM/picollm/src/main/java/ai/picovoice/picollm/dialog/Phi35ChatDialog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
Copyright 2024 Picovoice Inc. | ||
You may not use this file except in compliance with the license. A copy of the license is | ||
located in the "LICENSE" file accompanying this source. | ||
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 ai.picovoice.picollm; | ||
|
||
/** | ||
* Represents a dialog helper specific for the `phi3.5` model. | ||
*/ | ||
public class Phi35ChatDialog extends Phi3ChatDialog { | ||
|
||
/** | ||
* Builder class for constructing Phi35ChatDialog instances. | ||
*/ | ||
public static class Builder extends PicoLLMDialog.Builder { | ||
/** | ||
* Builds a new instance of Phi35ChatDialog based on the configured settings. | ||
* | ||
* @return A new instance of Phi35ChatDialog. | ||
*/ | ||
public Phi35ChatDialog build() { | ||
return new Phi35ChatDialog(this.history, this.system); | ||
} | ||
} | ||
|
||
/** | ||
* Constructs a Phi35ChatDialog instance with the specified history and system settings. | ||
* | ||
* @param history The history length for the dialog. | ||
* @param system The system instruction for configuring the model's responses. | ||
*/ | ||
Phi35ChatDialog(Integer history, String system) { | ||
super(history, system); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
PODS: | ||
- picoLLM-iOS (1.1.0) | ||
- picoLLM-iOS (1.2.0) | ||
|
||
DEPENDENCIES: | ||
- picoLLM-iOS (~> 1.1.0) | ||
- picoLLM-iOS (~> 1.2.0) | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- picoLLM-iOS | ||
|
||
SPEC CHECKSUMS: | ||
picoLLM-iOS: dc03cd7e992c702ff34c667f9a35dd9a8084c061 | ||
picoLLM-iOS: 9ff6baa0b9e577d99491f4fa63f898a16fc6925c | ||
|
||
PODFILE CHECKSUM: 98abf1cf0742d4b39a907fca5738e5c82a67bf5a | ||
PODFILE CHECKSUM: 0fc8e4e6c396032024417ef0a8a5b036c1d24c70 | ||
|
||
COCOAPODS: 1.11.3 | ||
COCOAPODS: 1.15.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'picoLLM-iOS' | ||
s.module_name = 'PicoLLM' | ||
s.version = '1.1.0' | ||
s.version = '1.2.0' | ||
s.license = {:type => 'Apache 2.0'} | ||
s.summary = 'picoLLM Inference Engine' | ||
s.description = | ||
|
@@ -10,7 +10,7 @@ Pod::Spec.new do |s| | |
DESC | ||
s.homepage = 'https://github.com/Picovoice/picollm/tree/master/binding/ios' | ||
s.author = { 'Picovoice' => '[email protected]' } | ||
s.source = { :git => "https://github.com/Picovoice/picollm.git", :tag => "picoLLM-iOS-v1.1.0" } | ||
s.source = { :git => "https://github.com/Picovoice/picollm.git", :tag => "picoLLM-iOS-v1.2.0" } | ||
s.ios.deployment_target = '16.0' | ||
s.swift_version = '5.0' | ||
s.vendored_frameworks = 'lib/ios/PvPicoLLM.xcframework' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.