Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InfinitiBit/graphbit
/ base_url
Method
base_url
core/src/embeddings.rs:229–234 ·
view source on GitHub ↗
Get the API base URL
(&self)
Source
from the content-addressed store, hash-verified
227
228
/// Get the API base URL
229
fn base_url(&self) -> &str {
230
self.config
231
.base_url
232
.as_deref()
233
.unwrap_or(
"https://api.openai.com/v1"
)
234
}
235
}
236
237
#[async_trait]
Callers
1
generate_embeddings
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected