Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DJAndries/llmvm
/ functions
Functions
181 in github.com/DJAndries/llmvm
⨍
Functions
181
◇
Types & classes
89
Method
call
(&mut self, req: BackendRequest)
protocol/src/service.rs:124
Method
close
Wait for model loading tasks (if any) to finish and close the backend.
backends/llmrs-lib/src/lib.rs:184
Method
close_client
Close the active stdio (local child process) or HTTP client (remote process) for a given backend. If the backend client is over stdio, the backend chi
core-lib/src/lib.rs:128
Method
config_example_snippet
()
core/src/main.rs:39
Method
config_example_snippet
()
frontends/chat/src/main.rs:61
Method
config_example_snippet
()
frontends/codeassist/src/main.rs:52
Method
config_example_snippet
()
backends/llmrs-lib/src/lib.rs:92
Method
config_example_snippet
()
backends/outsource-lib/src/lib.rs:101
Method
config_example_snippet
()
backends/llmrs/src/main.rs:38
Method
config_example_snippet
()
backends/outsource/src/main.rs:38
Method
config_example_snippet
()
core-lib/src/lib.rs:50
Method
default
()
frontends/codeassist/src/main.rs:87
Function
extract_response_from_stream_event
(line_json: &str)
backends/outsource-lib/src/anthropic.rs:130
Function
extract_response_from_stream_event
( line_json: &str, is_chat_model: bool, )
backends/outsource-lib/src/openai.rs:149
Function
extract_response_from_stream_event
(line_json: &[u8])
backends/outsource-lib/src/ollama.rs:111
Method
fmt
(&self, f: &mut Formatter<'_>)
protocol/src/lib.rs:227
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
util/src/lib.rs:24
Method
from
(value: FoldingRange)
frontends/codeassist/src/complete/typedefs.rs:28
Method
from_custom_prompt
Creates a `ReadyPrompt` from a completed prompt.
core-lib/src/prompts.rs:135
Method
from_custom_template
Generates a full prompt using a Handlebars template and parameters.
core-lib/src/prompts.rs:126
Method
from_http_request
(request: HttpRequest<Body>)
protocol/src/http.rs:25
Method
from_http_response
( response: ModalHttpResponse, original_request: &CoreRequest, )
protocol/src/http.rs:89
Method
from_jsonrpc_message
( value: JsonRpcMessage, original_request: &CoreRequest, )
protocol/src/stdio.rs:57
Method
from_jsonrpc_request
(value: JsonRpcRequest)
protocol/src/stdio.rs:20
Method
from_stored_template
Loads a Handlebars prompt template from the current project or user home directory, and generates a full prompt using the given template parameters.
core-lib/src/prompts.rs:116
Method
from_str
(s: &str)
protocol/src/lib.rs:197
Function
generate
Generate text and return the whole response using the Hugging Face API. Custom hosted endpoints may be used by supplying the prefix `endpoint=`, foll
backends/outsource-lib/src/huggingface.rs:32
Function
generate
Generate text and return the whole response using the Anthropic API.
backends/outsource-lib/src/anthropic.rs:101
Function
generate
Generate text and return the whole response using the ollama API.
backends/outsource-lib/src/ollama.rs:65
Method
generate
( &self, request: BackendGenerationRequest, )
backends/llmrs-lib/src/lib.rs:193
Method
generate
( &self, request: BackendGenerationRequest, )
backends/outsource-lib/src/lib.rs:145
Function
generate_stream
Request text generation and return an asynchronous stream of generated tokens, using the Anthropic API.
backends/outsource-lib/src/anthropic.rs:143
Function
generate_stream
Generate text and return a streaming response using the ollama API.
backends/outsource-lib/src/ollama.rs:80
Method
generate_stream
( &self, request: BackendGenerationRequest, )
backends/llmrs-lib/src/lib.rs:205
Method
generate_stream
( &self, request: BackendGenerationRequest, )
backends/outsource-lib/src/lib.rs:197
Method
get_code_location_from_params
(params: &mut ExecuteCommandParams)
frontends/codeassist/src/adapter.rs:145
Method
get_model_description_and_provider
( request: &BackendGenerationRequest, )
backends/outsource-lib/src/lib.rs:131
Method
get_params
(&self)
frontends/codeassist/src/lsp.rs:89
Method
get_service
(&mut self)
frontends/codeassist/src/passthrough.rs:58
Method
handle_doc_sync_notification
(&mut self, message: &LspMessage)
frontends/codeassist/src/content.rs:177
Method
handle_message
Reads headers and message, and processes message. Returns true if the LSP is exiting.
frontends/codeassist/src/passthrough.rs:159
Method
hash
(&self, state: &mut H)
frontends/codeassist/src/complete/mod.rs:34
Method
into
(self)
backends/util/src/lib.rs:33
Method
into_jsonrpc_message
(response: CoreResponse, id: Value)
protocol/src/stdio.rs:92
Method
into_jsonrpc_request
(&self)
protocol/src/stdio.rs:34
Method
load
Load the model into memory.
backends/llmrs-lib/src/model.rs:70
Method
load_template
(template_id: &str)
core-lib/src/prompts.rs:68
Function
main
()
core/src/main.rs:99
Function
main
()
frontends/chat/src/main.rs:253
Function
main
()
frontends/codeassist/src/main.rs:101
Function
main
()
backends/llmrs/src/main.rs:60
Function
main
()
backends/outsource/src/main.rs:60
Function
maybe_save_example_config
(config_filename: &str)
util/src/lib.rs:129
Method
new
(backend: Arc<B>)
protocol/src/service.rs:78
Method
new
()
frontends/chat/src/main.rs:86
Method
new
( config: Arc<CodeAssistConfig>, passthrough_service: LspMessageService, llmvm_core_se
frontends/codeassist/src/adapter.rs:50
Method
new
( our_stdin: Stdin, our_stdout: Stdout, real_server_stdin: ChildStdin, real_se
frontends/codeassist/src/passthrough.rs:39
Method
new
(message: LspMessage, to_real_server: bool)
frontends/codeassist/src/service.rs:16
Method
new
(adapter_service: LspMessageService)
frontends/codeassist/src/interceptor.rs:46
Method
new
( config: Arc<CodeAssistConfig>, llmvm_core_service: Arc<Mutex<BoxedService<CoreRequest, CoreR
frontends/codeassist/src/complete/mod.rs:90
Method
new
(config: LlmrsConfig)
backends/llmrs-lib/src/lib.rs:126
Method
new
(config: OutsourceConfig)
backends/outsource-lib/src/lib.rs:127
Method
new
(mut config: LLMVMCoreConfig)
core-lib/src/lib.rs:77
Method
new_notification
(params: N::Params)
frontends/codeassist/src/lsp.rs:39
Method
new_request
(params: R::Params)
frontends/codeassist/src/lsp.rs:28
Method
new_response
(result: Result<R::Result>, id: Value)
frontends/codeassist/src/lsp.rs:50
Function
new_thread_id
()
core-lib/src/threads.rs:96
Method
perform_inference
( mut session: InferenceSession, model: Arc<dyn Model>, request: BackendGenerationRequ
backends/llmrs-lib/src/model.rs:110
Method
poll_next
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
frontends/codeassist/src/complete/processing.rs:34
Method
poll_ready
(&mut self, _cx: &mut Context<'_>)
protocol/src/service.rs:120
Method
poll_ready
( &mut self, _cx: &mut std::task::Context<'_>, )
frontends/codeassist/src/service.rs:43
Method
process
(template: &str, parameters: &Value, is_chat_model: bool)
core-lib/src/prompts.rs:80
Method
read_headers
Reads headers into the out params, returns false if the input stream is finished
frontends/codeassist/src/passthrough.rs:96
Method
read_message_payload
Reads message payload for given content length, returns None if message could not be read and should be skipped.
frontends/codeassist/src/passthrough.rs:134
Method
run
(&mut self)
frontends/codeassist/src/passthrough.rs:231
Method
run
(mut self)
frontends/codeassist/src/complete/mod.rs:193
Method
send_message_for_service
( &mut self, mut req: LspMessageInfo, resp_tx: oneshot::Sender<Option<LspMessage>>,
frontends/codeassist/src/passthrough.rs:200
Method
split_text
(text: &str)
frontends/codeassist/src/content.rs:99
Method
to_http_request
(&self, base_url: &Uri)
protocol/src/http.rs:58
Method
to_http_response
( response: ServiceResponse<Self>, )
protocol/src/http.rs:121
Method
wrap_snippet
(snippet: String, header: String)
frontends/codeassist/src/complete/apply.rs:22
← previous
101–181 of 181, ranked by callers