mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
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:
parent
020f64b9a4
commit
d101ca06d4
@ -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…
Reference in New Issue
Block a user