Update README.md (#738)

* Update README.md

fix golang gpt4all import path

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>

* Update README.md

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>

---------

Signed-off-by: Nandakumar <nandagunasekaran@gmail.com>
This commit is contained in:
Nandakumar 2023-05-29 05:21:11 +05:30 committed by GitHub
parent 020f64b9a4
commit d101ca06d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ The golang bindings have been tested on:
```
import (
"github.com/nomic/gpt4all/gpt4all-bindings/golang"
"github.com/nomic-ai/gpt4all/gpt4all-bindings/golang"
)
func main() {
@ -43,7 +43,7 @@ make libgpt4all.a
To use the bindings in your own software:
- Import `github.com/nomic/gpt4all/gpt4all-bindings/golang`;
- Import `github.com/nomic-ai/gpt4all/gpt4all-bindings/golang`;
- Compile `libgpt4all.a` (you can use `make libgpt4all.a` in the bindings/go directory);
- Link your go binary against whisper by setting the environment variables `C_INCLUDE_PATH` and `LIBRARY_PATH` to point to the `binding.h` file directory and `libgpt4all.a` file directory respectively.