Initial working copy
This commit is contained in:
parent
2a335176e6
commit
2c876cef42
19 changed files with 783 additions and 126 deletions
15
completion/llamacpp/llamacpp.go
Normal file
15
completion/llamacpp/llamacpp.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package llamacpp
|
||||
|
||||
/*
|
||||
#include "llamacpp.h"
|
||||
#include <stdlib.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
import "unsafe"
|
||||
|
||||
func Run() {
|
||||
prompt := C.CString("Here is a very short story about a brave knight. One day, the knight")
|
||||
C.chandlerscustomllama(prompt)
|
||||
C.free(unsafe.Pointer(prompt))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue