pub struct DocumentGeneratorManager { /* private fields */ }
Expand description
文档生成器管理器
Implementations§
Source§impl DocumentGeneratorManager
impl DocumentGeneratorManager
Sourcepub fn new(config: &Config, llm_client: Arc<dyn LLMService>) -> Self
pub fn new(config: &Config, llm_client: Arc<dyn LLMService>) -> Self
创建新的文档生成器管理器
Sourcepub async fn generate_documents(
&self,
metadata: &ProjectMetadata,
analysis_results: &str,
) -> Result<Vec<Document>>
pub async fn generate_documents( &self, metadata: &ProjectMetadata, analysis_results: &str, ) -> Result<Vec<Document>>
生成文档
Auto Trait Implementations§
impl Freeze for DocumentGeneratorManager
impl !RefUnwindSafe for DocumentGeneratorManager
impl Send for DocumentGeneratorManager
impl Sync for DocumentGeneratorManager
impl Unpin for DocumentGeneratorManager
impl !UnwindSafe for DocumentGeneratorManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more