MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / embeddings_url

Method embeddings_url

core/src/embeddings.rs:428–434  ·  view source on GitHub ↗

Get the API URL for embeddings

(&self)

Source from the content-addressed store, hash-verified

426
427 /// Get the API URL for embeddings
428 fn embeddings_url(&self) -> String {
429 let endpoint = self.endpoint.trim_end_matches('/');
430 format!(
431 "{}/openai/deployments/{}/embeddings?api-version={}",
432 endpoint, self.deployment_name, self.api_version
433 )
434 }
435}
436
437#[async_trait]

Callers 1

generate_embeddingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected