ntohidi
3bc56dd028
fix: allow custom LLM providers for adaptive crawler embedding config. ref: #1291
- Change embedding_llm_config from Dict to Union[LLMConfig, Dict] for type safety
- Add backward-compatible conversion property _embedding_llm_config_dict
- Replace all hardcoded OpenAI embedding configs with configurable options
- Fix LLMConfig object attribute access in query expansion logic
- Add comprehensive example demonstrating multiple provider configurations
- Update documentation with both LLMConfig object and dictionary usage patterns
Users can now specify any LLM provider for query expansion in embedding strategy:
- New: embedding_llm_config=LLMConfig(provider='anthropic/claude-3', api_token='key')
- Old: embedding_llm_config={'provider': 'openai/gpt-4', 'api_token': 'key'} (still works)
2025-09-09 12:49:55 +08:00
..
2025-03-12 19:05:24 +08:00
2025-06-10 18:08:27 +08:00
2025-08-26 12:06:56 +08:00
2025-02-19 14:13:17 +08:00
2025-04-14 12:39:05 +05:30
2025-08-04 19:02:01 +08:00
2025-05-23 16:05:44 +08:00
2025-06-07 23:07:19 +08:00
2025-08-14 18:21:24 +08:00
2025-08-17 19:22:23 +08:00
2025-07-04 15:16:53 +08:00
2025-09-09 12:49:55 +08:00
2025-09-02 11:59:59 +08:00
2025-08-18 10:59:14 +08:00
2025-08-16 09:27:23 +08:00
2025-04-11 00:44:43 +08:00
2025-08-17 19:14:55 +08:00
2025-07-08 11:46:13 +02:00
2025-07-31 12:06:10 +08:00
2025-08-28 17:38:40 +08:00
2025-07-14 17:29:50 +08:00
2025-08-11 18:55:43 +08:00
2025-08-08 11:18:34 +08:00
2025-01-13 19:19:58 +08:00
2025-01-30 19:35:06 +08:00
2025-07-08 11:46:13 +02:00
2025-04-15 22:27:18 +08:00
2025-06-10 15:44:45 +08:00
2025-08-28 17:38:40 +08:00
2025-05-21 13:27:17 +08:00
2025-06-13 11:26:17 +02:00
2025-02-23 21:23:41 +08:00
2025-07-17 16:59:10 +08:00
2025-06-27 21:54:22 +08:00
2025-04-17 20:13:53 +08:00
2025-01-13 19:19:58 +08:00
2025-01-13 19:19:58 +08:00
2025-08-25 14:04:08 +08:00
2025-07-14 17:29:50 +08:00
2025-04-15 22:27:18 +08:00
2025-04-15 22:27:18 +08:00
2025-08-14 18:21:24 +08:00
2025-08-04 19:02:01 +08:00
2025-03-02 20:32:29 +08:00
2025-09-02 16:49:01 +08:00