diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-09 01:06:26 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-04-09 01:06:26 +0200 |
commit | e09f5ff897543a93f561af68e3173050b1fe4b45 (patch) | |
tree | 47b2047eb0071f782e77ae030a97edbd17f47785 /rag/generator/cohere.py | |
parent | 73a4adb6d4161ea222ed1ba56413571892da73d6 (diff) |
Fix import order
Diffstat (limited to 'rag/generator/cohere.py')
-rw-r--r-- | rag/generator/cohere.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rag/generator/cohere.py b/rag/generator/cohere.py index cf95c18..7028b21 100644 --- a/rag/generator/cohere.py +++ b/rag/generator/cohere.py @@ -1,13 +1,12 @@ import os +from dataclasses import asdict from typing import Any, Generator -import cohere -from dataclasses import asdict +import cohere +from loguru import logger as log -from .prompt import Prompt from .abstract import AbstractGenerator - -from loguru import logger as log +from .prompt import Prompt class Cohere(metaclass=AbstractGenerator): |