feat: change repo name

This commit is contained in:
VaalaCat
2025-02-12 13:22:09 +00:00
parent ff9d83a485
commit 3640274cd1
51 changed files with 114 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
# Go OpenAI
[![Go Reference](https://pkg.go.dev/badge/github.com/sashabaranov/go-openai.svg)](https://pkg.go.dev/github.com/sashabaranov/go-openai)
[![Go Report Card](https://goreportcard.com/badge/github.com/sashabaranov/go-openai)](https://goreportcard.com/report/github.com/sashabaranov/go-openai)
[![Go Reference](https://pkg.go.dev/badge/git.vaala.cloud/VaalaCat/go-openai.svg)](https://pkg.go.dev/git.vaala.cloud/VaalaCat/go-openai)
[![Go Report Card](https://goreportcard.com/badge/git.vaala.cloud/VaalaCat/go-openai)](https://goreportcard.com/report/git.vaala.cloud/VaalaCat/go-openai)
[![codecov](https://codecov.io/gh/sashabaranov/go-openai/branch/master/graph/badge.svg?token=bCbIfHLIsW)](https://codecov.io/gh/sashabaranov/go-openai)
This library provides unofficial Go clients for [OpenAI API](https://platform.openai.com/). We support:
@@ -13,7 +13,7 @@ This library provides unofficial Go clients for [OpenAI API](https://platform.op
## Installation
```
go get github.com/sashabaranov/go-openai
go get git.vaala.cloud/VaalaCat/go-openai
```
Currently, go-openai requires Go version 1.18 or greater.
@@ -28,7 +28,7 @@ package main
import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -80,7 +80,7 @@ import (
"errors"
"fmt"
"io"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -133,7 +133,7 @@ package main
import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -166,7 +166,7 @@ import (
"context"
"fmt"
"io"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -215,7 +215,7 @@ import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -247,7 +247,7 @@ import (
"fmt"
"os"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -288,7 +288,7 @@ import (
"context"
"encoding/base64"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
"image/png"
"os"
)
@@ -436,7 +436,7 @@ config.HTTPClient = &http.Client{
c := openai.NewClientWithConfig(config)
```
See also: https://pkg.go.dev/github.com/sashabaranov/go-openai#ClientConfig
See also: https://pkg.go.dev/git.vaala.cloud/VaalaCat/go-openai#ClientConfig
</details>
<details>
@@ -452,7 +452,7 @@ import (
"os"
"strings"
"github.com/sashabaranov/go-openai"
"git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -506,7 +506,7 @@ import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -552,7 +552,7 @@ package main
import (
"context"
"log"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
@@ -609,7 +609,7 @@ import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
openai "git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -740,7 +740,7 @@ package main
import (
"context"
"fmt"
"github.com/sashabaranov/go-openai"
"git.vaala.cloud/VaalaCat/go-openai"
)
func main() {
@@ -815,8 +815,8 @@ import (
"fmt"
"log"
"github.com/sashabaranov/go-openai"
"github.com/sashabaranov/go-openai/jsonschema"
"git.vaala.cloud/VaalaCat/go-openai"
"git.vaala.cloud/VaalaCat/go-openai/jsonschema"
)
func main() {
@@ -888,7 +888,7 @@ Due to the factors mentioned above, different answers may be returned even for t
By adopting these strategies, you can expect more consistent results.
**Related Issues:**
[omitempty option of request struct will generate incorrect request when parameter is 0.](https://github.com/sashabaranov/go-openai/issues/9)
[omitempty option of request struct will generate incorrect request when parameter is 0.](https://git.vaala.cloud/VaalaCat/go-openai/issues/9)
### Does Go OpenAI provide a method to count tokens?
@@ -899,15 +899,15 @@ For counting tokens, you might find the following links helpful:
- [How to count tokens with tiktoken](https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb)
**Related Issues:**
[Is it possible to join the implementation of GPT3 Tokenizer](https://github.com/sashabaranov/go-openai/issues/62)
[Is it possible to join the implementation of GPT3 Tokenizer](https://git.vaala.cloud/VaalaCat/go-openai/issues/62)
## Contributing
By following [Contributing Guidelines](https://github.com/sashabaranov/go-openai/blob/master/CONTRIBUTING.md), we hope to ensure that your contributions are made smoothly and efficiently.
By following [Contributing Guidelines](https://git.vaala.cloud/VaalaCat/go-openai/blob/master/CONTRIBUTING.md), we hope to ensure that your contributions are made smoothly and efficiently.
## Thank you
We want to take a moment to express our deepest gratitude to the [contributors](https://github.com/sashabaranov/go-openai/graphs/contributors) and sponsors of this project:
We want to take a moment to express our deepest gratitude to the [contributors](https://git.vaala.cloud/VaalaCat/go-openai/graphs/contributors) and sponsors of this project:
- [Carson Kahn](https://carsonkahn.com) of [Spindle AI](https://spindleai.com)
To all of you: thank you. You've helped us achieve more than we ever imagined possible. Can't wait to see where we go next, together!