-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
2025-10-31 13:26:19,732 - INFO - api.api - api.py:591 - Scanning for project cache files in: /home/tcci/.adalflow/wikicache
2025-10-31 13:26:19,736 - INFO - api.api - api.py:629 - Found 0 processed project entries.
2025-10-31 13:26:19,760 - INFO - api.api - api.py:591 - Scanning for project cache files in: /home/tcci/.adalflow/wikicache
2025-10-31 13:26:19,761 - INFO - api.api - api.py:629 - Found 0 processed project entries.
2025-10-31 13:26:20,594 - INFO - api.api - api.py:179 - Fetching model configurations
2025-10-31 13:26:20,617 - INFO - api.api - api.py:179 - Fetching model configurations
2025-10-31 13:26:28,054 - INFO - api.api - api.py:476 - Attempting to retrieve wiki cache for AsyncFuncAI/deepwiki-open (github), lang: zh
2025-10-31 13:26:28,054 - INFO - api.api - api.py:483 - Wiki cache not found for AsyncFuncAI/deepwiki-open (github), lang: zh
2025-10-31 13:26:32,214 - INFO - api.simple_chat - simple_chat.py:85 - Request size: 8755 tokens
2025-10-31 13:26:32,214 - WARNING - api.simple_chat - simple_chat.py:87 - Request exceeds recommended token limit (8755 > 7500)
2025-10-31 13:26:32,223 - INFO - api.ollama_patch - ollama_patch.py:48 - Ollama model 'nomic-embed-text' is available
2025-10-31 13:26:32,289 - INFO - adalflow.core.prompt_builder - prompt_builder.py:74 - Prompt has variables: ['schema']
2025-10-31 13:26:32,290 - INFO - adalflow.core.prompt_builder - prompt_builder.py:74 - Prompt has variables: ['schema']
2025-10-31 13:26:32,290 - INFO - api.rag - rag.py:74 - Dialog turns list exists but is empty
2025-10-31 13:26:32,290 - INFO - api.rag - rag.py:88 - Returning 0 dialog turns from memory
2025-10-31 13:26:32,345 - INFO - adalflow.optim.grad_component - grad_component.py:79 - EvalFnToTextLoss: No backward engine provided. Creating one using model_client and model_kwargs.
2025-10-31 13:26:32,346 - INFO - adalflow.core.generator - generator.py:188 - Generator Generator initialized.
2025-10-31 13:26:32,346 - INFO - api.data_pipeline - data_pipeline.py:780 - Preparing repo storage for https://github.com/AsyncFuncAI/deepwiki-open...
2025-10-31 13:26:32,346 - INFO - api.data_pipeline - data_pipeline.py:790 - Extracted repo name: AsyncFuncAI_deepwiki-open
2025-10-31 13:26:32,346 - INFO - api.data_pipeline - data_pipeline.py:799 - Repository already exists at /home/tcci/.adalflow/repos/AsyncFuncAI_deepwiki-open. Using existing repository.
2025-10-31 13:26:32,346 - INFO - api.data_pipeline - data_pipeline.py:813 - Repo paths: {'save_repo_dir': '/home/tcci/.adalflow/repos/AsyncFuncAI_deepwiki-open', 'save_db_file': '/home/tcci/.adalflow/databases/AsyncFuncAI_deepwiki-open.pkl'}
2025-10-31 13:26:32,346 - INFO - api.data_pipeline - data_pipeline.py:843 - Loading existing database...
2025-10-31 13:26:32,381 - INFO - adalflow.core.component - component.py:335 - Restoring class using from_dict TextSplitter, {'type': 'TextSplitter', 'data': {'_components': {'_ordered_dict': True, 'data': []}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'TextSplitter', '_init_args': {'split_by': 'word', 'chunk_size': 800, 'chunk_overlap': 200, 'batch_size': 1000, 'separators': {'page': '\x0c', 'passage': '\n\n', 'word': ' ', 'sentence': '.', 'token': ''}}, 'split_by': 'word', 'separators': {'page': '\x0c', 'passage': '\n\n', 'word': ' ', 'sentence': '.', 'token': ''}, 'chunk_size': 350, 'chunk_overlap': 100, 'batch_size': 1000}}
2025-10-31 13:26:32,381 - INFO - adalflow.core.component - component.py:335 - Restoring class using from_dict OllamaDocumentProcessor, {'type': 'OllamaDocumentProcessor', 'data': {'_components': {'_ordered_dict': True, 'data': [('embedder', {'type': 'Embedder', 'data': {'_components': {'_ordered_dict': True, 'data': [('model_client', {'type': 'OllamaClient', 'data': {'_components': {'_ordered_dict': True, 'data': []}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'OllamaClient', '_init_args': {'host': None}, '_host': 'http://localhost:11434', 'generate': False}})]}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'Embedder', '_init_args': {'model_client': None, 'model_kwargs': {'model': 'nomic-embed-text'}, 'output_processors': None}, 'model_kwargs': {'model': 'nomic-embed-text'}, 'output_processors': None}})]}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'OllamaDocumentProcessor', '_init_args': {'embedder': None}}}
2025-10-31 13:26:32,381 - INFO - adalflow.core.component - component.py:335 - Restoring class using from_dict Embedder, {'type': 'Embedder', 'data': {'_components': {'_ordered_dict': True, 'data': [('model_client', {'type': 'OllamaClient', 'data': {'_components': {'_ordered_dict': True, 'data': []}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'OllamaClient', '_init_args': {'host': None}, '_host': 'http://localhost:11434', 'generate': False}})]}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'Embedder', '_init_args': {'model_client': None, 'model_kwargs': {'model': 'nomic-embed-text'}, 'output_processors': None}, 'model_kwargs': {'model': 'nomic-embed-text'}, 'output_processors': None}}
2025-10-31 13:26:32,382 - INFO - adalflow.core.component - component.py:335 - Restoring class using from_dict OllamaClient, {'type': 'OllamaClient', 'data': {'_components': {'_ordered_dict': True, 'data': []}, '_parameters': {'_ordered_dict': True, 'data': []}, 'training': False, 'teacher_mode': False, 'tracing': False, 'name': 'OllamaClient', '_init_args': {'host': None}, '_host': 'http://localhost:11434', 'generate': False}}
2025-10-31 13:26:32,435 - INFO - api.data_pipeline - data_pipeline.py:848 - Loaded 978 documents from existing database
2025-10-31 13:26:32,436 - INFO - api.rag - rag.py:372 - Loaded 978 documents for retrieval
2025-10-31 13:26:32,436 - INFO - api.rag - rag.py:380 - Using 978 documents with valid embeddings for retrieval
2025-10-31 13:26:32,436 - INFO - adalflow.optim.grad_component - grad_component.py:79 - EvalFnToTextLoss: No backward engine provided. Creating one using model_client and model_kwargs.
2025-10-31 13:26:32,456 - WARNING - adalflow.components.retriever.faiss_retriever - faiss_retriever.py:191 - Embeddings are not normalized, normalizing the embeddings
2025-10-31 13:26:32,460 - INFO - adalflow.components.retriever.faiss_retriever - faiss_retriever.py:197 - Index built with 978 chunks
2025-10-31 13:26:32,460 - INFO - api.rag - rag.py:391 - FAISS retriever created successfully
2025-10-31 13:26:32,460 - INFO - api.simple_chat - simple_chat.py:114 - Retriever prepared for https://github.com/AsyncFuncAI/deepwiki-open
2025-10-31 13:26:32,460 - INFO - api.rag - rag.py:74 - Dialog turns list exists but is empty
2025-10-31 13:26:32,460 - INFO - api.rag - rag.py:88 - Returning 0 dialog turns from memory
2025-10-31 13:26:32,460 - INFO - api.simple_chat - simple_chat.py:324 - No context available from RAG
2025-10-31 13:27:43,401 - INFO - httpx - _client.py:1786 - HTTP Request: POST http://localhost:11434/api/chat "HTTP/1.1 200 OK"