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>
pull/913/head
Nandakumar 1 year ago committed by GitHub
parent 6ec2e26cd1
commit 4161bfba33

@ -8,7 +8,7 @@ The golang bindings have been tested on:
``` ```
import ( import (
"github.com/nomic/gpt4all/gpt4all-bindings/golang" "github.com/nomic-ai/gpt4all/gpt4all-bindings/golang"
) )
func main() { func main() {
@ -43,7 +43,7 @@ make libgpt4all.a
To use the bindings in your own software: 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); - 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. - 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.

Loading…
Cancel
Save