-
Notifications
You must be signed in to change notification settings - Fork 67
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
a495e30
commit fa5f688
Showing
25 changed files
with
1,650 additions
and
175 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
issues: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19.x | ||
check-latest: true | ||
|
||
- name: Check Out Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Release Notes | ||
run: ./resources/scripts/release_notes.sh > ./release_notes.md | ||
|
||
- name: GoReleaser | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
version: latest | ||
args: release --release-notes=./release_notes.md --timeout 60m | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,29 @@ | ||
builds: | ||
- id: bricksllm | ||
main: cmd/bricksllm/main.go | ||
binary: bricksllm | ||
goos: [ windows, darwin, linux ] | ||
goarch: [ amd64, arm, arm64 ] | ||
goarm: ["6", "7"] | ||
ignore: | ||
- goos: windows | ||
goarch: arm | ||
- goos: darwin | ||
goarch: arm | ||
env: | ||
- CGO_ENABLED=0 | ||
archives: | ||
- id: bricksllm | ||
builds: [ bricksllm ] | ||
format: tar.gz | ||
files: | ||
- README.md | ||
- CHANGELOG.md | ||
- LICENSE | ||
dist: target/dist | ||
release: | ||
github: | ||
owner: bricks-cloud | ||
name: bricks | ||
prerelease: auto | ||
disable: false |
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,10 @@ | ||
## 0.0.1 - 2023-07-31 | ||
### Added | ||
- Added a http web server for hosting `openai` prompts | ||
- Added a `yaml` parser for reading bricksllm configurations | ||
- Added support for [`cors`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) configuration in the web server | ||
- Added support for specifying `input` json schema | ||
- Added support for `{input.field}` like syntax in the prompt template | ||
- Added comprehensive logging in production and developer mode | ||
- Added logger configuration for hiding sensitive fields using the `logger` field | ||
- Added support for API key authenticaiton with `key_auth` field |
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,7 @@ | ||
Copyright 2023 Bricks Cloud Technologies, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Oops, something went wrong.