Skip to content

Commit

Permalink
prevent langchain to be imported by default (Chainlit#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard authored Sep 1, 2023
1 parent 3985c9e commit c71a3f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/chainlit/playground/config.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from typing import Dict, List
from typing import Dict

from chainlit.playground.provider import BaseProvider
from chainlit.playground.providers import (
Anthropic,
AzureChatOpenAI,
AzureOpenAI,
ChatOpenAI,
HFFlanT5,
OpenAI,
)

Expand Down
1 change: 0 additions & 1 deletion src/chainlit/playground/providers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .anthropic import Anthropic
from .huggingface import HFFlanT5
from .langchain import LangchainGenericProvider
from .openai import AzureChatOpenAI, AzureOpenAI, ChatOpenAI, OpenAI
2 changes: 1 addition & 1 deletion src/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "chainlit"
version = "0.6.401"
version = "0.6.402"
keywords = ['LLM', 'Agents', 'gen ai', 'chat ui', 'chatbot ui', 'langchain']
description = "A faster way to build chatbot UIs."
authors = ["Chainlit"]
Expand Down

0 comments on commit c71a3f0

Please sign in to comment.