SYMBOL INDEX (314 symbols across 46 files) FILE: core/examples/alignment.rs type ResponseVariants (line 11) | pub enum ResponseVariants { type AnswerResponseVariant (line 22) | pub struct AnswerResponseVariant { type FailResponseVariant (line 33) | pub struct FailResponseVariant { function main (line 42) | async fn main() { FILE: core/examples/embeddings.rs function main (line 10) | async fn main() { FILE: core/examples/example_utils.rs function get_lm (line 6) | pub fn get_lm() -> (Box, LanguageModelProvider) { function main (line 51) | fn main() {} FILE: core/examples/structured_data_generation_blog.rs type ResponseVariants (line 15) | pub enum ResponseVariants { type AnswerResponseVariant (line 26) | pub struct AnswerResponseVariant { type FailResponseVariant (line 40) | pub struct FailResponseVariant { function main (line 49) | async fn main() { FILE: core/examples/structured_data_generation_capital.rs type ResponseVariants (line 13) | pub enum ResponseVariants { type AnswerResponseVariant (line 24) | pub struct AnswerResponseVariant { type FailResponseVariant (line 38) | pub struct FailResponseVariant { function main (line 47) | async fn main() { FILE: core/examples/text_generation.rs function main (line 10) | async fn main() { FILE: core/examples/text_generation_stream.rs function main (line 11) | async fn main() { FILE: core/examples/variants_derive.rs type ResponseOptions (line 8) | pub enum ResponseOptions { type AnswerResponseOption (line 19) | pub struct AnswerResponseOption { type FailResponseOption (line 38) | pub struct FailResponseOption { function main (line 46) | fn main() { FILE: core/src/alignment/strategy.rs type AlignmentError (line 11) | pub enum AlignmentError { type AlignmentStrategy (line 25) | pub struct AlignmentStrategy<'a> { type AlignmentResponse (line 31) | pub enum AlignmentResponse { type ResponseCorrectionResponseVariant (line 44) | pub struct ResponseCorrectionResponseVariant { type SchemaCorrectionResponseVariant (line 64) | pub struct SchemaCorrectionResponseVariant { type NoCorrectionResponseVariant (line 84) | pub struct NoCorrectionResponseVariant { type FailResponseVariant (line 98) | pub struct FailResponseVariant { constant PREAMBLE (line 107) | const PREAMBLE: &'static str = " function align (line 118) | pub async fn align( function request_correction (line 196) | async fn request_correction( FILE: core/src/alignment/strategy_builder.rs constant DEFAULT_RETRIES (line 8) | pub const DEFAULT_RETRIES: usize = 2; type AlignmentStrategyBuilderError (line 11) | pub enum AlignmentStrategyBuilderError { type AlignmentStrategyBuilder (line 17) | pub struct AlignmentStrategyBuilder<'a> { function new (line 24) | pub fn new() -> Self { function with_lm (line 32) | pub fn with_lm(mut self, lm: &'a dyn LanguageModel) -> Self { function with_retries (line 38) | pub fn with_retries(mut self, retries: usize) -> Self { function try_build (line 45) | pub fn try_build(self) -> Result, AlignmentStrateg... FILE: core/src/execution/builder.rs type ExecutorBuilderError (line 4) | pub enum ExecutorBuilderError { FILE: core/src/execution/executor.rs type ExecutorError (line 12) | pub enum ExecutorError { method from (line 30) | fn from(val: LanguageModelError) -> Self { type Executor (line 38) | pub(crate) trait Executor<'a> { method text_complete (line 40) | async fn text_complete( method system_prompt (line 48) | fn system_prompt(&self) -> String; method lm (line 50) | fn lm(&self) -> &'a dyn LanguageModel; type ExecutorContext (line 54) | pub struct ExecutorContext; type ExecutorTextCompleteResponse (line 56) | pub struct ExecutorTextCompleteResponse { type ExecutorTextCompleteStreamResponse (line 61) | pub struct ExecutorTextCompleteStreamResponse { function text_complete (line 66) | pub async fn text_complete<'a>( function generate_embedding (line 84) | pub(crate) async fn generate_embedding<'a>( FILE: core/src/execution/response.rs type ResponseFormat (line 2) | pub enum ResponseFormat { method default (line 8) | fn default() -> Self { FILE: core/src/execution/structured_executor.rs type StructuredExecutor (line 12) | pub struct StructuredExecutor<'a, T> { function lm (line 20) | fn lm(&self) -> &'a dyn LanguageModel { function system_prompt (line 24) | fn system_prompt(&self) -> String { function execute (line 115) | pub async fn execute( function generate_embedding (line 150) | pub async fn generate_embedding(&'a self, prompt: &'a str) -> Result { function new (line 164) | pub fn new() -> Self { function with_lm (line 173) | pub fn with_lm(mut self, lm: &'a dyn LanguageModel) -> Self { function with_options (line 178) | pub fn with_options(mut self, options: Box>)... function with_preamble (line 183) | pub fn with_preamble(mut self, preamble: &'a str) -> Self { function with_alignment (line 188) | pub fn with_alignment(mut self, strategy: AlignmentStrategy<'a>) -> Self { function try_build (line 193) | pub fn try_build(self) -> Result, ExecutorBuil... FILE: core/src/execution/text_executor.rs constant DEFAULT_PREAMBLE (line 8) | pub const DEFAULT_PREAMBLE: &str = "You are a helpful assistant"; type TextExecutor (line 10) | pub struct TextExecutor<'a> { function lm (line 16) | fn lm(&self) -> &'a dyn LanguageModel { function system_prompt (line 20) | fn system_prompt(&self) -> String { function execute_stream (line 37) | pub async fn execute_stream( function execute (line 64) | pub async fn execute( function generate_embedding (line 79) | pub async fn generate_embedding(&'a self, prompt: &'a str) -> Result { function new (line 91) | pub fn new() -> Self { function with_lm (line 98) | pub fn with_lm(mut self, lm: &'a dyn LanguageModel) -> Self { function with_preamble (line 103) | pub fn with_preamble(mut self, preamble: &'a str) -> Self { function try_build (line 108) | pub fn try_build(self) -> Result, ExecutorBuilderError> { FILE: core/src/lm/builder.rs type LanguageModelBuilderError (line 6) | pub enum LanguageModelBuilderError { type LanguageModelBuilder (line 11) | pub trait LanguageModelBuilder { method new (line 12) | fn new() -> Self; method try_build (line 13) | fn try_build(self) -> Result; FILE: core/src/lm/error.rs type LanguageModelProviderError (line 6) | pub enum LanguageModelProviderError { method fmt (line 12) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method default (line 22) | fn default() -> Self { type LanguageModelError (line 28) | pub enum LanguageModelError { FILE: core/src/lm/lm_provider/anthropic/builder.rs type AnthropicBuilderError (line 9) | pub enum AnthropicBuilderError { type AnthropicBuilder (line 15) | pub struct AnthropicBuilder { method with_api_endpoint (line 27) | pub fn with_api_endpoint(mut self, base_url: String) -> Self { method with_api_key (line 33) | pub fn with_api_key(mut self, api_key: String) -> Self { method with_model (line 40) | pub fn with_model(mut self, model: String) -> Self { method new (line 47) | fn new() -> Self { method try_build (line 56) | fn try_build(self) -> Result { FILE: core/src/lm/lm_provider/anthropic/client/anthropic_client.rs type AnthropicClientError (line 16) | pub(crate) enum AnthropicClientError { type AnthropicClient (line 31) | pub struct AnthropicClient { method text_complete (line 46) | pub async fn text_complete( method construct_message (line 116) | fn construct_message(msg: &AnthropicMessage) -> AnthropicMessagesApiMe... type AnthropicClientTextCompleteOptions (line 132) | pub struct AnthropicClientTextCompleteOptions { type AnthropicClientTextCompleteOptionsBuilder (line 147) | pub struct AnthropicClientTextCompleteOptionsBuilder { method new (line 156) | pub fn new() -> Self { method with_model (line 164) | pub fn with_model(mut self, model: String) -> Self { method with_max_tokens (line 171) | pub fn with_max_tokens(mut self, max_tokens: usize) -> Self { method with_stop_sequences (line 177) | pub fn with_stop_sequences(mut self, stop_sequences: Vec) -> S... method with_temperature (line 183) | pub fn with_temperature(mut self, temperature: f32) -> Self { method with_top_k (line 189) | pub fn with_top_k(mut self, top_k: usize) -> Self { method try_build (line 195) | pub fn try_build(self) -> Result Self { method with_api_endpoint (line 26) | pub fn with_api_endpoint(mut self, api_endpoint: String) -> Self { method with_api_key (line 32) | pub fn with_api_key(mut self, api_key: String) -> Self { method try_build (line 37) | pub fn try_build(self) -> Result) -> std::fmt::Result { type AnthropicMessagesApiMessage (line 76) | pub struct AnthropicMessagesApiMessage { type AnthropicMessagesApiResponse (line 87) | pub enum AnthropicMessagesApiResponse { type AnthropicMessagesApiResponseSuccess (line 95) | pub struct AnthropicMessagesApiResponseSuccess { type AnthropicMessagesApiResponseSuccessContent (line 119) | pub struct AnthropicMessagesApiResponseSuccessContent { type AnthropicApiError (line 131) | pub struct AnthropicApiError { type AnthropicApiErrorBody (line 140) | pub struct AnthropicApiErrorBody { FILE: core/src/lm/lm_provider/anthropic/lm.rs type Anthropic (line 16) | pub struct Anthropic { method messages_from_prompt (line 116) | fn messages_from_prompt(prompt: &str) -> Result,... type AnthropicError (line 23) | pub enum AnthropicError { method text_complete (line 45) | async fn text_complete( method text_complete_stream (line 85) | async fn text_complete_stream( method generate_embedding (line 96) | async fn generate_embedding(&self, _prompt: &str) -> Result, La... method provider (line 102) | fn provider(&self) -> LanguageModelProvider { method text_completion_model_name (line 106) | fn text_completion_model_name(&self) -> String { method embedding_model_name (line 110) | fn embedding_model_name(&self) -> String { function test_messages_from_prompt_single_message (line 181) | fn test_messages_from_prompt_single_message() { function test_messages_from_prompt_multiple_messages (line 195) | fn test_messages_from_prompt_multiple_messages() { FILE: core/src/lm/lm_provider/anthropic/models.rs constant CLAUDE_3_5_SONNET (line 5) | pub const CLAUDE_3_5_SONNET: &str = "claude-3-5-sonnet-20240620"; constant CLAUDE_3_OPUS (line 6) | pub const CLAUDE_3_OPUS: &str = "claude-3-opus-20240229"; constant CLAUDE_3_SONNET (line 7) | pub const CLAUDE_3_SONNET: &str = "claude-3-sonnet-20240229"; constant CLAUDE_3_HAIKU (line 8) | pub const CLAUDE_3_HAIKU: &str = "claude-3-haiku-20240307"; FILE: core/src/lm/lm_provider/models.rs type LanguageModelProvider (line 8) | pub enum LanguageModelProvider { type Error (line 18) | type Error = LanguageModelProviderError; method try_from (line 20) | fn try_from(value: &str) -> Result { method is_local (line 32) | pub fn is_local(&self) -> bool { type OrchLanguageModel (line 41) | pub enum OrchLanguageModel { method provider (line 48) | pub fn provider(&self) -> LanguageModelProvider { method text_completion_model_name (line 56) | pub fn text_completion_model_name(&self) -> String { method embedding_model_name (line 64) | pub fn embedding_model_name(&self) -> String { FILE: core/src/lm/lm_provider/ollama/builder.rs type OllamaBuilderError (line 9) | pub enum OllamaBuilderError { type OllamaBuilder (line 15) | pub struct OllamaBuilder { method with_base_url (line 27) | pub fn with_base_url(mut self, base_url: String) -> Self { method with_model (line 34) | pub fn with_model(mut self, model: String) -> Self { method with_embeddings_model (line 39) | pub fn with_embeddings_model(mut self, embeddings_model: String) -> Se... method new (line 46) | fn new() -> Self { method try_build (line 55) | fn try_build(self) -> Result { FILE: core/src/lm/lm_provider/ollama/config.rs constant DEFAULT_BASE_URL (line 4) | pub const DEFAULT_BASE_URL: &str = "http://localhost:11434"; constant DEFAULT_MODEL (line 6) | pub const DEFAULT_MODEL: &str = ollama_model::LLAMA3_1_8B; constant DEFAULT_EMBEDDINGS_MODEL (line 8) | pub const DEFAULT_EMBEDDINGS_MODEL: &str = ollama_embedding_model::NOMIC... FILE: core/src/lm/lm_provider/ollama/lm.rs type Ollama (line 22) | pub struct Ollama { method list_running_models (line 56) | pub(crate) fn list_running_models(&self) -> Result Result Result Result { type OllamaError (line 29) | pub enum OllamaError { method text_complete (line 97) | async fn text_complete( method text_complete_stream (line 139) | async fn text_complete_stream( method generate_embedding (line 180) | async fn generate_embedding(&self, prompt: &str) -> Result, Lan... method provider (line 206) | fn provider(&self) -> LanguageModelProvider { method text_completion_model_name (line 210) | fn text_completion_model_name(&self) -> String { method embedding_model_name (line 214) | fn embedding_model_name(&self) -> String { FILE: core/src/lm/lm_provider/ollama/models.rs constant LLAMA3 (line 5) | pub const LLAMA3: &str = "llama3:latest"; constant LLAMA3_8B (line 7) | pub const LLAMA3_8B: &str = "llama3:8b"; constant LLAMA3_1_8B (line 9) | pub const LLAMA3_1_8B: &str = "llama3.1:8b"; constant PHI3_MINI (line 11) | pub const PHI3_MINI: &str = "phi3:latest"; constant CODESTRAL (line 13) | pub const CODESTRAL: &str = "codestral:latest"; constant NOMIC_EMBED_TEXT (line 18) | pub const NOMIC_EMBED_TEXT: &str = "nomic-embed-text:latest"; type OllamaApiModelsMetadata (line 24) | pub struct OllamaApiModelsMetadata { type OllamaApiModelMetadata (line 33) | pub struct OllamaApiModelMetadata { type OllamaApiModelDetails (line 58) | pub struct OllamaApiModelDetails { type OllamaGenerateRequest (line 80) | pub struct OllamaGenerateRequest { method default (line 108) | fn default() -> Self { type OllamaGenerateResponse (line 125) | pub enum OllamaGenerateResponse { type OllamaGenerateResponseSuccess (line 132) | pub struct OllamaGenerateResponseSuccess { type OllamaGenerateResponseError (line 150) | pub struct OllamaGenerateResponseError { type OllamaGenerateStreamItemResponse (line 157) | pub enum OllamaGenerateStreamItemResponse { type OllamaGenerateStreamItemResponseSuccess (line 163) | pub struct OllamaGenerateStreamItemResponseSuccess { type OllamaGenerateStreamItemResponseError (line 175) | pub struct OllamaGenerateStreamItemResponseError { type OllamaEmbeddingsRequest (line 185) | pub struct OllamaEmbeddingsRequest { type OllamaEmbeddingsResponse (line 198) | pub struct OllamaEmbeddingsResponse { FILE: core/src/lm/lm_provider/openai/builder.rs type OpenAiBuilderError (line 8) | pub enum OpenAiBuilderError { type OpenAiBuilder (line 14) | pub struct OpenAiBuilder { method with_api_key (line 23) | pub fn with_api_key(mut self, api_key: String) -> Self { method with_api_endpoint (line 29) | pub fn with_api_endpoint(mut self, api_endpoint: String) -> Self { method with_model (line 35) | pub fn with_model(mut self, model: String) -> Self { method with_embeddings_model (line 41) | pub fn with_embeddings_model(mut self, embeddings_model: String) -> Se... method new (line 48) | fn new() -> Self { method try_build (line 58) | fn try_build(self) -> Result { FILE: core/src/lm/lm_provider/openai/config.rs constant DEFAULT_MODEL (line 4) | pub const DEFAULT_MODEL: &str = openai_model::GPT_4O_MINI; constant DEFAULT_EMBEDDINGS_MODEL (line 6) | pub const DEFAULT_EMBEDDINGS_MODEL: &str = openai_embedding_model::TEXT_... FILE: core/src/lm/lm_provider/openai/lm.rs type OpenAi (line 21) | pub struct OpenAi { type OpenAiError (line 29) | pub enum OpenAiError { method text_complete (line 45) | async fn text_complete( method text_complete_stream (line 95) | async fn text_complete_stream( method generate_embedding (line 110) | async fn generate_embedding(&self, prompt: &str) -> Result, Lan... method provider (line 127) | fn provider(&self) -> LanguageModelProvider { method text_completion_model_name (line 131) | fn text_completion_model_name(&self) -> String { method embedding_model_name (line 135) | fn embedding_model_name(&self) -> String { FILE: core/src/lm/lm_provider/openai/models.rs constant GPT_3_5_TURBO (line 2) | pub const GPT_3_5_TURBO: &str = "gpt-3.5-turbo"; constant GPT_4 (line 3) | pub const GPT_4: &str = "gpt-4"; constant GPT_4O_TURBO (line 4) | pub const GPT_4O_TURBO: &str = "gpt-4o-turbo"; constant GPT_4O_MINI (line 5) | pub const GPT_4O_MINI: &str = "gpt-4o-mini"; constant TEXT_EMBEDDING_ADA_002 (line 9) | pub const TEXT_EMBEDDING_ADA_002: &str = "text-embedding-ada-002"; constant TEXT_EMBEDDING_ADA_002_DIMENSIONS (line 10) | pub const TEXT_EMBEDDING_ADA_002_DIMENSIONS: usize = 1536; constant TEXT_EMBEDDING_3_SMALL (line 11) | pub const TEXT_EMBEDDING_3_SMALL: &str = "text-embedding-3-small"; constant TEXT_EMBEDDING_3_SMALL_DIMENSIONS (line 12) | pub const TEXT_EMBEDDING_3_SMALL_DIMENSIONS: usize = 1536; constant TEXT_EMBEDDING_3_LARGE (line 13) | pub const TEXT_EMBEDDING_3_LARGE: &str = "text-embedding-3-large"; constant TEXT_EMBEDDING_3_LARGE_DIMENSIONS (line 14) | pub const TEXT_EMBEDDING_3_LARGE_DIMENSIONS: usize = 3072; FILE: core/src/lm/models.rs type LanguageModel (line 16) | pub trait LanguageModel: DynClone + Send + Sync { method text_complete (line 27) | async fn text_complete( method text_complete_stream (line 44) | async fn text_complete_stream( method generate_embedding (line 59) | async fn generate_embedding(&self, prompt: &str) -> Result, L... method provider (line 62) | fn provider(&self) -> LanguageModelProvider; method text_completion_model_name (line 65) | fn text_completion_model_name(&self) -> String; method embedding_model_name (line 68) | fn embedding_model_name(&self) -> String; type TextCompleteOptions (line 72) | pub struct TextCompleteOptions { type TextCompleteStreamOptions (line 79) | pub struct TextCompleteStreamOptions { type TextCompleteResponse (line 84) | pub struct TextCompleteResponse { type TextCompleteStreamResponse (line 90) | pub struct TextCompleteStreamResponse { FILE: core/src/net/sse.rs type SseClient (line 6) | pub struct SseClient; method post (line 9) | pub fn post(url: &str, body: Option) -> impl Stream ResponseOption; type OrchResponseVariants (line 33) | pub trait OrchResponseVariants: DynClone + Send + Sync { method variants (line 34) | fn variants(&self) -> Vec; method parse (line 35) | fn parse(&self, response: &str) -> Result; FILE: response_derive/src/attribute_impl.rs type VariantAttribute (line 5) | pub(crate) struct VariantAttribute { type SchemaAttribute (line 13) | pub(crate) struct SchemaAttribute { FILE: response_derive/src/derive_impl.rs function response_variants_derive (line 7) | pub(crate) fn response_variants_derive(input: proc_macro::TokenStream) -... function response_variant_derive (line 100) | pub fn response_variant_derive(input: proc_macro::TokenStream) -> proc_m... function get_enum_variant_struct_ident (line 173) | fn get_enum_variant_struct_ident(variant: &syn::Variant) -> Result Result { FILE: response_derive/src/lib.rs function derive_orch_response_variants (line 8) | pub fn derive_orch_response_variants(input: proc_macro::TokenStream) -> ... function derive_orch_response_variant_variant (line 14) | pub fn derive_orch_response_variant_variant(input: proc_macro::TokenStre... function variants (line 20) | pub fn variants(input: proc_macro::TokenStream) -> proc_macro::TokenStre... FILE: src/core/net/sse.rs type SseClient (line 6) | pub struct SseClient; method post (line 9) | pub fn post(url: &str, body: Option) -> impl Stream { type ExecutorError (line 13) | pub enum ExecutorError { function new (line 23) | pub fn new(llm: &'a L) -> Self { function text_complete (line 35) | pub async fn text_complete( function text_complete_stream (line 62) | pub async fn text_complete_stream( function generate_embedding (line 89) | pub async fn generate_embedding(&self, prompt: &str) -> Result,... type ExecutorContext (line 100) | pub struct ExecutorContext; type ExecutorTextCompleteResponse (line 102) | pub struct ExecutorTextCompleteResponse { type ExecutorTextCompleteStreamResponse (line 107) | pub struct ExecutorTextCompleteStreamResponse { FILE: src/llm/error.rs type LlmProviderError (line 6) | pub enum LlmProviderError { method fmt (line 12) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method default (line 21) | fn default() -> Self { type Error (line 27) | type Error = LlmProviderError; method try_from (line 29) | fn try_from(value: &str) -> Result { type LlmError (line 39) | pub enum LlmError { FILE: src/llm/llm_provider/ollama/config.rs constant DEFAULT_BASE_URL (line 4) | pub const DEFAULT_BASE_URL: &str = "http://localhost:11434"; constant DEFAULT_MODEL (line 7) | pub const DEFAULT_MODEL: &str = ollama_model::; constant DEFAULT_EMBEDDING_MODEL (line 10) | pub const DEFAULT_EMBEDDING_MODEL: &str = "nomic-embed-text:latest"; type OllamaConfig (line 13) | pub struct OllamaConfig { method default (line 20) | fn default() -> Self { FILE: src/llm/llm_provider/ollama/llm.rs constant CODESTRAL (line 7) | pub const CODESTRAL: &str = "codestral:latest"; constant NOMIC_EMBED_TEXT (line 11) | pub const NOMIC_EMBED_TEXT: &str = "nomic-embed-text:latest"; type Ollama (line 15) | pub struct Ollama<'a> { method default (line 22) | fn default() -> Self { type OllamaBuilder (line 31) | pub struct OllamaBuilder<'a> { method default (line 38) | fn default() -> Self { function new (line 49) | pub fn new() -> Self { function with_base_url (line 53) | pub fn with_base_url(mut self, base_url: &'a str) -> Self { function with_model (line 58) | pub fn with_model(mut self, model: &'a str) -> Self { function with_embeddings_model (line 63) | pub fn with_embeddings_model(mut self, embeddings_model: &'a str) -> Self { function build (line 68) | pub fn build(self) -> Ollama<'a> { type OllamaError (line 78) | pub enum OllamaError { function list_running_models (line 105) | pub(crate) fn list_running_models(&self) -> Result Result Result Result { function base_url (line 143) | fn base_url(&self) -> Result { function model (line 147) | fn model(&self) -> Result { function embedding_model (line 153) | fn embedding_model(&self) -> Result { method text_complete (line 161) | async fn text_complete( method text_complete_stream (line 201) | async fn text_complete_stream( method generate_embedding (line 233) | async fn generate_embedding(&self, prompt: &str) -> Result, Llm... method provider (line 259) | fn provider(&self) -> LlmProvider { method text_completion_model_name (line 263) | fn text_completion_model_name(&self) -> String { method embedding_model_name (line 267) | fn embedding_model_name(&self) -> String { FILE: src/llm/llm_provider/ollama/models.rs type OllamaApiModelsMetadata (line 8) | pub struct OllamaApiModelsMetadata { type OllamaApiModelMetadata (line 17) | pub struct OllamaApiModelMetadata { type OllamaApiModelDetails (line 42) | pub struct OllamaApiModelDetails { type OllamaGenerateRequest (line 64) | pub struct OllamaGenerateRequest { method default (line 92) | fn default() -> Self { type OllamaGenerateResponse (line 108) | pub struct OllamaGenerateResponse { type OllamaGenerateStreamItemResponse (line 126) | pub struct OllamaGenerateStreamItemResponse { type OllamaEmbeddingsRequest (line 142) | pub struct OllamaEmbeddingsRequest { type OllamaEmbeddingsResponse (line 155) | pub struct OllamaEmbeddingsResponse { FILE: src/llm/models.rs type LlmProvider (line 12) | pub enum LlmProvider { type Llm (line 23) | pub trait Llm: DynClone { method text_complete (line 34) | fn text_complete( method text_complete_stream (line 51) | fn text_complete_stream( method generate_embedding (line 66) | fn generate_embedding( method provider (line 72) | fn provider(&self) -> LlmProvider; method text_completion_model_name (line 75) | fn text_completion_model_name(&self) -> String; method embedding_model_name (line 78) | fn embedding_model_name(&self) -> String; type TextCompleteOptions (line 82) | pub struct TextCompleteOptions { type TextCompleteStreamOptions (line 89) | pub struct TextCompleteStreamOptions { type TextCompleteResponse (line 94) | pub struct TextCompleteResponse { type TextCompleteStreamResponse (line 100) | pub struct TextCompleteStreamResponse { type SystemPromptResponseOption (line 107) | pub(crate) struct SystemPromptResponseOption { type SystemPromptCommandSchemaField (line 115) | pub(crate) struct SystemPromptCommandSchemaField {