/usr/bin/ya ydb config profile create
Далее ввести название.
endpoint: grpc://localhost:2135
database: \local
| #include <iostream> | |
| #include <memory> | |
| #include <string> | |
| #include <cstdlib> | |
| #include <curl/curl.h> | |
| const std::string API_KEY = "your_api_key_here"; | |
| const std::string LLM_URL = "https://api.openai.com/v1/completions"; | |
| template <typename T> |
| #include <iostream> | |
| #include <memory> | |
| #include <string> | |
| #include <cstdlib> | |
| #include <curl/curl.h> | |
| const std::string API_KEY = "your_api_key_here"; | |
| const std::string LLM_URL = "https://api.openai.com/v1/completions"; | |
| template <typename T> |
| std::string super_duper_function() { | |
| return "Have a good weekend!"; | |
| } |
| #include <stdio.h> | |
| // Пример, чтобы убедиться, что invoke работает | |
| // int invoke(int16_t *arr, int size, int pivot) { | |
| // int sum = 0; | |
| // for (int i = 0; i != size; ++i) { | |
| // sum += arr[i]; | |
| // } | |
| // | |
| // return sum; |
| #include <iostream> | |
| #include <thread> | |
| struct A { | |
| void call_A() { | |
| std::cout << "val: " << val << std::endl; | |
| } | |
| int val; | |
| }; |
| package main | |
| import ( | |
| "log" | |
| "os" | |
| ) | |
| func main() { | |
| loggerInfo := log.New(os.Stdout, "INFO: ", | |
| log.Ldate|log.Lmicroseconds|log.Lshortfile) |