15 lines
267 B
Go
15 lines
267 B
Go
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))
|
|
}
|