Former-commit-id: e9ee3055e8
pull/47/head
Kye 2 years ago
parent 9ebb51aa94
commit d2136a7157

@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup( setup(
name = 'swarms', name = 'swarms',
packages = find_packages(exclude=[]), packages = find_packages(exclude=[]),
version = '1.1.0', version = '1.1.1',
license='MIT', license='MIT',
description = 'Swarms - Pytorch', description = 'Swarms - Pytorch',
author = 'Kye Gomez', author = 'Kye Gomez',

@ -7,7 +7,6 @@ import math
import warnings import warnings
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from functools import partial from functools import partial
from typing import ( from typing import (
Any, Any,
Callable, Callable,
@ -22,8 +21,6 @@ from typing import (
TypeVar, TypeVar,
) )
from pydantic import Field, root_validator
from langchain.callbacks.manager import ( from langchain.callbacks.manager import (
AsyncCallbackManagerForRetrieverRun, AsyncCallbackManagerForRetrieverRun,
CallbackManagerForRetrieverRun, CallbackManagerForRetrieverRun,
@ -31,6 +28,7 @@ from langchain.callbacks.manager import (
from langchain.docstore.document import Document from langchain.docstore.document import Document
from langchain.embeddings.base import Embeddings from langchain.embeddings.base import Embeddings
from langchain.schema import BaseRetriever from langchain.schema import BaseRetriever
from pydantic import Field, root_validator
VST = TypeVar("VST", bound="VectorStore") VST = TypeVar("VST", bound="VectorStore")

@ -4,8 +4,7 @@ from __future__ import annotations
import warnings import warnings
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union from typing import Any, Dict, List, Optional, Sequence, Tuple, Union
from pydantic import Extra, Field from langchain.base_language import BaseLanguageModel
from langchain.callbacks.manager import ( from langchain.callbacks.manager import (
AsyncCallbackManager, AsyncCallbackManager,
AsyncCallbackManagerForChainRun, AsyncCallbackManagerForChainRun,
@ -24,7 +23,7 @@ from langchain.schema import (
NoOpOutputParser, NoOpOutputParser,
PromptValue, PromptValue,
) )
from langchain.base_language import BaseLanguageModel from pydantic import Extra, Field
class LLMChain(Chain): class LLMChain(Chain):

Loading…
Cancel
Save