fix: Resolve path issue
This commit is contained in:
parent
62b3131ae9
commit
aeb79761d6
1 changed files with 4 additions and 4 deletions
|
|
@ -82,7 +82,7 @@ def get_llm_client():
|
||||||
if llm_config.llm_api_key is None:
|
if llm_config.llm_api_key is None:
|
||||||
raise InvalidValueError(message="LLM API key is not set.")
|
raise InvalidValueError(message="LLM API key is not set.")
|
||||||
|
|
||||||
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.generic_llm_api import (
|
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.generic_llm_api.adapter import (
|
||||||
GenericAPIAdapter,
|
GenericAPIAdapter,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -95,7 +95,7 @@ def get_llm_client():
|
||||||
)
|
)
|
||||||
|
|
||||||
elif provider == LLMProvider.ANTHROPIC:
|
elif provider == LLMProvider.ANTHROPIC:
|
||||||
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.anthropic import (
|
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.anthropic.adapter import (
|
||||||
AnthropicAdapter,
|
AnthropicAdapter,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -105,7 +105,7 @@ def get_llm_client():
|
||||||
if llm_config.llm_api_key is None:
|
if llm_config.llm_api_key is None:
|
||||||
raise InvalidValueError(message="LLM API key is not set.")
|
raise InvalidValueError(message="LLM API key is not set.")
|
||||||
|
|
||||||
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.generic_llm_api import (
|
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.generic_llm_api.adapter import (
|
||||||
GenericAPIAdapter,
|
GenericAPIAdapter,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -124,7 +124,7 @@ def get_llm_client():
|
||||||
if llm_config.llm_api_key is None:
|
if llm_config.llm_api_key is None:
|
||||||
raise InvalidValueError(message="LLM API key is not set.")
|
raise InvalidValueError(message="LLM API key is not set.")
|
||||||
|
|
||||||
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.gemini import (
|
from cognee.infrastructure.llm.structured_output_framework.litellm_instructor.llm.gemini.adapter import (
|
||||||
GeminiAdapter,
|
GeminiAdapter,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue