2023-04-15 23:39:07 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2023-05-18 20:50:21 +00:00
|
|
|
{
|
|
|
|
"name": "Python: Current File",
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${file}",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"justMyCode": false,
|
|
|
|
"cwd": "${workspaceFolder}/examples/langchain-chroma",
|
|
|
|
"env": {
|
|
|
|
"OPENAI_API_BASE": "http://localhost:8080/v1",
|
|
|
|
"OPENAI_API_KEY": "abc"
|
|
|
|
}
|
|
|
|
},
|
2023-04-21 23:20:03 +00:00
|
|
|
{
|
2023-05-19 14:39:48 +00:00
|
|
|
"name": "Launch LocalAI API",
|
2023-04-21 23:20:03 +00:00
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"program": "${workspaceFolder}/main.go",
|
|
|
|
"args": [
|
|
|
|
"api"
|
|
|
|
],
|
|
|
|
"env": {
|
2023-05-19 14:39:48 +00:00
|
|
|
"C_INCLUDE_PATH": "${workspaceFolder}/go-llama:${workspaceFolder}/go-stable-diffusion/:${workspaceFolder}/gpt4all/gpt4all-bindings/golang/:${workspaceFolder}/go-gpt2:${workspaceFolder}/go-rwkv:${workspaceFolder}/whisper.cpp:${workspaceFolder}/go-bert:${workspaceFolder}/bloomz",
|
2023-05-30 11:01:55 +00:00
|
|
|
"LIBRARY_PATH": "${workspaceFolder}/go-llama:${workspaceFolder}/go-stable-diffusion/:${workspaceFolder}/gpt4all/gpt4all-bindings/golang/:${workspaceFolder}/go-gpt2:${workspaceFolder}/go-rwkv:${workspaceFolder}/whisper.cpp:${workspaceFolder}/go-bert:${workspaceFolder}/bloomz",
|
2023-04-21 23:20:03 +00:00
|
|
|
"DEBUG": "true"
|
|
|
|
}
|
|
|
|
}
|
2023-04-15 23:39:07 +00:00
|
|
|
]
|
2023-04-21 23:20:03 +00:00
|
|
|
}
|