The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
StreamlitCallbackHandler (#6315)
Tim Conklingc28990d87159
diff --git a/langchain/callbacks/__init__.py b/langchain/callbacks/__init__.pyindex 985cf9c88d..5932c9903a 100644--- a/langchain/callbacks/__init__.py+++ b/langchain/callbacks/__init__.py@@ -21,9 +21,7 @@ from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandlerfrom langchain.callbacks.streaming_stdout_final_only import (FinalStreamingStdOutCallbackHandler,)--# now streamlit requires Python >=3.7, !=3.9.7 So, it is commented out here.-# from langchain.callbacks.streamlit import StreamlitCallbackHandler+from langchain.callbacks.streamlit import LLMThoughtLabeler, StreamlitCallbackHandlerfrom langchain.callbacks.wandb_callback import WandbCallbackHandlerfrom langchain.callbacks.whylabs_callback import WhyLabsCallbackHandler@@ -42,8 +40,8 @@ __all__ = ["OpenAICallbackHandler","StdOutCallbackHandler","StreamingStdOutCallbackHandler",- # now streamlit requires Python >=3.7, !=3.9.7 So, it is commented out here.- # "StreamlitCallbackHandler",+ "StreamlitCallbackHandler",+ "LLMThoughtLabeler","WandbCallbackHandler","WhyLabsCallbackHandler","get_openai_callback",diff --git a/langchain/callbacks/streamlit.py b/langchain/callbacks/streamlit.pydeleted file mode 100644index 08d68ec843..0000000000--- a/langchain/callbacks/streamlit.py+++ /dev/null@@ -1,104 +0,0 @@-"""Callback Handler that logs to streamlit."""-from typing import Any, Dict, List, Optional, Union--from langchain.callbacks.base import BaseCallbackHandler-from langchain.schema import AgentAction, AgentFinish, LLMResult---class StreamlitCallbackHandler(BaseCallbackHandler):- """Callback Handler that logs to streamlit."""-- def __init__(self) -> None:- try:- import streamlit as st- except ImportError as e:- raise ImportError(- "Could not import streamlit Python package. "- "Please install it with `pip install streamlit`."- ) from e-- self.tokens_area = st.empty()- self.tokens_stream = ""- self.st = st-- def on_llm_start(- self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any- ) -> None:- """Print out the prompts."""- self.st.write("Prompts after formatting:")- for prompt in prompts:- self.st.write(prompt)-- def on_llm_new_token(self, token: str, **kwargs: Any) -> None:- """Run on new LLM token. Only available when streaming is enabled."""- self.tokens_stream += token- self.tokens_area.write(self.tokens_stream)-- def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:- """Do nothing."""- pass-- def on_llm_error(- self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any- ) -> None:- """Do nothing."""- pass-- def on_chain_start(- self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any- ) -> None:- """Print out that we are entering a chain."""- class_name = serialized["name"]- self.st.write(f"Entering new {class_name} chain...")-- def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None:- """Print out that we finished a chain."""- self.st.write("Finished chain.")-- def on_chain_error(- self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any- ) -> None:- """Do nothing."""- pass-- def on_tool_start(- self,- serialized: Dict[str, Any],- input_str: str,- **kwargs: Any,- ) -> None:- """Print out the log in specified color."""- pass-- def on_agent_action(self, action: AgentAction, **kwargs: Any) -> Any:- """Run on agent action."""- # st.write requires two spaces before a newline to render it-- self.st.markdown(action.log.replace("\n", " \n"))-- def on_tool_end(- self,- output: str,- observation_prefix: Optional[str] = None,- llm_prefix: Optional[str] = None,- **kwargs: Any,- ) -> None:- """If not the final action, print out observation."""- self.st.write(f"{observation_prefix}{output}")- self.st.write(llm_prefix)-- def on_tool_error(- self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any- ) -> None:- """Do nothing."""- pass-- def on_text(self, text: str, **kwargs: Any) -> None:- """Run on text."""- # st.write requires two spaces before a newline to render it- self.st.write(text.replace("\n", " \n"))-- def on_agent_finish(self, finish: AgentFinish, **kwargs: Any) -> None:- """Run on agent end."""- # st.write requires two spaces before a newline to render it- self.st.write(finish.log.replace("\n", " \n"))diff --git a/langchain/callbacks/streamlit/__init__.py b/langchain/callbacks/streamlit/__init__.pynew file mode 100644index 0000000000..44774a92d1--- /dev/null+++ b/langchain/callbacks/streamlit/__init__.py@@ -0,0 +1,79 @@+from __future__ import annotations++from typing import TYPE_CHECKING, Optional++from langchain.callbacks.base import BaseCallbackHandler+from langchain.callbacks.streamlit.streamlit_callback_handler import (+ LLMThoughtLabeler as LLMThoughtLabeler,+)+from langchain.callbacks.streamlit.streamlit_callback_handler import (+ StreamlitCallbackHandler as _InternalStreamlitCallbackHandler,+)++if TYPE_CHECKING:+ from streamlit.delta_generator import DeltaGenerator+++def StreamlitCallbackHandler(+ parent_container: DeltaGenerator,+ *,+ max_thought_containers: int = 4,+ expand_new_thoughts: bool = True,+ collapse_completed_thoughts: bool = True,+ thought_labeler: Optional[LLMThoughtLabeler] = None,+) -> BaseCallbackHandler:+ """Construct a new StreamlitCallbackHandler. This CallbackHandler is geared towards+ use with a LangChain Agent; it displays the Agent's LLM and tool-usage "thoughts"+ inside a series of Streamlit expanders.++ Parameters+ ----------+ parent_container+ The `st.container` that will contain all the Streamlit elements that the+ Handler creates.+ max_thought_containers+ The max number of completed LLM thought containers to show at once. When this+ threshold is reached, a new thought will cause the oldest thoughts to be+ collapsed into a "History" expander. Defaults to 4.+ expand_new_thoughts+ Each LLM "thought" gets its own `st.expander`. This param controls whether that+ expander is expanded by default. Defaults to True.+ collapse_completed_thoughts+ If True, LLM thought expanders will be collapsed when completed.+ Defaults to True.+ thought_labeler+ An optional custom LLMThoughtLabeler instance. If unspecified, the handler+ will use the default thought labeling logic. Defaults to None.++ Returns+ -------+ A new StreamlitCallbackHandler instance.++ Note that this is an "auto-updating" API: if the installed version of Streamlit+ has a more recent StreamlitCallbackHandler implementation, an instance of that class+ will be used.++ """+ # If we're using a version of Streamlit that implements StreamlitCallbackHandler,+ # delegate to it instead of using our built-in handler. The official handler is+ # guaranteed to support the same set of kwargs.+ try:+ from streamlit.external.langchain import (+ StreamlitCallbackHandler as OfficialStreamlitCallbackHandler, # type: ignore # noqa: 501+ )++ return OfficialStreamlitCallbackHandler(+ parent_container,+ max_thought_containers=max_thought_containers,+ expand_new_thoughts=expand_new_thoughts,+ collapse_completed_thoughts=collapse_completed_thoughts,+ thought_labeler=thought_labeler,+ )+ except ImportError:+ return _InternalStreamlitCallbackHandler(+ parent_container,+ max_thought_containers=max_thought_containers,+ expand_new_thoughts=expand_new_thoughts,+ collapse_completed_thoughts=collapse_completed_thoughts,+ thought_labeler=thought_labeler,+ )diff --git a/langchain/callbacks/streamlit/mutable_expander.py b/langchain/callbacks/streamlit/mutable_expander.pynew file mode 100644index 0000000000..e58398b109--- /dev/null+++ b/langchain/callbacks/streamlit/mutable_expander.py@@ -0,0 +1,152 @@+from __future__ import annotations++from enum import Enum+from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, Optional++if TYPE_CHECKING:+ from streamlit.delta_generator import DeltaGenerator+ from streamlit.type_util import SupportsStr+++class ChildType(Enum):+ MARKDOWN = "MARKDOWN"+ EXCEPTION = "EXCEPTION"+++class ChildRecord(NamedTuple):+ type: ChildType+ kwargs: Dict[str, Any]+ dg: DeltaGenerator+++class MutableExpander:+ """A Streamlit expander that can be renamed and dynamically expanded/collapsed."""++ def __init__(self, parent_container: DeltaGenerator, label: str, expanded: bool):+ """Create a new MutableExpander.++ Parameters+ ----------+ parent_container+ The `st.container` that the expander will be created inside.++ The expander transparently deletes and recreates its underlying+ `st.expander` instance when its label changes, and it uses+ `parent_container` to ensure it recreates this underlying expander in the+ same location onscreen.+ label+ The expander's initial label.+ expanded+ The expander's initial `expanded` value.+ """+ self._label = label+ self._expanded = expanded+ self._parent_cursor = parent_container.empty()+ self._container = self._parent_cursor.expander(label, expanded)+ self._child_records: List[ChildRecord] = []++ @property+ def label(self) -> str:+ """The expander's label string."""+ return self._label++ @property+ def expanded(self) -> bool:+ """True if the expander was created with `expanded=True`."""+ return self._expanded++ def clear(self) -> None:+ """Remove the container and its contents entirely. A cleared container can't+ be reused.+ """+ self._container = self._parent_cursor.empty()+ self._child_records.clear()++ def append_copy(self, other: MutableExpander) -> None:+ """Append a copy of another MutableExpander's children to this+ MutableExpander.+ """+ other_records = other._child_records.copy()+ for record in other_records:+ self._create_child(record.type, record.kwargs)++ def update(+ self, *, new_label: Optional[str] = None, new_expanded: Optional[bool] = None+ ) -> None:+ """Change the expander's label and expanded state"""+ if new_label is None:+ new_label = self._label+ if new_expanded is None:+ new_expanded = self._expanded++ if self._label == new_label and self._expanded == new_expanded:+ # No change!+ return++ self._label = new_label+ self._expanded = new_expanded+ self._container = self._parent_cursor.expander(new_label, new_expanded)++ prev_records = self._child_records+ self._child_records = []++ # Replay all children into the new container+ for record in prev_records:+ self._create_child(record.type, record.kwargs)++ def markdown(+ self,+ body: SupportsStr,+ unsafe_allow_html: bool = False,+ *,+ help: Optional[str] = None,+ index: Optional[int] = None,+ ) -> int:+ """Add a Markdown element to the container and return its index."""+ kwargs = {"body": body, "unsafe_allow_html": unsafe_allow_html, "help": help}+ new_dg = self._get_dg(index).markdown(**kwargs) # type: ignore[arg-type]+ record = ChildRecord(ChildType.MARKDOWN, kwargs, new_dg)+ return self._add_record(record, index)++ def exception(+ self, exception: BaseException, *, index: Optional[int] = None+ ) -> int:+ """Add an Exception element to the container and return its index."""+ kwargs = {"exception": exception}+ new_dg = self._get_dg(index).exception(**kwargs)+ record = ChildRecord(ChildType.EXCEPTION, kwargs, new_dg)+ return self._add_record(record, index)++ def _create_child(self, type: ChildType, kwargs: Dict[str, Any]) -> None:+ """Create a new child with the given params"""+ if type == ChildType.MARKDOWN:+ self.markdown(**kwargs)+ elif type == ChildType.EXCEPTION:+ self.exception(**kwargs)+ else:+ raise RuntimeError(f"Unexpected child type {type}")++ def _add_record(self, record: ChildRecord, index: Optional[int]) -> int:+ """Add a ChildRecord to self._children. If `index` is specified, replace+ the existing record at that index. Otherwise, append the record to the+ end of the list.++ Return the index of the added record.+ """+ if index is not None:+ # Replace existing child+ self._child_records[index] = record+ return index++ # Append new child+ self._child_records.append(record)+ return len(self._child_records) - 1++ def _get_dg(self, index: Optional[int]) -> DeltaGenerator:+ if index is not None:+ # Existing index: reuse child's DeltaGenerator+ assert 0 <= index < len(self._child_records), f"Bad index: {index}"+ return self._child_records[index].dg++ # No index: use container's DeltaGenerator+ return self._containerdiff --git a/langchain/callbacks/streamlit/streamlit_callback_handler.py b/langchain/callbacks/streamlit/streamlit_callback_handler.pynew file mode 100644index 0000000000..e86e4e0de1--- /dev/null+++ b/langchain/callbacks/streamlit/streamlit_callback_handler.py@@ -0,0 +1,406 @@+"""Callback Handler that prints to streamlit."""++from __future__ import annotations++from enum import Enum+from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, Optional, Union++from langchain.callbacks.base import BaseCallbackHandler+from langchain.callbacks.streamlit.mutable_expander import MutableExpander+from langchain.schema import AgentAction, AgentFinish, LLMResult++if TYPE_CHECKING:+ from streamlit.delta_generator import DeltaGenerator+++def _convert_newlines(text: str) -> str:+ """Convert newline characters to markdown newline sequences+ (space, space, newline).+ """+ return text.replace("\n", " \n")+++CHECKMARK_EMOJI = "✅"+THINKING_EMOJI = ":thinking_face:"+HISTORY_EMOJI = ":books:"+EXCEPTION_EMOJI = "⚠️"+++class LLMThoughtState(Enum):+ # The LLM is thinking about what to do next. We don't know which tool we'll run.+ THINKING = "THINKING"+ # The LLM has decided to run a tool. We don't have results from the tool yet.+ RUNNING_TOOL = "RUNNING_TOOL"+ # We have results from the tool.+ COMPLETE = "COMPLETE"+++class ToolRecord(NamedTuple):+ name: str+ input_str: str+++class LLMThoughtLabeler:+ """+ Generates markdown labels for LLMThought containers. Pass a custom+ subclass of this to StreamlitCallbackHandler to override its default+ labeling logic.+ """++ def get_initial_label(self) -> str:+ """Return the markdown label for a new LLMThought that doesn't have+ an associated tool yet.+ """+ return f"{THINKING_EMOJI} **Thinking...**"++ def get_tool_label(self, tool: ToolRecord, is_complete: bool) -> str:+ """Return the label for an LLMThought that has an associated+ tool.++ Parameters+ ----------+ tool+ The tool's ToolRecord++ is_complete+ True if the thought is complete; False if the thought+ is still receiving input.++ Returns+ -------+ The markdown label for the thought's container.++ """+ input = tool.input_str+ name = tool.name+ emoji = CHECKMARK_EMOJI if is_complete else THINKING_EMOJI+ if name == "_Exception":+ emoji = EXCEPTION_EMOJI+ name = "Parsing error"+ idx = min([60, len(input)])+ input = input[0:idx]+ if len(tool.input_str) > idx:+ input = input + "..."+ input = input.replace("\n", " ")+ label = f"{emoji} **{name}:** {input}"+ return label++ def get_history_label(self) -> str:+ """Return a markdown label for the special 'history' container+ that contains overflow thoughts.+ """+ return f"{HISTORY_EMOJI} **History**"++ def get_final_agent_thought_label(self) -> str:+ """Return the markdown label for the agent's final thought -+ the "Now I have the answer" thought, that doesn't involve+ a tool.+ """+ return f"{CHECKMARK_EMOJI} **Complete!**"+++class LLMThought:+ def __init__(+ self,+ parent_container: DeltaGenerator,+ labeler: LLMThoughtLabeler,+ expanded: bool,+ collapse_on_complete: bool,+ ):+ self._container = MutableExpander(+ parent_container=parent_container,+ label=labeler.get_initial_label(),+ expanded=expanded,+ )+ self._state = LLMThoughtState.THINKING+ self._llm_token_stream = ""+ self._llm_token_writer_idx: Optional[int] = None+ self._last_tool: Optional[ToolRecord] = None+ self._collapse_on_complete = collapse_on_complete+ self._labeler = labeler++ @property+ def container(self) -> MutableExpander:+ """The container we're writing into."""+ return self._container++ @property+ def last_tool(self) -> Optional[ToolRecord]:+ """The last tool executed by this thought"""+ return self._last_tool++ def _reset_llm_token_stream(self) -> None:+ self._llm_token_stream = ""+ self._llm_token_writer_idx = None++ def on_llm_start(self, serialized: Dict[str, Any], prompts: List[str]) -> None:+ self._reset_llm_token_stream()++ def on_llm_new_token(self, token: str, **kwargs: Any) -> None:+ # This is only called when the LLM is initialized with `streaming=True`+ self._llm_token_stream += _convert_newlines(token)+ self._llm_token_writer_idx = self._container.markdown(+ self._llm_token_stream, index=self._llm_token_writer_idx+ )++ def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:+ # `response` is the concatenation of all the tokens received by the LLM.+ # If we're receiving streaming tokens from `on_llm_new_token`, this response+ # data is redundant+ self._reset_llm_token_stream()++ def on_llm_error(+ self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any+ ) -> None:+ self._container.markdown("**LLM encountered an error...**")+ self._container.exception(error)++ def on_tool_start(+ self, serialized: Dict[str, Any], input_str: str, **kwargs: Any+ ) -> None:+ # Called with the name of the tool we're about to run (in `serialized[name]`),+ # and its input. We change our container's label to be the tool name.+ self._state = LLMThoughtState.RUNNING_TOOL+ tool_name = serialized["name"]+ self._last_tool = ToolRecord(name=tool_name, input_str=input_str)+ self._container.update(+ new_label=self._labeler.get_tool_label(self._last_tool, is_complete=False)+ )++ def on_tool_end(+ self,+ output: str,+ color: Optional[str] = None,+ observation_prefix: Optional[str] = None,+ llm_prefix: Optional[str] = None,+ **kwargs: Any,+ ) -> None:+ self._container.markdown(f"**{output}**")++ def on_tool_error(+ self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any+ ) -> None:+ self._container.markdown("**Tool encountered an error...**")+ self._container.exception(error)++ def on_agent_action(+ self, action: AgentAction, color: Optional[str] = None, **kwargs: Any+ ) -> Any:+ # Called when we're about to kick off a new tool. The `action` data+ # tells us the tool we're about to use, and the input we'll give it.+ # We don't output anything here, because we'll receive this same data+ # when `on_tool_start` is called immediately after.+ pass++ def complete(self, final_label: Optional[str] = None) -> None:+ """Finish the thought."""+ if final_label is None and self._state == LLMThoughtState.RUNNING_TOOL:+ assert (+ self._last_tool is not None+ ), "_last_tool should never be null when _state == RUNNING_TOOL"+ final_label = self._labeler.get_tool_label(+ self._last_tool, is_complete=True+ )+ self._state = LLMThoughtState.COMPLETE+ if self._collapse_on_complete:+ self._container.update(new_label=final_label, new_expanded=False)+ else:+ self._container.update(new_label=final_label)++ def clear(self) -> None:+ """Remove the thought from the screen. A cleared thought can't be reused."""+ self._container.clear()+++class StreamlitCallbackHandler(BaseCallbackHandler):+ def __init__(+ self,+ parent_container: DeltaGenerator,+ *,+ max_thought_containers: int = 4,+ expand_new_thoughts: bool = True,+ collapse_completed_thoughts: bool = True,+ thought_labeler: Optional[LLMThoughtLabeler] = None,+ ):+ """Create a StreamlitCallbackHandler instance.++ Parameters+ ----------+ parent_container+ The `st.container` that will contain all the Streamlit elements that the+ Handler creates.+ max_thought_containers+ The max number of completed LLM thought containers to show at once. When+ this threshold is reached, a new thought will cause the oldest thoughts to+ be collapsed into a "History" expander. Defaults to 4.+ expand_new_thoughts+ Each LLM "thought" gets its own `st.expander`. This param controls whether+ that expander is expanded by default. Defaults to True.+ collapse_completed_thoughts+ If True, LLM thought expanders will be collapsed when completed.+ Defaults to True.+ thought_labeler+ An optional custom LLMThoughtLabeler instance. If unspecified, the handler+ will use the default thought labeling logic. Defaults to None.+ """+ self._parent_container = parent_container+ self._history_parent = parent_container.container()+ self._history_container: Optional[MutableExpander] = None+ self._current_thought: Optional[LLMThought] = None+ self._completed_thoughts: List[LLMThought] = []+ self._max_thought_containers = max(max_thought_containers, 1)+ self._expand_new_thoughts = expand_new_thoughts+ self._collapse_completed_thoughts = collapse_completed_thoughts+ self._thought_labeler = thought_labeler or LLMThoughtLabeler()++ def _require_current_thought(self) -> LLMThought:+ """Return our current LLMThought. Raise an error if we have no current+ thought.+ """+ if self._current_thought is None:+ raise RuntimeError("Current LLMThought is unexpectedly None!")+ return self._current_thought++ def _get_last_completed_thought(self) -> Optional[LLMThought]:+ """Return our most recent completed LLMThought, or None if we don't have one."""+ if len(self._completed_thoughts) > 0:+ return self._completed_thoughts[len(self._completed_thoughts) - 1]+ return None++ @property+ def _num_thought_containers(self) -> int:+ """The number of 'thought containers' we're currently showing: the+ number of completed thought containers, the history container (if it exists),+ and the current thought container (if it exists).+ """+ count = len(self._completed_thoughts)+ if self._history_container is not None:+ count += 1+ if self._current_thought is not None:+ count += 1+ return count++ def _complete_current_thought(self, final_label: Optional[str] = None) -> None:+ """Complete the current thought, optionally assigning it a new label.+ Add it to our _completed_thoughts list.+ """+ thought = self._require_current_thought()+ thought.complete(final_label)+ self._completed_thoughts.append(thought)+ self._current_thought = None++ def _prune_old_thought_containers(self) -> None:+ """If we have too many thoughts onscreen, move older thoughts to the+ 'history container.'+ """+ while (+ self._num_thought_containers > self._max_thought_containers+ and len(self._completed_thoughts) > 0+ ):+ # Create our history container if it doesn't exist, and if+ # max_thought_containers is > 1. (if max_thought_containers is 1, we don't+ # have room to show history.)+ if self._history_container is None and self._max_thought_containers > 1:+ self._history_container = MutableExpander(+ self._history_parent,+ label=self._thought_labeler.get_history_label(),+ expanded=False,+ )++ oldest_thought = self._completed_thoughts.pop(0)+ if self._history_container is not None:+ self._history_container.markdown(oldest_thought.container.label)+ self._history_container.append_copy(oldest_thought.container)+ oldest_thought.clear()++ def on_llm_start(+ self, serialized: Dict[str, Any], prompts: List[str], **kwargs: Any+ ) -> None:+ if self._current_thought is None:+ self._current_thought = LLMThought(+ parent_container=self._parent_container,+ expanded=self._expand_new_thoughts,+ collapse_on_complete=self._collapse_completed_thoughts,+ labeler=self._thought_labeler,+ )++ self._current_thought.on_llm_start(serialized, prompts)++ # We don't prune_old_thought_containers here, because our container won't+ # be visible until it has a child.++ def on_llm_new_token(self, token: str, **kwargs: Any) -> None:+ self._require_current_thought().on_llm_new_token(token, **kwargs)+ self._prune_old_thought_containers()++ def on_llm_end(self, response: LLMResult, **kwargs: Any) -> None:+ self._require_current_thought().on_llm_end(response, **kwargs)+ self._prune_old_thought_containers()++ def on_llm_error(+ self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any+ ) -> None:+ self._require_current_thought().on_llm_error(error, **kwargs)+ self._prune_old_thought_containers()++ def on_tool_start(+ self, serialized: Dict[str, Any], input_str: str, **kwargs: Any+ ) -> None:+ self._require_current_thought().on_tool_start(serialized, input_str, **kwargs)+ self._prune_old_thought_containers()++ def on_tool_end(+ self,+ output: str,+ color: Optional[str] = None,+ observation_prefix: Optional[str] = None,+ llm_prefix: Optional[str] = None,+ **kwargs: Any,+ ) -> None:+ self._require_current_thought().on_tool_end(+ output, color, observation_prefix, llm_prefix, **kwargs+ )+ self._complete_current_thought()++ def on_tool_error(+ self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any+ ) -> None:+ self._require_current_thought().on_tool_error(error, **kwargs)+ self._prune_old_thought_containers()++ def on_text(+ self,+ text: str,+ color: Optional[str] = None,+ end: str = "",+ **kwargs: Any,+ ) -> None:+ pass++ def on_chain_start(+ self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any+ ) -> None:+ pass++ def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None:+ pass++ def on_chain_error(+ self, error: Union[Exception, KeyboardInterrupt], **kwargs: Any+ ) -> None:+ pass++ def on_agent_action(+ self, action: AgentAction, color: Optional[str] = None, **kwargs: Any+ ) -> Any:+ self._require_current_thought().on_agent_action(action, color, **kwargs)+ self._prune_old_thought_containers()++ def on_agent_finish(+ self, finish: AgentFinish, color: Optional[str] = None, **kwargs: Any+ ) -> None:+ if self._current_thought is not None:+ self._current_thought.complete(+ self._thought_labeler.get_final_agent_thought_label()+ )+ self._current_thought = Nonediff --git a/poetry.lock b/poetry.lockindex 28396916b7..f93dccf2de 100644--- a/poetry.lock+++ b/poetry.lock@@ -1,10 +1,9 @@-# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.+# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.[[package]]name = "absl-py"version = "1.4.0"description = "Abseil Python Common Libraries, see https://github.com/abseil/abseil-py."-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -16,7 +15,6 @@ files = [name = "accelerate"version = "0.20.3"description = "Accelerate"-category = "main"optional = truepython-versions = ">=3.7.0"files = [@@ -45,7 +43,6 @@ testing = ["datasets", "deepspeed", "evaluate", "parameterized", "pytest", "pytename = "aioboto3"version = "11.2.0"description = "Async boto3 wrapper"-category = "main"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -64,7 +61,6 @@ s3cse = ["cryptography (>=2.3.1)"]name = "aiobotocore"version = "2.5.0"description = "Async client for aws services using botocore and aiohttp"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -87,7 +83,6 @@ boto3 = ["boto3 (>=1.26.76,<1.26.77)"]name = "aiodns"version = "3.0.0"description = "Simple DNS resolver for asyncio"-category = "main"optional = truepython-versions = "*"files = [@@ -102,7 +97,6 @@ pycares = ">=4.0.0"name = "aiofiles"version = "23.1.0"description = "File support for asyncio."-category = "main"optional = truepython-versions = ">=3.7,<4.0"files = [@@ -114,7 +108,6 @@ files = [name = "aiohttp"version = "3.8.4"description = "Async http client/server framework (asyncio)"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -223,7 +216,6 @@ speedups = ["Brotli", "aiodns", "cchardet"]name = "aiohttp-retry"version = "2.8.3"description = "Simple retry client for aiohttp"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -238,7 +230,6 @@ aiohttp = "*"name = "aioitertools"version = "0.11.0"description = "itertools and builtins for AsyncIO and mixed iterables"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -253,7 +244,6 @@ typing_extensions = {version = ">=4.0", markers = "python_version < \"3.10\""}name = "aiosignal"version = "1.3.1"description = "aiosignal: a list of registered asynchronous callbacks"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -268,7 +258,6 @@ frozenlist = ">=1.1.0"name = "aiostream"version = "0.4.5"description = "Generator-based operators for asynchronous iteration"-category = "main"optional = truepython-versions = "*"files = [@@ -280,7 +269,6 @@ files = [name = "alabaster"version = "0.7.13"description = "A configurable sidebar-enabled Sphinx theme"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -292,7 +280,6 @@ files = [name = "aleph-alpha-client"version = "2.17.0"description = "python client to interact with Aleph Alpha api endpoints"-category = "main"optional = truepython-versions = "*"files = [@@ -316,11 +303,32 @@ docs = ["sphinx", "sphinx-rtd-theme"]test = ["pytest", "pytest-aiohttp", "pytest-cov", "pytest-dotenv", "pytest-httpserver"]types = ["mypy", "types-Pillow", "types-requests"]+[[package]]+name = "altair"+version = "4.2.2"+description = "Altair: A declarative statistical visualization library for Python."+optional = true+python-versions = ">=3.7"+files = [+ {file = "altair-4.2.2-py3-none-any.whl", hash = "sha256:8b45ebeaf8557f2d760c5c77b79f02ae12aee7c46c27c06014febab6f849bc87"},+ {file = "altair-4.2.2.tar.gz", hash = "sha256:39399a267c49b30d102c10411e67ab26374156a84b1aeb9fcd15140429ba49c5"},+]++[package.dependencies]+entrypoints = "*"+jinja2 = "*"+jsonschema = ">=3.0"+numpy = "*"+pandas = ">=0.18"+toolz = "*"++[package.extras]+dev = ["black", "docutils", "flake8", "ipython", "m2r", "mistune (<2.0.0)", "pytest", "recommonmark", "sphinx", "vega-datasets"]+[[package]]name = "anthropic"version = "0.2.10"description = "Library for accessing the anthropic API"-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -341,7 +349,6 @@ dev = ["black (>=22.3.0)", "pytest"]name = "anyio"version = "3.7.0"description = "High level compatibility layer for multiple asynchronous event loop implementations"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -363,7 +370,6 @@ trio = ["trio (<0.22)"]name = "appdirs"version = "1.4.4"description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."-category = "main"optional = truepython-versions = "*"files = [@@ -375,7 +381,6 @@ files = [name = "appnope"version = "0.1.3"description = "Disable App Nap on macOS >= 10.9"-category = "dev"optional = falsepython-versions = "*"files = [@@ -387,7 +392,6 @@ files = [name = "argon2-cffi"version = "21.3.0"description = "The secure Argon2 password hashing algorithm."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -407,7 +411,6 @@ tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pytest"]name = "argon2-cffi-bindings"version = "21.2.0"description = "Low-level CFFI bindings for Argon2"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -445,7 +448,6 @@ tests = ["pytest"]name = "arrow"version = "1.2.3"description = "Better dates & times for Python"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -460,7 +462,6 @@ python-dateutil = ">=2.7.0"name = "arxiv"version = "1.4.7"description = "Python wrapper for the arXiv API: http://arxiv.org/help/api/"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -475,7 +476,6 @@ feedparser = "*"name = "asgiref"version = "3.7.2"description = "ASGI specs, helper code, and adapters"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -493,7 +493,6 @@ tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"]name = "asttokens"version = "2.2.1"description = "Annotate AST trees with source code positions"-category = "dev"optional = falsepython-versions = "*"files = [@@ -511,7 +510,6 @@ test = ["astroid", "pytest"]name = "astunparse"version = "1.6.3"description = "An AST unparser for Python"-category = "main"optional = truepython-versions = "*"files = [@@ -527,7 +525,6 @@ wheel = ">=0.23.0,<1.0"name = "async-timeout"version = "4.0.2"description = "Timeout context manager for asyncio programs"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -539,7 +536,6 @@ files = [name = "atlassian-python-api"version = "3.39.0"description = "Python Atlassian REST API Wrapper"-category = "main"optional = truepython-versions = "*"files = [@@ -560,7 +556,6 @@ kerberos = ["requests-kerberos"]name = "attrs"version = "23.1.0"description = "Classes Without Boilerplate"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -579,7 +574,6 @@ tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytename = "authlib"version = "1.2.0"description = "The ultimate Python library in building OAuth and OpenID Connect servers and clients."-category = "main"optional = falsepython-versions = "*"files = [@@ -594,7 +588,6 @@ cryptography = ">=3.2"name = "autodoc-pydantic"version = "1.8.0"description = "Seamlessly integrate pydantic models in your Sphinx documentation."-category = "dev"optional = falsepython-versions = ">=3.6,<4.0.0"files = [@@ -613,19 +606,18 @@ test = ["coverage (>=5,<6)", "pytest (>=6,<7)"][[package]]name = "awadb"-version = "0.3.5"+version = "0.3.3"description = "The AI Native database for embedding vectors"-category = "main"optional = truepython-versions = ">=3.7"files = [- {file = "awadb-0.3.5-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:9addae6f0cfd57cdb3e8915778772c51fc1c41f5cacebad1322c5bfe30c95516"},- {file = "awadb-0.3.5-cp311-cp311-macosx_10_13_universal2.whl", hash = "sha256:1b06099c4baf906829e4550f3cf0da602aba44465c89ede5889943619c0b49ce"},- {file = "awadb-0.3.5-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:dedbb62496aadb70894fa965922625ff3003397445f38d5da7f4092e17f93725"},- {file = "awadb-0.3.5-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0f7eafcbe5311cc7b976faca368bc666a70f22ebd7f0039b5c5f791f2909377e"},- {file = "awadb-0.3.5-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:950ddb5c483ea1ce24550d32c79e4c40c10dfc73cafc6f6faa8b14f22271dce5"},- {file = "awadb-0.3.5-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:98b5d5a7a0d11253e23bec48295dc45356eead2338eac0d4f73a3755060992db"},- {file = "awadb-0.3.5-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:1c14d9014e7e0ccf8eaecc540e0c88893fcdd3a1438f71c110b9ec80b565dae6"},+ {file = "awadb-0.3.3-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:daebc108103c8cace41dfb3235fcfdda28ea48e6cd6548b6072f7ad49b64274b"},+ {file = "awadb-0.3.3-cp311-cp311-macosx_10_13_universal2.whl", hash = "sha256:2bb3ca2f943448060b1bba4395dd99e2218d7f2149507a8fdfa7a3fd4cfe97ec"},+ {file = "awadb-0.3.3-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:7b99662af9f7b58e217661a70c295e40605900552bec6d8e9553d90dbf19c5c1"},+ {file = "awadb-0.3.3-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:94be44e587f28fa26b2cade0b6f4c04689f50cb0c07183db5ee50e48fe2e9ae3"},+ {file = "awadb-0.3.3-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:314929dc3a8d25c0f234a2b86c920543050f4eb298a6f68bd2c97c9fe3fb6224"},+ {file = "awadb-0.3.3-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:8bfccff1c7373899153427d93d96a97ae5371e8a6f09ff4dcbd28fb9f3f63ff4"},+ {file = "awadb-0.3.3-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:810021a90b873f668d8ab63e2c2747b2b2835bf0ae25f4223b6c94f06faffea4"},][package.extras]@@ -635,7 +627,6 @@ test = ["pytest (>=6.0)"]name = "azure-ai-formrecognizer"version = "3.2.1"description = "Microsoft Azure Form Recognizer Client Library for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -653,7 +644,6 @@ typing-extensions = ">=4.0.1"name = "azure-ai-vision"version = "0.11.1b1"description = "Microsoft Azure AI Vision SDK for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -665,7 +655,6 @@ files = [name = "azure-cognitiveservices-speech"version = "1.29.0"description = "Microsoft Cognitive Services Speech SDK for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -681,7 +670,6 @@ files = [name = "azure-common"version = "1.1.28"description = "Microsoft Azure Client Library for Python (Common)"-category = "main"optional = truepython-versions = "*"files = [@@ -693,7 +681,6 @@ files = [name = "azure-core"version = "1.27.1"description = "Microsoft Azure Core Library for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -713,7 +700,6 @@ aio = ["aiohttp (>=3.0)"]name = "azure-cosmos"version = "4.4.0"description = "Microsoft Azure Cosmos Client Library for Python"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -728,7 +714,6 @@ azure-core = ">=1.23.0,<2.0.0"name = "azure-identity"version = "1.13.0"description = "Microsoft Azure Identity Library for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -747,7 +732,6 @@ six = ">=1.12.0"name = "azure-search-documents"version = "11.4.0a20230509004"description = "Microsoft Azure Cognitive Search Client Library for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -769,7 +753,6 @@ reference = "azure-sdk-dev"name = "babel"version = "2.12.1"description = "Internationalization utilities"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -784,7 +767,6 @@ pytz = {version = ">=2015.7", markers = "python_version < \"3.9\""}name = "backcall"version = "0.2.0"description = "Specifications for callback functions passed in to an API"-category = "dev"optional = falsepython-versions = "*"files = [@@ -796,7 +778,6 @@ files = [name = "backoff"version = "2.2.1"description = "Function decoration for backoff and retry"-category = "main"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -808,7 +789,6 @@ files = [name = "backports-zoneinfo"version = "0.2.1"description = "Backport of the standard library zoneinfo module"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -837,7 +817,6 @@ tzdata = ["tzdata"]name = "beautifulsoup4"version = "4.12.2"description = "Screen-scraping library"-category = "main"optional = falsepython-versions = ">=3.6.0"files = [@@ -856,7 +835,6 @@ lxml = ["lxml"]name = "bentoml"version = "1.0.22"description = "BentoML: The Unified Model Serving Framework"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -933,7 +911,6 @@ triton = ["tritonclient[all] (>=2.29.0)"]name = "bibtexparser"version = "1.4.0"description = "Bibtex parser for python 3"-category = "main"optional = truepython-versions = "*"files = [@@ -947,7 +924,6 @@ pyparsing = ">=2.0.3"name = "black"version = "23.3.0"description = "The uncompromising code formatter."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -997,7 +973,6 @@ uvloop = ["uvloop (>=0.15.2)"]name = "bleach"version = "6.0.0"description = "An easy safelist-based HTML-sanitizing tool."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -1012,11 +987,21 @@ webencodings = "*"[package.extras]css = ["tinycss2 (>=1.1.0,<1.2)"]+[[package]]+name = "blinker"+version = "1.6.2"+description = "Fast, simple object-to-object and broadcast signaling"+optional = true+python-versions = ">=3.7"+files = [+ {file = "blinker-1.6.2-py3-none-any.whl", hash = "sha256:c3d739772abb7bc2860abf5f2ec284223d9ad5c76da018234f6f50d6f31ab1f0"},+ {file = "blinker-1.6.2.tar.gz", hash = "sha256:4afd3de66ef3a9f8067559fb7a1cbe555c17dcbe15971b05d1b625c3e7abe213"},+]+[[package]]name = "blis"version = "0.7.9"description = "The Blis BLAS-like linear algebra library, as a self-contained C-extension."-category = "main"optional = truepython-versions = "*"files = [@@ -1057,7 +1042,6 @@ numpy = ">=1.15.0"name = "blurhash"version = "1.1.4"description = "Pure-Python implementation of the blurhash algorithm."-category = "dev"optional = falsepython-versions = "*"files = [@@ -1072,7 +1056,6 @@ test = ["Pillow", "numpy", "pytest"]name = "boto3"version = "1.26.76"description = "The AWS SDK for Python"-category = "main"optional = falsepython-versions = ">= 3.7"files = [@@ -1092,7 +1075,6 @@ crt = ["botocore[crt] (>=1.21.0,<2.0a0)"]name = "botocore"version = "1.29.76"description = "Low-level, data-driven core of boto 3."-category = "main"optional = falsepython-versions = ">= 3.7"files = [@@ -1112,7 +1094,6 @@ crt = ["awscrt (==0.16.9)"]name = "brotli"version = "1.0.9"description = "Python bindings for the Brotli compression library"-category = "main"optional = truepython-versions = "*"files = [@@ -1204,7 +1185,6 @@ files = [name = "brotlicffi"version = "1.0.9.2"description = "Python CFFI bindings to the Brotli library"-category = "main"optional = truepython-versions = "*"files = [@@ -1247,7 +1227,6 @@ cffi = ">=1.0.0"name = "build"version = "0.10.0"description = "A simple, correct Python build frontend"-category = "main"optional = truepython-versions = ">= 3.7"files = [@@ -1271,7 +1250,6 @@ virtualenv = ["virtualenv (>=20.0.35)"]name = "cachetools"version = "5.3.1"description = "Extensible memoizing collections and decorators"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -1283,7 +1261,6 @@ files = [name = "cassandra-driver"version = "3.28.0"description = "DataStax Driver for Apache Cassandra"-category = "dev"optional = falsepython-versions = "*"files = [@@ -1335,7 +1312,6 @@ graph = ["gremlinpython (==3.4.6)"]name = "catalogue"version = "2.0.8"description = "Super lightweight function registries for your library"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1347,7 +1323,6 @@ files = [name = "cattrs"version = "23.1.2"description = "Composable complex class support for attrs and dataclasses."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -1373,7 +1348,6 @@ ujson = ["ujson (>=5.4.0,<6.0.0)"]name = "certifi"version = "2023.5.7"description = "Python package for providing Mozilla's CA Bundle."-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -1385,7 +1359,6 @@ files = [name = "cffi"version = "1.15.1"description = "Foreign Function Interface for Python calling C code."-category = "main"optional = falsepython-versions = "*"files = [@@ -1462,7 +1435,6 @@ pycparser = "*"name = "chardet"version = "5.1.0"description = "Universal encoding detector for Python 3"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -1474,7 +1446,6 @@ files = [name = "charset-normalizer"version = "3.1.0"description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."-category = "main"optional = falsepython-versions = ">=3.7.0"files = [@@ -1559,7 +1530,6 @@ files = [name = "chromadb"version = "0.3.26"description = "Chroma."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -1590,7 +1560,6 @@ uvicorn = {version = ">=0.18.3", extras = ["standard"]}name = "circus"version = "0.18.0"description = "Circus is a program that will let you run and watch multiple processes and sockets."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -1610,7 +1579,6 @@ test = ["coverage", "flake8 (==2.1.0)", "gevent", "mock", "nose2", "pyyaml", "toname = "clarifai"version = "9.1.0"description = "Clarifai Python Utilities"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -1625,7 +1593,6 @@ clarifai-grpc = ">=9.1.0"name = "clarifai-grpc"version = "9.1.1"description = "Clarifai gRPC API Client"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1643,7 +1610,6 @@ requests = ">=2.25.1"name = "click"version = "8.1.3"description = "Composable command line interface toolkit"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -1658,7 +1624,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""}name = "click-option-group"version = "0.5.6"description = "Option groups missing in Click"-category = "main"optional = truepython-versions = ">=3.6,<4"files = [@@ -1678,7 +1643,6 @@ tests-cov = ["coverage", "coveralls", "pytest", "pytest-cov"]name = "clickhouse-connect"version = "0.5.25"description = "ClickHouse core driver, SqlAlchemy, and Superset libraries"-category = "main"optional = falsepython-versions = "~=3.7"files = [@@ -1768,7 +1732,6 @@ superset = ["apache-superset (>=1.4.1)"]name = "cloudpickle"version = "2.2.1"description = "Extended pickling support for Python objects"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1780,7 +1743,6 @@ files = [name = "cohere"version = "3.10.0"description = "A Python library for the Cohere API"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1795,7 +1757,6 @@ urllib3 = ">=1.26,<2.0"name = "colorama"version = "0.4.6"description = "Cross-platform colored terminal text."-category = "main"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"files = [@@ -1807,7 +1768,6 @@ files = [name = "colored"version = "1.4.4"description = "Simple library for color and formatting to terminal"-category = "dev"optional = falsepython-versions = "*"files = [@@ -1818,7 +1778,6 @@ files = [name = "coloredlogs"version = "15.0.1"description = "Colored terminal output for Python's logging module"-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -1836,7 +1795,6 @@ cron = ["capturer (>=2.4)"]name = "comm"version = "0.1.3"description = "Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -1856,7 +1814,6 @@ typing = ["mypy (>=0.990)"]name = "confection"version = "0.0.4"description = "The sweetest config system for Python"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1872,7 +1829,6 @@ srsly = ">=2.4.0,<3.0.0"name = "contextlib2"version = "21.6.0"description = "Backports and enhancements for the contextlib module"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -1884,7 +1840,6 @@ files = [name = "coverage"version = "7.2.7"description = "Code coverage measurement for Python"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -1960,7 +1915,6 @@ toml = ["tomli"]name = "cryptography"version = "41.0.1"description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2002,7 +1956,6 @@ test-randomorder = ["pytest-randomly"]name = "cymem"version = "2.0.7"description = "Manage calls to calloc/free through Cython"-category = "main"optional = truepython-versions = "*"files = [@@ -2040,7 +1993,6 @@ files = [name = "dataclasses-json"version = "0.5.8"description = "Easily serialize dataclasses to and from JSON"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -2060,7 +2012,6 @@ dev = ["flake8", "hypothesis", "ipython", "mypy (>=0.710)", "portray", "pytest (name = "datasets"version = "2.13.0"description = "HuggingFace community-driven open-source library of datasets"-category = "main"optional = truepython-versions = ">=3.7.0"files = [@@ -2103,7 +2054,6 @@ vision = ["Pillow (>=6.2.1)"]name = "debugpy"version = "1.6.7"description = "An implementation of the Debug Adapter Protocol for Python"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -2131,7 +2081,6 @@ files = [name = "decorator"version = "5.1.1"description = "Decorators for Humans"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -2143,7 +2092,6 @@ files = [name = "deeplake"version = "3.6.4"description = "Activeloop Deep Lake"-category = "main"optional = falsepython-versions = "*"files = [@@ -2181,7 +2129,6 @@ visualizer = ["IPython", "flask"]name = "deepmerge"version = "1.1.0"description = "a toolset to deeply merge python dictionaries."-category = "main"optional = truepython-versions = "*"files = [@@ -2193,7 +2140,6 @@ files = [name = "defusedxml"version = "0.7.1"description = "XML bomb protection for Python stdlib modules"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -2205,7 +2151,6 @@ files = [name = "deprecated"version = "1.2.14"description = "Python @deprecated decorator to deprecate old python classes, functions or methods."-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -2223,7 +2168,6 @@ dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"]name = "dill"version = "0.3.6"description = "serialize all of python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2238,7 +2182,6 @@ graph = ["objgraph (>=1.7.2)"]name = "dnspython"version = "2.3.0"description = "DNS toolkit"-category = "main"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -2259,7 +2202,6 @@ wmi = ["wmi (>=1.5.1,<2.0.0)"]name = "docarray"version = "0.32.1"description = "The data structure for multimodal data"-category = "main"optional = truepython-versions = ">=3.7,<4.0"files = [@@ -2298,7 +2240,6 @@ web = ["fastapi (>=0.87.0)"]name = "docker"version = "6.1.3"description = "A Python library for the Docker Engine API."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -2320,7 +2261,6 @@ ssh = ["paramiko (>=2.4.3)"]name = "docutils"version = "0.17.1"description = "Docutils -- Python Documentation Utilities"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -2332,7 +2272,6 @@ files = [name = "duckdb"version = "0.8.1"description = "DuckDB embedded database"-category = "dev"optional = falsepython-versions = "*"files = [@@ -2394,7 +2333,6 @@ files = [name = "duckdb-engine"version = "0.7.3"description = "SQLAlchemy driver for duckdb"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -2411,7 +2349,6 @@ sqlalchemy = ">=1.3.22"name = "duckduckgo-search"version = "3.8.3"description = "Search for words, documents, images, news, maps and text translation using the DuckDuckGo.com search engine."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -2429,7 +2366,6 @@ lxml = ">=4.9.2"name = "ecdsa"version = "0.18.0"description = "ECDSA cryptographic signature library (pure python)"-category = "main"optional = truepython-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"files = [@@ -2448,7 +2384,6 @@ gmpy2 = ["gmpy2"]name = "elastic-transport"version = "8.4.0"description = "Transport classes and utilities shared among Python Elastic client libraries"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -2467,7 +2402,6 @@ develop = ["aiohttp", "mock", "pytest", "pytest-asyncio", "pytest-cov", "pytest-name = "elasticsearch"version = "8.8.0"description = "Python client for Elasticsearch"-category = "main"optional = falsepython-versions = ">=3.6, <4"files = [@@ -2487,7 +2421,6 @@ requests = ["requests (>=2.4.0,<3.0.0)"]name = "entrypoints"version = "0.4"description = "Discover and load entry points from installed packages."-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -2499,7 +2432,6 @@ files = [name = "exceptiongroup"version = "1.1.1"description = "Backport of PEP 654 (exception groups)"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2514,7 +2446,6 @@ test = ["pytest (>=6)"]name = "executing"version = "1.2.0"description = "Get the currently executing AST node of a frame, and other information"-category = "dev"optional = falsepython-versions = "*"files = [@@ -2529,7 +2460,6 @@ tests = ["asttokens", "littleutils", "pytest", "rich"]name = "faiss-cpu"version = "1.7.4"description = "A library for efficient similarity search and clustering of dense vectors."-category = "main"optional = truepython-versions = "*"files = [@@ -2564,7 +2494,6 @@ files = [name = "fastapi"version = "0.97.0"description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2583,7 +2512,6 @@ all = ["email-validator (>=1.1.1)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)"name = "fastjsonschema"version = "2.17.1"description = "Fastest Python implementation of JSON schema"-category = "dev"optional = falsepython-versions = "*"files = [@@ -2598,7 +2526,6 @@ devel = ["colorama", "json-spec", "jsonschema", "pylint", "pytest", "pytest-bencname = "feedparser"version = "6.0.10"description = "Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -2613,7 +2540,6 @@ sgmllib3k = "*"name = "filelock"version = "3.12.2"description = "A platform independent file lock."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2629,7 +2555,6 @@ testing = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "diff-cover (>=7.5)", "pname = "filetype"version = "1.2.0"description = "Infer file type and MIME type of any file/buffer. No external dependencies."-category = "main"optional = truepython-versions = "*"files = [@@ -2641,7 +2566,6 @@ files = [name = "flatbuffers"version = "23.5.26"description = "The FlatBuffers serialization format for Python"-category = "main"optional = falsepython-versions = "*"files = [@@ -2653,7 +2577,6 @@ files = [name = "fluent-logger"version = "0.10.0"description = "A Python logging handler for Fluentd event collector"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -2668,7 +2591,6 @@ msgpack = ">1.0"name = "fqdn"version = "1.5.1"description = "Validates fully-qualified domain names against RFC 1123, so that they are acceptable to modern bowsers"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4, <4"files = [@@ -2680,7 +2602,6 @@ files = [name = "freezegun"version = "1.2.2"description = "Let your Python tests travel through time"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -2695,7 +2616,6 @@ python-dateutil = ">=2.7"name = "frozenlist"version = "1.3.3"description = "A list-like structure which implements collections.abc.MutableSequence"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -2779,7 +2699,6 @@ files = [name = "fs"version = "2.4.16"description = "Python's filesystem abstraction layer"-category = "main"optional = truepython-versions = "*"files = [@@ -2799,7 +2718,6 @@ scandir = ["scandir (>=1.5,<2.0)"]name = "fsspec"version = "2023.6.0"description = "File-system specification"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -2839,7 +2757,6 @@ tqdm = ["tqdm"]name = "future"version = "0.18.3"description = "Clean single-source support for Python 3 and 2"-category = "main"optional = truepython-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"files = [@@ -2850,7 +2767,6 @@ files = [name = "gast"version = "0.4.0"description = "Python AST that abstracts the underlying Python version"-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -2862,7 +2778,6 @@ files = [name = "geojson"version = "2.5.0"description = "Python bindings and utilities for GeoJSON"-category = "main"optional = truepython-versions = "*"files = [@@ -2874,7 +2789,6 @@ files = [name = "geomet"version = "0.2.1.post1"description = "GeoJSON <-> WKT/WKB conversion utilities"-category = "dev"optional = falsepython-versions = ">2.6, !=3.3.*, <4"files = [@@ -2886,11 +2800,38 @@ files = [click = "*"six = "*"+[[package]]+name = "gitdb"+version = "4.0.10"+description = "Git Object Database"+optional = true+python-versions = ">=3.7"+files = [+ {file = "gitdb-4.0.10-py3-none-any.whl", hash = "sha256:c286cf298426064079ed96a9e4a9d39e7f3e9bf15ba60701e95f5492f28415c7"},+ {file = "gitdb-4.0.10.tar.gz", hash = "sha256:6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a"},+]++[package.dependencies]+smmap = ">=3.0.1,<6"++[[package]]+name = "gitpython"+version = "3.1.31"+description = "GitPython is a Python library used to interact with Git repositories"+optional = true+python-versions = ">=3.7"+files = [+ {file = "GitPython-3.1.31-py3-none-any.whl", hash = "sha256:f04893614f6aa713a60cbbe1e6a97403ef633103cdd0ef5eb6efe0deb98dbe8d"},+ {file = "GitPython-3.1.31.tar.gz", hash = "sha256:8ce3bcf69adfdf7c7d503e78fd3b1c492af782d58893b650adb2ac8912ddd573"},+]++[package.dependencies]+gitdb = ">=4.0.1,<5"+[[package]]name = "google-api-core"version = "2.11.1"description = "Google API client core library"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -2913,7 +2854,6 @@ grpcio-gcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"]name = "google-api-python-client"version = "2.70.0"description = "Google API Client Library for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -2922,7 +2862,7 @@ files = [][package.dependencies]-google-api-core = ">=1.31.5,<2.0.0 || >2.3.0,<3.0.0dev"+google-api-core = ">=1.31.5,<2.0.dev0 || >2.3.0,<3.0.0dev"google-auth = ">=1.19.0,<3.0.0dev"google-auth-httplib2 = ">=0.1.0"httplib2 = ">=0.15.0,<1dev"@@ -2932,7 +2872,6 @@ uritemplate = ">=3.0.1,<5"name = "google-auth"version = "2.20.0"description = "Google Authentication Library"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -2958,7 +2897,6 @@ requests = ["requests (>=2.20.0,<3.0.0.dev0)"]name = "google-auth-httplib2"version = "0.1.0"description = "Google Authentication Library: httplib2 transport"-category = "main"optional = truepython-versions = "*"files = [@@ -2975,7 +2913,6 @@ six = "*"name = "google-auth-oauthlib"version = "0.4.6"description = "Google Authentication Library"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -2994,7 +2931,6 @@ tool = ["click (>=6.0.0)"]name = "google-pasta"version = "0.2.0"description = "pasta is an AST-based Python refactoring library"-category = "main"optional = truepython-versions = "*"files = [@@ -3010,7 +2946,6 @@ six = "*"name = "google-search-results"version = "2.4.2"description = "Scrape and search localized results from Google, Bing, Baidu, Yahoo, Yandex, Ebay, Homedepot, youtube at scale using SerpApi.com"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -3024,7 +2959,6 @@ requests = "*"name = "googleapis-common-protos"version = "1.59.1"description = "Common protobufs used in Google APIs"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -3042,7 +2976,6 @@ grpc = ["grpcio (>=1.44.0,<2.0.0.dev0)"]name = "gptcache"version = "0.1.32"description = "GPTCache, a powerful caching library that can be used to speed up and lower the cost of chat applications that rely on the LLM service. GPTCache works as a memcache for AIGC applications, similar to how Redis works for traditional applications."-category = "main"optional = falsepython-versions = ">=3.8.1"files = [@@ -3059,7 +2992,6 @@ requests = "*"name = "gql"version = "3.4.1"description = "GraphQL client for Python"-category = "main"optional = truepython-versions = "*"files = [@@ -3086,7 +3018,6 @@ websockets = ["websockets (>=10,<11)", "websockets (>=9,<10)"]name = "graphlib-backport"version = "1.0.3"description = "Backport of the Python 3.9 graphlib module for Python 3.6+"-category = "dev"optional = falsepython-versions = ">=3.6,<4.0"files = [@@ -3098,7 +3029,6 @@ files = [name = "graphql-core"version = "3.2.3"description = "GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL."-category = "main"optional = truepython-versions = ">=3.6,<4"files = [@@ -3110,7 +3040,6 @@ files = [name = "greenlet"version = "2.0.2"description = "Lightweight in-process concurrent programming"-category = "main"optional = falsepython-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"files = [@@ -3184,7 +3113,6 @@ test = ["objgraph", "psutil"]name = "grpcio"version = "1.47.5"description = "HTTP/2-based RPC framework"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -3246,7 +3174,6 @@ protobuf = ["grpcio-tools (>=1.47.5)"]name = "grpcio-health-checking"version = "1.47.5"description = "Standard Health Checking Service for gRPC"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -3262,7 +3189,6 @@ protobuf = ">=3.12.0"name = "grpcio-reflection"version = "1.47.5"description = "Standard Protobuf Reflection Service for gRPC"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -3278,7 +3204,6 @@ protobuf = ">=3.12.0"name = "grpcio-tools"version = "1.47.5"description = "Protobuf code generator for gRPC"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -3339,7 +3264,6 @@ setuptools = "*"name = "h11"version = "0.14.0"description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -3351,7 +3275,6 @@ files = [name = "h2"version = "4.1.0"description = "HTTP/2 State-Machine based protocol implementation"-category = "main"optional = truepython-versions = ">=3.6.1"files = [@@ -3367,7 +3290,6 @@ hyperframe = ">=6.0,<7"name = "h5py"version = "3.8.0"description = "Read and write HDF5 files from Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -3405,7 +3327,6 @@ numpy = ">=1.14.5"name = "hnswlib"version = "0.7.0"description = "hnswlib"-category = "main"optional = falsepython-versions = "*"files = [@@ -3419,7 +3340,6 @@ numpy = "*"name = "hpack"version = "4.0.0"description = "Pure-Python HPACK header compression"-category = "main"optional = truepython-versions = ">=3.6.1"files = [@@ -3431,7 +3351,6 @@ files = [name = "html2text"version = "2020.1.16"description = "Turn HTML into equivalent Markdown-structured text."-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -3443,7 +3362,6 @@ files = [name = "httpcore"version = "0.17.2"description = "A minimal low-level HTTP client."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -3455,17 +3373,16 @@ files = [anyio = ">=3.0,<5.0"certifi = "*"h11 = ">=0.13,<0.15"-sniffio = ">=1.0.0,<2.0.0"+sniffio = "==1.*"[package.extras]http2 = ["h2 (>=3,<5)"]-socks = ["socksio (>=1.0.0,<2.0.0)"]+socks = ["socksio (==1.*)"][[package]]name = "httplib2"version = "0.22.0"description = "A comprehensive HTTP client library."-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -3480,7 +3397,6 @@ pyparsing = {version = ">=2.4.2,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.0.2 || >3.0name = "httptools"version = "0.5.0"description = "A collection of framework independent HTTP protocol utils."-category = "main"optional = falsepython-versions = ">=3.5.0"files = [@@ -3534,7 +3450,6 @@ test = ["Cython (>=0.29.24,<0.30.0)"]name = "httpx"version = "0.24.1"description = "The next generation HTTP client."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -3550,19 +3465,18 @@ h2 = {version = ">=3,<5", optional = true, markers = "extra == \"http2\""}httpcore = ">=0.15.0,<0.18.0"idna = "*"sniffio = "*"-socksio = {version = ">=1.0.0,<2.0.0", optional = true, markers = "extra == \"socks\""}+socksio = {version = "==1.*", optional = true, markers = "extra == \"socks\""}[package.extras]brotli = ["brotli", "brotlicffi"]-cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<14)"]+cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"]http2 = ["h2 (>=3,<5)"]-socks = ["socksio (>=1.0.0,<2.0.0)"]+socks = ["socksio (==1.*)"][[package]]name = "huggingface-hub"version = "0.15.1"description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"-category = "main"optional = falsepython-versions = ">=3.7.0"files = [@@ -3594,7 +3508,6 @@ typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "tname = "humanfriendly"version = "10.0"description = "Human friendly output for text interfaces using Python"-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -3609,7 +3522,6 @@ pyreadline3 = {version = "*", markers = "sys_platform == \"win32\" and python_vename = "humbug"version = "0.3.1"description = "Humbug: Do you build developer tools? Humbug helps you know your users."-category = "main"optional = falsepython-versions = "*"files = [@@ -3629,7 +3541,6 @@ profile = ["GPUtil", "psutil", "types-psutil"]name = "hyperframe"version = "6.0.1"description = "HTTP/2 framing layer for Python"-category = "main"optional = truepython-versions = ">=3.6.1"files = [@@ -3641,7 +3552,6 @@ files = [name = "idna"version = "3.4"description = "Internationalized Domain Names in Applications (IDNA)"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -3653,7 +3563,6 @@ files = [name = "imagesize"version = "1.4.1"description = "Getting image size from png/jpeg/jpeg2000/gif file"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -3665,7 +3574,6 @@ files = [name = "importlib-metadata"version = "6.0.1"description = "Read metadata from Python packages"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -3685,7 +3593,6 @@ testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packagname = "importlib-resources"version = "5.12.0"description = "Read resources from Python packages"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -3704,7 +3611,6 @@ testing = ["flake8 (<5)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checname = "inflection"version = "0.5.1"description = "A port of Ruby on Rails inflector to Python"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -3716,7 +3622,6 @@ files = [name = "iniconfig"version = "2.0.0"description = "brain-dead simple config-ini parsing"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -3728,7 +3633,6 @@ files = [name = "ipykernel"version = "6.23.2"description = "IPython Kernel for Jupyter"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -3742,7 +3646,7 @@ comm = ">=0.1.1"debugpy = ">=1.6.5"ipython = ">=7.23.1"jupyter-client = ">=6.1.12"-jupyter-core = ">=4.12,<5.0.0 || >=5.1.0"+jupyter-core = ">=4.12,<5.0.dev0 || >=5.1.dev0"matplotlib-inline = ">=0.1"nest-asyncio = "*"packaging = "*"@@ -3762,7 +3666,6 @@ test = ["flaky", "ipyparallel", "pre-commit", "pytest (>=7.0)", "pytest-asyncio"name = "ipython"version = "8.12.2"description = "IPython: Productive Interactive Computing"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -3802,7 +3705,6 @@ test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.21)", "paname = "ipython-genutils"version = "0.2.0"description = "Vestigial utilities from IPython"-category = "dev"optional = falsepython-versions = "*"files = [@@ -3814,7 +3716,6 @@ files = [name = "ipywidgets"version = "8.0.6"description = "Jupyter interactive widgets"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -3836,7 +3737,6 @@ test = ["ipykernel", "jsonschema", "pytest (>=3.6.0)", "pytest-cov", "pytz"]name = "isodate"version = "0.6.1"description = "An ISO 8601 date/time/duration parser and formatter"-category = "main"optional = truepython-versions = "*"files = [@@ -3851,7 +3751,6 @@ six = "*"name = "isoduration"version = "20.11.0"description = "Operations with ISO 8601 durations"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -3866,7 +3765,6 @@ arrow = ">=0.15.0"name = "jaraco-context"version = "4.3.0"description = "Context managers by jaraco"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -3882,7 +3780,6 @@ testing = ["flake8 (<5)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checname = "jcloud"version = "0.2.12"description = "Simplify deploying and managing Jina projects on Jina Cloud"-category = "main"optional = truepython-versions = "*"files = [@@ -3905,7 +3802,6 @@ test = ["black (==22.3.0)", "jina (>=3.7.0)", "mock", "pytest", "pytest-asyncio"name = "jedi"version = "0.18.2"description = "An autocompletion tool for Python that can be used for text editors."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -3925,7 +3821,6 @@ testing = ["Django (<3.1)", "attrs", "colorama", "docopt", "pytest (<7.0.0)"]name = "jina"version = "3.14.1"description = "Build multimodal AI services via cloud native technologies · Neural Search · Generative AI · MLOps"-category = "main"optional = truepython-versions = "*"files = [@@ -4041,7 +3936,6 @@ websockets = ["websockets"]name = "jina-hubble-sdk"version = "0.38.0"description = "SDK for Hubble API at Jina AI."-category = "main"optional = truepython-versions = ">=3.7.0"files = [@@ -4067,7 +3961,6 @@ full = ["aiohttp", "black (==22.3.0)", "docker", "filelock", "flake8 (==4.0.1)",name = "jinja2"version = "3.1.2"description = "A very fast and expressive template engine."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4085,7 +3978,6 @@ i18n = ["Babel (>=2.7)"]name = "jmespath"version = "1.0.1"description = "JSON Matching Expressions"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4097,7 +3989,6 @@ files = [name = "joblib"version = "1.2.0"description = "Lightweight pipelining with Python functions"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4109,7 +4000,6 @@ files = [name = "jq"version = "1.4.1"description = "jq is a lightweight and flexible JSON processor."-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -4174,7 +4064,6 @@ files = [name = "jsonlines"version = "3.1.0"description = "Library with helpers for the jsonlines file format"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -4189,7 +4078,6 @@ attrs = ">=19.2.0"name = "jsonpointer"version = "2.4"description = "Identify specific nodes in a JSON document (RFC 6901)"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*"files = [@@ -4200,7 +4088,6 @@ files = [name = "jsonschema"version = "4.17.3"description = "An implementation of JSON Schema validation for Python"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4230,7 +4117,6 @@ format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-name = "jupyter"version = "1.0.0"description = "Jupyter metapackage. Install all the Jupyter components in one go."-category = "dev"optional = falsepython-versions = "*"files = [@@ -4251,7 +4137,6 @@ qtconsole = "*"name = "jupyter-cache"version = "0.6.1"description = "A defined interface for working with a cache of jupyter notebooks."-category = "dev"optional = falsepython-versions = "~=3.8"files = [@@ -4279,7 +4164,6 @@ testing = ["coverage", "ipykernel", "jupytext", "matplotlib", "nbdime", "nbformaname = "jupyter-client"version = "8.2.0"description = "Jupyter protocol implementation and client libraries"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -4289,7 +4173,7 @@ files = [[package.dependencies]importlib-metadata = {version = ">=4.8.3", markers = "python_version < \"3.10\""}-jupyter-core = ">=4.12,<5.0.0 || >=5.1.0"+jupyter-core = ">=4.12,<5.0.dev0 || >=5.1.dev0"python-dateutil = ">=2.8.2"pyzmq = ">=23.0"tornado = ">=6.2"@@ -4303,7 +4187,6 @@ test = ["coverage", "ipykernel (>=6.14)", "mypy", "paramiko", "pre-commit", "pytname = "jupyter-console"version = "6.6.3"description = "Jupyter terminal console"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4315,7 +4198,7 @@ files = [ipykernel = ">=6.14"ipython = "*"jupyter-client = ">=7.0.0"-jupyter-core = ">=4.12,<5.0.0 || >=5.1.0"+jupyter-core = ">=4.12,<5.0.dev0 || >=5.1.dev0"prompt-toolkit = ">=3.0.30"pygments = "*"pyzmq = ">=17"@@ -4328,7 +4211,6 @@ test = ["flaky", "pexpect", "pytest"]name = "jupyter-core"version = "5.3.1"description = "Jupyter core package. A base package on which Jupyter projects rely."-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -4349,7 +4231,6 @@ test = ["ipykernel", "pre-commit", "pytest", "pytest-cov", "pytest-timeout"]name = "jupyter-events"version = "0.6.3"description = "Jupyter Event System library"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4374,7 +4255,6 @@ test = ["click", "coverage", "pre-commit", "pytest (>=7.0)", "pytest-asyncio (>=name = "jupyter-server"version = "2.6.0"description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications."-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -4387,7 +4267,7 @@ anyio = ">=3.1.0"argon2-cffi = "*"jinja2 = "*"jupyter-client = ">=7.4.4"-jupyter-core = ">=4.12,<5.0.0 || >=5.1.0"+jupyter-core = ">=4.12,<5.0.dev0 || >=5.1.dev0"jupyter-events = ">=0.6.0"jupyter-server-terminals = "*"nbconvert = ">=6.4.4"@@ -4411,7 +4291,6 @@ test = ["ipykernel", "pre-commit", "pytest (>=7.0)", "pytest-console-scripts", "name = "jupyter-server-terminals"version = "0.4.4"description = "A Jupyter Server Extension Providing Terminals."-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -4431,7 +4310,6 @@ test = ["coverage", "jupyter-server (>=2.0.0)", "pytest (>=7.0)", "pytest-cov",name = "jupyterlab-pygments"version = "0.2.2"description = "Pygments theme using JupyterLab CSS variables"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4443,7 +4321,6 @@ files = [name = "jupyterlab-widgets"version = "3.0.7"description = "Jupyter interactive widgets for JupyterLab"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4455,7 +4332,6 @@ files = [name = "keras"version = "2.11.0"description = "Deep learning for humans."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -4466,7 +4342,6 @@ files = [name = "lancedb"version = "0.1.8"description = "lancedb"-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -4489,7 +4364,6 @@ tests = ["doctest", "pytest", "pytest-mock"]name = "langchainplus-sdk"version = "0.0.15"description = "Client library to connect to the LangChainPlus LLM Tracing and Evaluation Platform."-category = "main"optional = falsepython-versions = ">=3.8.1,<4.0"files = [@@ -4506,7 +4380,6 @@ tenacity = ">=8.1.0,<9.0.0"name = "langcodes"version = "3.3.0"description = "Tools for labeling human languages with IETF language tags"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -4521,7 +4394,6 @@ data = ["language-data (>=1.1,<2.0)"]name = "langkit"version = "0.0.1"description = "A collection of text metric udfs for whylogs profiling and monitoring in WhyLabs"-category = "main"optional = truepython-versions = ">=3.8,<4.0"files = [@@ -4541,7 +4413,6 @@ all = ["datasets (>=2.12.0,<3.0.0)", "nltk (>=3.8.1,<4.0.0)", "openai (>=0.27.6,name = "lark"version = "1.1.5"description = "a modern parsing library"-category = "main"optional = falsepython-versions = "*"files = [@@ -4558,7 +4429,6 @@ regex = ["regex"]name = "libclang"version = "16.0.0"description = "Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/main/clang/bindings/python, to make the installation process easier."-category = "main"optional = truepython-versions = "*"files = [@@ -4576,7 +4446,6 @@ files = [name = "linkchecker"version = "10.2.1"description = "check links in web documents or full websites"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4593,7 +4462,6 @@ requests = ">=2.20"name = "livereload"version = "2.6.3"description = "Python LiveReload is an awesome tool for web developers"-category = "dev"optional = falsepython-versions = "*"files = [@@ -4609,7 +4477,6 @@ tornado = {version = "*", markers = "python_version > \"2.7\""}name = "loguru"version = "0.7.0"description = "Python logging made (stupidly) simple"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -4628,7 +4495,6 @@ dev = ["Sphinx (==5.3.0)", "colorama (==0.4.5)", "colorama (==0.4.6)", "freezeguname = "lxml"version = "4.9.2"description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"files = [@@ -4721,7 +4587,6 @@ source = ["Cython (>=0.29.7)"]name = "lz4"version = "4.3.2"description = "LZ4 Bindings for Python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4771,7 +4636,6 @@ tests = ["psutil", "pytest (!=3.3.0)", "pytest-cov"]name = "manifest-ml"version = "0.0.1"description = "Manifest for Prompt Programming Foundation Models."-category = "main"optional = truepython-versions = ">=3.8.0"files = [@@ -4795,7 +4659,6 @@ dev = ["autopep8 (>=1.6.0)", "black (>=22.3.0)", "docformatter (>=1.4)", "flake8name = "markdown"version = "3.4.3"description = "Python implementation of John Gruber's Markdown."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -4810,7 +4673,6 @@ testing = ["coverage", "pyyaml"]name = "markdown-it-py"version = "2.2.0"description = "Python port of markdown-it. Markdown parsing, done right!"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4835,7 +4697,6 @@ testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]name = "markupsafe"version = "2.1.3"description = "Safely add untrusted strings to HTML/XML markup."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4895,7 +4756,6 @@ files = [name = "marshmallow"version = "3.19.0"description = "A lightweight library for converting complex datatypes to and from native Python datatypes."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -4916,7 +4776,6 @@ tests = ["pytest", "pytz", "simplejson"]name = "marshmallow-enum"version = "1.5.1"description = "Enum field for Marshmallow"-category = "main"optional = falsepython-versions = "*"files = [@@ -4931,7 +4790,6 @@ marshmallow = ">=2.0.0"name = "mastodon-py"version = "1.8.1"description = "Python wrapper for the Mastodon API"-category = "dev"optional = falsepython-versions = "*"files = [@@ -4957,7 +4815,6 @@ webpush = ["cryptography (>=1.6.0)", "http-ece (>=1.0.5)"]name = "matplotlib-inline"version = "0.1.6"description = "Inline Matplotlib backend for Jupyter"-category = "dev"optional = falsepython-versions = ">=3.5"files = [@@ -4972,7 +4829,6 @@ traitlets = "*"name = "mdit-py-plugins"version = "0.3.5"description = "Collection of plugins for markdown-it-py"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -4992,7 +4848,6 @@ testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]name = "mdurl"version = "0.1.2"description = "Markdown URL utilities"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -5004,7 +4859,6 @@ files = [name = "mistune"version = "2.0.5"description = "A sane Markdown parser with useful plugins and renderers"-category = "dev"optional = falsepython-versions = "*"files = [@@ -5016,7 +4870,6 @@ files = [name = "mmh3"version = "3.1.0"description = "Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions."-category = "main"optional = falsepython-versions = "*"files = [@@ -5061,7 +4914,6 @@ files = [name = "momento"version = "1.6.0"description = "SDK for Momento"-category = "main"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -5078,7 +4930,6 @@ pyjwt = ">=2.4.0,<3.0.0"name = "momento-wire-types"version = "0.64.1"description = "Momento Client Proto Generated Files"-category = "main"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -5094,7 +4945,6 @@ protobuf = ">=3,<5"name = "monotonic"version = "1.6"description = "An implementation of time.monotonic() for Python 2 & < 3.3"-category = "dev"optional = falsepython-versions = "*"files = [@@ -5106,7 +4956,6 @@ files = [name = "more-itertools"version = "9.1.0"description = "More routines for operating on iterables, beyond itertools"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -5118,7 +4967,6 @@ files = [name = "mpmath"version = "1.3.0"description = "Python library for arbitrary-precision floating-point arithmetic"-category = "main"optional = falsepython-versions = "*"files = [@@ -5136,7 +4984,6 @@ tests = ["pytest (>=4.6)"]name = "msal"version = "1.22.0"description = "The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect."-category = "main"optional = truepython-versions = "*"files = [@@ -5156,7 +5003,6 @@ broker = ["pymsalruntime (>=0.13.2,<0.14)"]name = "msal-extensions"version = "1.0.0"description = "Microsoft Authentication Library extensions (MSAL EX) provides a persistence API that can save your data on disk, encrypted on Windows, macOS and Linux. Concurrent data access will be coordinated by a file lock mechanism."-category = "main"optional = truepython-versions = "*"files = [@@ -5175,7 +5021,6 @@ portalocker = [name = "msgpack"version = "1.0.5"description = "MessagePack serializer"-category = "main"optional = truepython-versions = "*"files = [@@ -5248,7 +5093,6 @@ files = [name = "msrest"version = "0.7.1"description = "AutoRest swagger generator Python client runtime."-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -5270,7 +5114,6 @@ async = ["aiodns", "aiohttp (>=3.0)"]name = "multidict"version = "6.0.4"description = "multidict implementation"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -5354,7 +5197,6 @@ files = [name = "multiprocess"version = "0.70.14"description = "better multiprocessing and multithreading in python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -5381,7 +5223,6 @@ dill = ">=0.3.6"name = "murmurhash"version = "1.0.9"description = "Cython bindings for MurmurHash"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -5419,7 +5260,6 @@ files = [name = "mypy"version = "0.991"description = "Optional static typing for Python"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5470,7 +5310,6 @@ reports = ["lxml"]name = "mypy-extensions"version = "1.0.0"description = "Type system extensions for programs checked with the mypy type checker."-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -5482,7 +5321,6 @@ files = [name = "mypy-protobuf"version = "3.3.0"description = "Generate mypy stub files from protobuf specs"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5498,7 +5336,6 @@ types-protobuf = ">=3.19.12"name = "myst-nb"version = "0.17.2"description = "A Jupyter Notebook Sphinx reader built on top of the MyST markdown parser."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5527,7 +5364,6 @@ testing = ["beautifulsoup4", "coverage (>=6.4,<8.0)", "ipykernel (>=5.5,<6.0)",name = "myst-parser"version = "0.18.1"description = "An extended commonmark compliant parser, with bridges to docutils & sphinx."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5554,7 +5390,6 @@ testing = ["beautifulsoup4", "coverage[toml]", "pytest (>=6,<7)", "pytest-cov",name = "nbclassic"version = "1.0.0"description = "Jupyter Notebook as a Jupyter Server extension."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5590,7 +5425,6 @@ test = ["coverage", "nbval", "pytest", "pytest-cov", "pytest-jupyter", "pytest-pname = "nbclient"version = "0.7.4"description = "A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor."-category = "dev"optional = falsepython-versions = ">=3.7.0"files = [@@ -5600,7 +5434,7 @@ files = [[package.dependencies]jupyter-client = ">=6.1.12"-jupyter-core = ">=4.12,<5.0.0 || >=5.1.0"+jupyter-core = ">=4.12,<5.0.dev0 || >=5.1.dev0"nbformat = ">=5.1"traitlets = ">=5.3"@@ -5613,7 +5447,6 @@ test = ["flaky", "ipykernel", "ipython", "ipywidgets", "nbconvert (>=7.0.0)", "pname = "nbconvert"version = "7.5.0"description = "Converting Jupyter Notebooks"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5652,7 +5485,6 @@ webpdf = ["pyppeteer (>=1,<1.1)"]name = "nbformat"version = "5.9.0"description = "The Jupyter Notebook format"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -5674,7 +5506,6 @@ test = ["pep440", "pre-commit", "pytest", "testpath"]name = "nbsphinx"version = "0.8.12"description = "Jupyter Notebook Tools for Sphinx"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -5694,7 +5525,6 @@ traitlets = ">=5"name = "nebula3-python"version = "3.4.0"description = "Python client for NebulaGraph V3.4"-category = "main"optional = truepython-versions = "*"files = [@@ -5712,7 +5542,6 @@ six = ">=1.16.0"name = "neo4j"version = "5.9.0"description = "Neo4j Bolt driver for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -5730,7 +5559,6 @@ pandas = ["numpy (>=1.7.0,<2.0.0)", "pandas (>=1.1.0,<3.0.0)"]name = "nest-asyncio"version = "1.5.6"description = "Patch asyncio to allow nested event loops"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -5742,7 +5570,6 @@ files = [name = "networkx"version = "2.8.8"description = "Python package for creating and manipulating graphs and networks"-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -5761,7 +5588,6 @@ test = ["codecov (>=2.1)", "pytest (>=7.2)", "pytest-cov (>=4.0)"]name = "nlpcloud"version = "1.0.42"description = "Python client for the NLP Cloud API"-category = "main"optional = truepython-versions = "*"files = [@@ -5776,7 +5602,6 @@ requests = "*"name = "nltk"version = "3.8.1"description = "Natural Language Toolkit"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -5802,7 +5627,6 @@ twitter = ["twython"]name = "nomic"version = "1.1.14"description = "The offical Nomic python client."-category = "main"optional = truepython-versions = "*"files = [@@ -5830,7 +5654,6 @@ gpt4all = ["peft (==0.3.0.dev0)", "sentencepiece", "torch", "transformers (==4.2name = "notebook"version = "6.5.4"description = "A web-based notebook environment for interactive computing"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5865,7 +5688,6 @@ test = ["coverage", "nbval", "pytest", "pytest-cov", "requests", "requests-unixsname = "notebook-shim"version = "0.2.3"description = "A shim layer for notebook traits and config"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -5883,7 +5705,6 @@ test = ["pytest", "pytest-console-scripts", "pytest-jupyter", "pytest-tornasync"name = "numcodecs"version = "0.11.0"description = "A Python package providing buffer compression and transformation codecs for use"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -5916,7 +5737,6 @@ zfpy = ["zfpy (>=1.0.0)"]name = "numexpr"version = "2.8.4"description = "Fast numerical expression evaluator for NumPy"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -5959,7 +5779,6 @@ numpy = ">=1.13.3"name = "numpy"version = "1.24.3"description = "Fundamental package for array computing in Python"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -5997,7 +5816,6 @@ files = [name = "nvidia-cublas-cu11"version = "11.10.3.66"description = "CUBLAS native runtime libraries"-category = "main"optional = falsepython-versions = ">=3"files = [@@ -6013,7 +5831,6 @@ wheel = "*"name = "nvidia-cuda-nvrtc-cu11"version = "11.7.99"description = "NVRTC native runtime libraries"-category = "main"optional = falsepython-versions = ">=3"files = [@@ -6030,7 +5847,6 @@ wheel = "*"name = "nvidia-cuda-runtime-cu11"version = "11.7.99"description = "CUDA Runtime native Libraries"-category = "main"optional = falsepython-versions = ">=3"files = [@@ -6046,7 +5862,6 @@ wheel = "*"name = "nvidia-cudnn-cu11"version = "8.5.0.96"description = "cuDNN runtime libraries"-category = "main"optional = falsepython-versions = ">=3"files = [@@ -6062,7 +5877,6 @@ wheel = "*"name = "o365"version = "2.0.27"description = "Microsoft Graph and Office 365 API made easy"-category = "main"optional = truepython-versions = ">=3.4"files = [@@ -6083,7 +5897,6 @@ tzlocal = ">=4.0,<5.0"name = "oauthlib"version = "3.2.2"description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -6100,7 +5913,6 @@ signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"]name = "onnxruntime"version = "1.15.1"description = "ONNX Runtime is a runtime accelerator for Machine Learning models"-category = "dev"optional = falsepython-versions = "*"files = [@@ -6142,7 +5954,6 @@ sympy = "*"name = "openai"version = "0.27.8"description = "Python client library for the OpenAI API"-category = "main"optional = falsepython-versions = ">=3.7.1"files = [@@ -6157,7 +5968,7 @@ tqdm = "*"[package.extras]datalib = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]-dev = ["black (>=21.6b0,<22.0)", "pytest (>=6.0.0,<7.0.0)", "pytest-asyncio", "pytest-mock"]+dev = ["black (>=21.6b0,<22.0)", "pytest (==6.*)", "pytest-asyncio", "pytest-mock"]embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]@@ -6165,7 +5976,6 @@ wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1name = "openapi-schema-pydantic"version = "1.2.4"description = "OpenAPI (v3) specification schema as pydantic class"-category = "main"optional = falsepython-versions = ">=3.6.1"files = [@@ -6180,7 +5990,6 @@ pydantic = ">=1.8.2"name = "openllm"version = "0.1.10"description = "OpenLLM: REST/gRPC API server for running any open Large-Language Model - StableLM, Llama, Alpaca, Dolly, Flan-T5, Custom"-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -6214,7 +6023,6 @@ starcoder = ["bitsandbytes"]name = "openlm"version = "0.0.5"description = "Drop-in OpenAI-compatible that can call LLMs from other providers"-category = "main"optional = truepython-versions = ">=3.8.1,<4.0"files = [@@ -6229,7 +6037,6 @@ requests = ">=2,<3"name = "opensearch-py"version = "2.2.0"description = "Python client for OpenSearch"-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"files = [@@ -6254,7 +6061,6 @@ kerberos = ["requests-kerberos"]name = "opentelemetry-api"version = "1.17.0"description = "OpenTelemetry Python API"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6271,7 +6077,6 @@ setuptools = ">=16.0"name = "opentelemetry-exporter-otlp"version = "1.17.0"description = "OpenTelemetry Collector Exporters"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6287,7 +6092,6 @@ opentelemetry-exporter-otlp-proto-http = "1.17.0"name = "opentelemetry-exporter-otlp-proto-grpc"version = "1.17.0"description = "OpenTelemetry Collector Protobuf over gRPC Exporter"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6310,7 +6114,6 @@ test = ["pytest-grpc"]name = "opentelemetry-exporter-otlp-proto-http"version = "1.17.0"description = "OpenTelemetry Collector Protobuf over HTTP Exporter"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6333,7 +6136,6 @@ test = ["responses (==0.22.0)"]name = "opentelemetry-exporter-prometheus"version = "1.12.0rc1"description = "Prometheus Metric Exporter for OpenTelemetry"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -6350,7 +6152,6 @@ prometheus-client = ">=0.5.0,<1.0.0"name = "opentelemetry-instrumentation"version = "0.38b0"description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6367,7 +6168,6 @@ wrapt = ">=1.0.0,<2.0.0"name = "opentelemetry-instrumentation-aiohttp-client"version = "0.38b0"description = "OpenTelemetry aiohttp client instrumentation"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6390,7 +6190,6 @@ test = ["opentelemetry-instrumentation-aiohttp-client[instruments]"]name = "opentelemetry-instrumentation-asgi"version = "0.38b0"description = "ASGI instrumentation for OpenTelemetry"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6413,7 +6212,6 @@ test = ["opentelemetry-instrumentation-asgi[instruments]", "opentelemetry-test-uname = "opentelemetry-instrumentation-fastapi"version = "0.38b0"description = "OpenTelemetry FastAPI Instrumentation"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6436,7 +6234,6 @@ test = ["httpx (>=0.22,<1.0)", "opentelemetry-instrumentation-fastapi[instrumentname = "opentelemetry-instrumentation-grpc"version = "0.38b0"description = "OpenTelemetry gRPC instrumentation"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6459,7 +6256,6 @@ test = ["opentelemetry-instrumentation-grpc[instruments]", "opentelemetry-sdk (>name = "opentelemetry-proto"version = "1.17.0"description = "OpenTelemetry Python Proto"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6474,7 +6270,6 @@ protobuf = ">=3.19,<5.0"name = "opentelemetry-sdk"version = "1.17.0"description = "OpenTelemetry Python SDK"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6492,7 +6287,6 @@ typing-extensions = ">=3.7.4"name = "opentelemetry-semantic-conventions"version = "0.38b0"description = "OpenTelemetry Semantic Conventions"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6504,7 +6298,6 @@ files = [name = "opentelemetry-util-http"version = "0.38b0"description = "Web util for OpenTelemetry"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6516,7 +6309,6 @@ files = [name = "opt-einsum"version = "3.3.0"description = "Optimizing numpys einsum function"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -6535,7 +6327,6 @@ tests = ["pytest", "pytest-cov", "pytest-pep8"]name = "optimum"version = "1.8.8"description = "Optimum Library is an extension of the Hugging Face Transformers library, providing a framework to integrate third-party libraries from Hardware Partners and interface with their specific functionality."-category = "main"optional = truepython-versions = ">=3.7.0"files = [@@ -6576,7 +6367,6 @@ tests = ["Pillow", "diffusers (>=0.17.0)", "parameterized", "pytest", "pytest-xdname = "orjson"version = "3.9.1"description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -6632,7 +6422,6 @@ files = [name = "overrides"version = "7.3.1"description = "A decorator to automatically detect mismatch when overriding a method."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -6644,7 +6433,6 @@ files = [name = "packaging"version = "23.1"description = "Core utilities for Python packages"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -6656,7 +6444,6 @@ files = [name = "pandas"version = "2.0.2"description = "Powerful data structures for data analysis, time series, and statistics"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -6724,7 +6511,6 @@ xml = ["lxml (>=4.6.3)"]name = "pandocfilters"version = "1.5.0"description = "Utilities for writing pandoc filters in python"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -6736,7 +6522,6 @@ files = [name = "parso"version = "0.8.3"description = "A Python Parser"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -6752,7 +6537,6 @@ testing = ["docopt", "pytest (<6.0.0)"]name = "pathos"version = "0.3.0"description = "parallel graph management and execution in heterogeneous computing"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -6770,7 +6554,6 @@ ppft = ">=1.7.6.6"name = "pathspec"version = "0.11.1"description = "Utility library for gitignore style pattern matching of file paths."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -6782,7 +6565,6 @@ files = [name = "pathy"version = "0.10.1"description = "pathlib.Path subclasses for local and cloud bucket storage"-category = "main"optional = truepython-versions = ">= 3.6"files = [@@ -6805,7 +6587,6 @@ test = ["mock", "pytest", "pytest-coverage", "typer-cli"]name = "pdfminer-six"version = "20221105"description = "PDF parser and analyzer"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -6826,7 +6607,6 @@ image = ["Pillow"]name = "pexpect"version = "4.8.0"description = "Pexpect allows easy control of interactive console applications."-category = "main"optional = falsepython-versions = "*"files = [@@ -6841,7 +6621,6 @@ ptyprocess = ">=0.5"name = "pgvector"version = "0.1.8"description = "pgvector support for Python"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -6855,7 +6634,6 @@ numpy = "*"name = "pickleshare"version = "0.7.5"description = "Tiny 'shelve'-like database with concurrency support"-category = "dev"optional = falsepython-versions = "*"files = [@@ -6867,7 +6645,6 @@ files = [name = "pillow"version = "9.5.0"description = "Python Imaging Library (Fork)"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -6947,7 +6724,6 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "paname = "pinecone-client"version = "2.2.2"description = "Pinecone client and SDK"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -6973,7 +6749,6 @@ grpc = ["googleapis-common-protos (>=1.53.0)", "grpc-gateway-protoc-gen-openapivname = "pinecone-text"version = "0.4.2"description = "Text utilities library by Pinecone.io"-category = "main"optional = falsepython-versions = ">=3.8,<4.0"files = [@@ -6993,7 +6768,6 @@ wget = ">=3.2,<4.0"name = "pip"version = "23.1.2"description = "The PyPA recommended tool for installing Python packages."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -7005,7 +6779,6 @@ files = [name = "pip-requirements-parser"version = "32.0.1"description = "pip requirements parser - a mostly correct pip requirements parsing library because it uses pip's own code."-category = "main"optional = truepython-versions = ">=3.6.0"files = [@@ -7025,7 +6798,6 @@ testing = ["aboutcode-toolkit (>=6.0.0)", "black", "pytest (>=6,!=7.0.0)", "pytename = "pip-tools"version = "6.13.0"description = "pip-tools keeps your pinned dependencies fresh."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -7048,7 +6820,6 @@ testing = ["flit-core (>=2,<4)", "poetry-core (>=1.0.0)", "pytest (>=7.2.0)", "pname = "pkgutil-resolve-name"version = "1.3.10"description = "Resolve a name to an object."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -7060,7 +6831,6 @@ files = [name = "platformdirs"version = "3.6.0"description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7076,7 +6846,6 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-name = "playwright"version = "1.35.0"description = "A high-level API to automate web browsers"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -7098,7 +6867,6 @@ typing-extensions = {version = "*", markers = "python_version <= \"3.8\""}name = "pluggy"version = "1.0.0"description = "plugin and hook calling mechanisms for python"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -7114,7 +6882,6 @@ testing = ["pytest", "pytest-benchmark"]name = "portalocker"version = "2.7.0"description = "Wraps the portalocker recipe for easy usage"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -7134,7 +6901,6 @@ tests = ["pytest (>=5.4.1)", "pytest-cov (>=2.8.1)", "pytest-mypy (>=0.8.0)", "pname = "posthog"version = "3.0.1"description = "Integrate PostHog into any python application."-category = "dev"optional = falsepython-versions = "*"files = [@@ -7158,7 +6924,6 @@ test = ["coverage", "flake8", "freezegun (==0.3.15)", "mock (>=2.0.0)", "pylint"name = "pox"version = "0.3.2"description = "utilities for filesystem exploration and automated builds"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7170,7 +6935,6 @@ files = [name = "ppft"version = "1.7.6.6"description = "distributed and parallel python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7185,7 +6949,6 @@ dill = ["dill (>=0.3.6)"]name = "preshed"version = "3.0.8"description = "Cython hash table that trusts the keys are pre-hashed"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -7227,7 +6990,6 @@ murmurhash = ">=0.28.0,<1.1.0"name = "prometheus-client"version = "0.17.0"description = "Python client for the Prometheus monitoring system."-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -7242,7 +7004,6 @@ twisted = ["twisted"]name = "prompt-toolkit"version = "3.0.38"description = "Library for building powerful interactive command lines in Python"-category = "dev"optional = falsepython-versions = ">=3.7.0"files = [@@ -7257,7 +7018,6 @@ wcwidth = "*"name = "promptlayer"version = "0.1.89"description = "PromptLayer is a package to keep track of your GPT models training"-category = "dev"optional = falsepython-versions = "*"files = [@@ -7272,7 +7032,6 @@ requests = "*"name = "protobuf"version = "3.19.6"description = "Protocol Buffers"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -7307,7 +7066,6 @@ files = [name = "psutil"version = "5.9.5"description = "Cross-platform lib for process and system monitoring in Python."-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -7334,7 +7092,6 @@ test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"]name = "psychicapi"version = "0.5"description = "Psychic.dev is an open-source universal data connector for knowledgebases."-category = "main"optional = truepython-versions = "*"files = [@@ -7349,7 +7106,6 @@ requests = "*"name = "psycopg2-binary"version = "2.9.6"description = "psycopg2 - Python-PostgreSQL Database Adapter"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -7421,7 +7177,6 @@ files = [name = "ptyprocess"version = "0.7.0"description = "Run a subprocess in a pseudo terminal"-category = "main"optional = falsepython-versions = "*"files = [@@ -7433,7 +7188,6 @@ files = [name = "pulsar-client"version = "3.2.0"description = "Apache Pulsar Python client library"-category = "dev"optional = falsepython-versions = "*"files = [@@ -7481,7 +7235,6 @@ functions = ["apache-bookkeeper-client (>=4.16.1)", "grpcio (>=1.8.2)", "promethname = "pure-eval"version = "0.2.2"description = "Safely evaluate AST nodes without side effects"-category = "dev"optional = falsepython-versions = "*"files = [@@ -7496,7 +7249,6 @@ tests = ["pytest"]name = "py"version = "1.11.0"description = "library with cross-python path, ini-parsing, io, code, log facilities"-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -7508,7 +7260,6 @@ files = [name = "py-trello"version = "0.19.0"description = "Python wrapper around the Trello API"-category = "main"optional = truepython-versions = "*"files = [@@ -7525,7 +7276,6 @@ requests-oauthlib = ">=0.4.1"name = "py4j"version = "0.10.9.7"description = "Enables Python programs to dynamically access arbitrary Java objects"-category = "main"optional = truepython-versions = "*"files = [@@ -7537,7 +7287,6 @@ files = [name = "pyaes"version = "1.6.1"description = "Pure-Python Implementation of the AES block-cipher and common modes of operation"-category = "main"optional = truepython-versions = "*"files = [@@ -7548,7 +7297,6 @@ files = [name = "pyarrow"version = "12.0.1"description = "Python library for Apache Arrow"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -7586,7 +7334,6 @@ numpy = ">=1.16.6"name = "pyasn1"version = "0.5.0"description = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)"-category = "main"optional = truepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"files = [@@ -7598,7 +7345,6 @@ files = [name = "pyasn1-modules"version = "0.3.0"description = "A collection of ASN.1-based protocols modules"-category = "main"optional = truepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"files = [@@ -7613,7 +7359,6 @@ pyasn1 = ">=0.4.6,<0.6.0"name = "pycares"version = "4.3.0"description = "Python interface for c-ares"-category = "main"optional = truepython-versions = "*"files = [@@ -7681,7 +7426,6 @@ idna = ["idna (>=2.1)"]name = "pycparser"version = "2.21"description = "C parser in Python"-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -7693,7 +7437,6 @@ files = [name = "pydantic"version = "1.10.9"description = "Data validation and settings management using python type hints"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7746,7 +7489,6 @@ email = ["email-validator (>=1.0.3)"]name = "pydata-sphinx-theme"version = "0.8.1"description = "Bootstrap-based Sphinx theme from the PyData community"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -7766,11 +7508,29 @@ dev = ["nox", "pre-commit", "pydata-sphinx-theme[coverage]", "pyyaml"]doc = ["jupyter_sphinx", "myst-parser", "numpy", "numpydoc", "pandas", "plotly", "pytest", "pytest-regressions", "sphinx-sitemap", "sphinxext-rediraffe", "xarray"]test = ["pydata-sphinx-theme[doc]", "pytest"]+[[package]]+name = "pydeck"+version = "0.8.0"+description = "Widget for deck.gl maps"+optional = true+python-versions = ">=3.7"+files = [+ {file = "pydeck-0.8.0-py2.py3-none-any.whl", hash = "sha256:a8fa7757c6f24bba033af39db3147cb020eef44012ba7e60d954de187f9ed4d5"},+ {file = "pydeck-0.8.0.tar.gz", hash = "sha256:07edde833f7cfcef6749124351195aa7dcd24663d4909fd7898dbd0b6fbc01ec"},+]++[package.dependencies]+jinja2 = ">=2.10.1"+numpy = ">=1.16.4"++[package.extras]+carto = ["pydeck-carto"]+jupyter = ["ipykernel (>=5.1.2)", "ipython (>=5.8.0)", "ipywidgets (>=7,<8)", "traitlets (>=4.3.2)"]+[[package]]name = "pyee"version = "9.0.4"description = "A port of node.js's EventEmitter to python."-category = "dev"optional = falsepython-versions = "*"files = [@@ -7785,7 +7545,6 @@ typing-extensions = "*"name = "pygments"version = "2.15.1"description = "Pygments is a syntax highlighting package written in Python."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7800,7 +7559,6 @@ plugins = ["importlib-metadata"]name = "pyjwt"version = "2.7.0"description = "JSON Web Token implementation in Python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7821,7 +7579,6 @@ tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"]name = "pylance"version = "0.4.21"description = "python wrapper for lance-rs"-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -7843,7 +7600,6 @@ tests = ["duckdb", "polars[pandas,pyarrow]", "pytest"]name = "pymongo"version = "4.3.3"description = "Python driver for MongoDB <http://www.mongodb.org>"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -7934,11 +7690,21 @@ ocsp = ["certifi", "pyopenssl (>=17.2.0)", "requests (<3.0.0)", "service-identitsnappy = ["python-snappy"]zstd = ["zstandard"]+[[package]]+name = "pympler"+version = "1.0.1"+description = "A development tool to measure, monitor and analyze the memory behavior of Python objects."+optional = true+python-versions = ">=3.6"+files = [+ {file = "Pympler-1.0.1-py3-none-any.whl", hash = "sha256:d260dda9ae781e1eab6ea15bacb84015849833ba5555f141d2d9b7b7473b307d"},+ {file = "Pympler-1.0.1.tar.gz", hash = "sha256:993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa"},+]+[[package]]name = "pymupdf"version = "1.22.3"description = "Python bindings for the PDF toolkit and renderer MuPDF"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -7978,7 +7744,6 @@ files = [name = "pynvml"version = "11.5.0"description = "Python Bindings for the NVIDIA Management Library"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -7990,7 +7755,6 @@ files = [name = "pyowm"version = "3.3.0"description = "A Python wrapper around OpenWeatherMap web APIs"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8010,7 +7774,6 @@ requests = [name = "pyparsing"version = "3.0.9"description = "pyparsing module - Classes and methods to define and execute parsing grammars"-category = "main"optional = truepython-versions = ">=3.6.8"files = [@@ -8025,7 +7788,6 @@ diagrams = ["jinja2", "railroad-diagrams"]name = "pypdf"version = "3.9.1"description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -8047,7 +7809,6 @@ image = ["Pillow"]name = "pypdfium2"version = "4.15.0"description = "Python bindings to PDFium"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -8069,7 +7830,6 @@ files = [name = "pyphen"version = "0.14.0"description = "Pure Python module to hyphenate text"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8085,7 +7845,6 @@ test = ["flake8", "isort", "pytest"]name = "pyproject-hooks"version = "1.0.0"description = "Wrappers to call pyproject.toml-based build backend hooks."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8100,7 +7859,6 @@ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}name = "pyreadline3"version = "3.4.1"description = "A python implementation of GNU readline."-category = "main"optional = falsepython-versions = "*"files = [@@ -8112,7 +7870,6 @@ files = [name = "pyrsistent"version = "0.19.3"description = "Persistent/Functional/Immutable data structures"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8149,7 +7906,6 @@ files = [name = "pysocks"version = "1.7.1"description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information."-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -8162,7 +7918,6 @@ files = [name = "pyspark"version = "3.4.0"description = "Apache Spark Python API"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8183,7 +7938,6 @@ sql = ["numpy (>=1.15)", "pandas (>=1.0.5)", "pyarrow (>=1.0.0)"]name = "pytesseract"version = "0.3.10"description = "Python-tesseract is a python wrapper for Google's Tesseract-OCR"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8199,7 +7953,6 @@ Pillow = ">=8.0.0"name = "pytest"version = "7.3.2"description = "pytest: simple powerful testing with Python"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8222,7 +7975,6 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "noname = "pytest-asyncio"version = "0.20.3"description = "Pytest support for asyncio"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8241,7 +7993,6 @@ testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypyname = "pytest-cov"version = "4.1.0"description = "Pytest plugin for measuring coverage."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8260,7 +8011,6 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualename = "pytest-dotenv"version = "0.5.2"description = "A py.test plugin that parses environment files before running tests"-category = "dev"optional = falsepython-versions = "*"files = [@@ -8276,7 +8026,6 @@ python-dotenv = ">=0.9.1"name = "pytest-mock"version = "3.11.1"description = "Thin-wrapper around the mock package for easier use with pytest"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8294,7 +8043,6 @@ dev = ["pre-commit", "pytest-asyncio", "tox"]name = "pytest-socket"version = "0.6.0"description = "Pytest Plugin to disable socket calls during tests"-category = "dev"optional = falsepython-versions = ">=3.7,<4.0"files = [@@ -8309,7 +8057,6 @@ pytest = ">=3.6.3"name = "pytest-vcr"version = "1.0.2"description = "Plugin for managing VCR.py cassettes"-category = "dev"optional = falsepython-versions = "*"files = [@@ -8325,7 +8072,6 @@ vcrpy = "*"name = "pytest-watcher"version = "0.2.6"description = "Continiously runs pytest on changes in *.py files"-category = "dev"optional = falsepython-versions = ">=3.7.0,<4.0.0"files = [@@ -8340,7 +8086,6 @@ watchdog = ">=2.0.0"name = "python-dateutil"version = "2.8.2"description = "Extensions to the standard Python datetime module"-category = "main"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"files = [@@ -8355,7 +8100,6 @@ six = ">=1.5"name = "python-dotenv"version = "1.0.0"description = "Read key-value pairs from a .env file and set them as environment variables"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -8370,7 +8114,6 @@ cli = ["click (>=5.0)"]name = "python-jose"version = "3.3.0"description = "JOSE implementation in Python"-category = "main"optional = truepython-versions = "*"files = [@@ -8392,7 +8135,6 @@ pycryptodome = ["pyasn1", "pycryptodome (>=3.3.1,<4.0.0)"]name = "python-json-logger"version = "2.0.7"description = "A python library adding a json log formatter"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -8404,7 +8146,6 @@ files = [name = "python-magic"version = "0.4.27"description = "File type identification using libmagic"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -8416,7 +8157,6 @@ files = [name = "python-magic-bin"version = "0.4.14"description = "File type identification using libmagic binary package"-category = "dev"optional = falsepython-versions = "*"files = [@@ -8429,7 +8169,6 @@ files = [name = "python-multipart"version = "0.0.6"description = "A streaming multipart parser for Python"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -8444,7 +8183,6 @@ dev = ["atomicwrites (==1.2.1)", "attrs (==19.2.0)", "coverage (==6.5.0)", "hatcname = "pytz"version = "2023.3"description = "World timezone definitions, modern and historical"-category = "main"optional = falsepython-versions = "*"files = [@@ -8456,7 +8194,6 @@ files = [name = "pytz-deprecation-shim"version = "0.1.0.post0"description = "Shims to make deprecation of pytz easier"-category = "main"optional = truepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"files = [@@ -8472,7 +8209,6 @@ tzdata = {version = "*", markers = "python_version >= \"3.6\""}name = "pyvespa"version = "0.33.0"description = "Python API for vespa.ai"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -8497,7 +8233,6 @@ ml = ["keras-tuner", "tensorflow", "tensorflow-ranking", "torch (<1.13)", "transname = "pywin32"version = "306"description = "Python for Window Extensions"-category = "main"optional = falsepython-versions = "*"files = [@@ -8521,7 +8256,6 @@ files = [name = "pywinpty"version = "2.0.10"description = "Pseudo terminal support for Windows from Python."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8537,7 +8271,6 @@ files = [name = "pyyaml"version = "6.0"description = "YAML parser and emitter for Python"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -8587,7 +8320,6 @@ files = [name = "pyzmq"version = "25.1.0"description = "Python bindings for 0MQ"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -8677,7 +8409,6 @@ cffi = {version = "*", markers = "implementation_name == \"pypy\""}name = "qdrant-client"version = "1.1.7"description = "Client library for the Qdrant vector search engine"-category = "main"optional = truepython-versions = ">=3.7,<3.12"files = [@@ -8699,7 +8430,6 @@ urllib3 = ">=1.26.14,<2.0.0"name = "qtconsole"version = "5.4.3"description = "Jupyter Qt console"-category = "dev"optional = falsepython-versions = ">= 3.7"files = [@@ -8726,7 +8456,6 @@ test = ["flaky", "pytest", "pytest-qt"]name = "qtpy"version = "2.3.1"description = "Provides an abstraction layer on top of the various Qt bindings (PyQt5/6 and PySide2/6)."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8744,7 +8473,6 @@ test = ["pytest (>=6,!=7.0.0,!=7.0.1)", "pytest-cov (>=3.0.0)", "pytest-qt"]name = "ratelimiter"version = "1.2.0.post0"description = "Simple python rate limiting object"-category = "main"optional = truepython-versions = "*"files = [@@ -8759,7 +8487,6 @@ test = ["pytest (>=3.0)", "pytest-asyncio"]name = "redis"version = "4.5.5"description = "Python client for Redis database and key-value store"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -8778,7 +8505,6 @@ ocsp = ["cryptography (>=36.0.1)", "pyopenssl (==20.0.1)", "requests (>=2.26.0)"name = "regex"version = "2023.6.3"description = "Alternative regular expression module, to replace re."-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -8876,7 +8602,6 @@ files = [name = "requests"version = "2.28.2"description = "Python HTTP for Humans."-category = "main"optional = falsepython-versions = ">=3.7, <4"files = [@@ -8899,7 +8624,6 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]name = "requests-oauthlib"version = "1.3.1"description = "OAuthlib authentication support for Requests."-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -8918,7 +8642,6 @@ rsa = ["oauthlib[signedtoken] (>=3.0.0)"]name = "requests-toolbelt"version = "1.0.0"description = "A utility belt for advanced users of python-requests"-category = "main"optional = truepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"files = [@@ -8933,7 +8656,6 @@ requests = ">=2.0.1,<3.0.0"name = "responses"version = "0.22.0"description = "A utility library for mocking out the `requests` Python library."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -8954,7 +8676,6 @@ tests = ["coverage (>=6.0.0)", "flake8", "mypy", "pytest (>=7.0.0)", "pytest-asyname = "retry"version = "0.9.2"description = "Easy to use retry decorator."-category = "main"optional = truepython-versions = "*"files = [@@ -8970,7 +8691,6 @@ py = ">=1.4.26,<2.0.0"name = "rfc3339-validator"version = "0.1.4"description = "A pure python RFC3339 validator"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -8985,7 +8705,6 @@ six = "*"name = "rfc3986-validator"version = "0.1.1"description = "Pure python rfc3986 validator"-category = "dev"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"files = [@@ -8997,7 +8716,6 @@ files = [name = "rich"version = "13.4.2"description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"-category = "main"optional = truepython-versions = ">=3.7.0"files = [@@ -9017,7 +8735,6 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"]name = "rsa"version = "4.9"description = "Pure-Python RSA implementation"-category = "main"optional = truepython-versions = ">=3.6,<4"files = [@@ -9032,7 +8749,6 @@ pyasn1 = ">=0.1.3"name = "ruff"version = "0.0.249"description = "An extremely fast Python linter, written in Rust."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -9059,7 +8775,6 @@ files = [name = "s3transfer"version = "0.6.1"description = "An Amazon S3 Transfer Manager"-category = "main"optional = falsepython-versions = ">= 3.7"files = [@@ -9077,7 +8792,6 @@ crt = ["botocore[crt] (>=1.20.29,<2.0a.0)"]name = "safetensors"version = "0.3.1"description = "Fast and Safe Tensor serialization"-category = "main"optional = falsepython-versions = "*"files = [@@ -9138,7 +8852,6 @@ torch = ["torch (>=1.10)"]name = "schema"version = "0.7.5"description = "Simple data validation library"-category = "main"optional = truepython-versions = "*"files = [@@ -9153,7 +8866,6 @@ contextlib2 = ">=0.5.5"name = "scikit-learn"version = "1.2.2"description = "A set of python modules for machine learning and data mining"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -9196,7 +8908,6 @@ tests = ["black (>=22.3.0)", "flake8 (>=3.8.2)", "matplotlib (>=3.1.3)", "mypy (name = "scipy"version = "1.9.3"description = "Fundamental algorithms for scientific computing in Python"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -9235,7 +8946,6 @@ test = ["asv", "gmpy2", "mpmath", "pytest", "pytest-cov", "pytest-xdist", "scikiname = "semver"version = "3.0.1"description = "Python helper for Semantic Versioning (https://semver.org)"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -9247,7 +8957,6 @@ files = [name = "send2trash"version = "1.8.2"description = "Send file to trash natively under Mac OS X, Windows and Linux"-category = "dev"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"files = [@@ -9264,7 +8973,6 @@ win32 = ["pywin32"]name = "sentence-transformers"version = "2.2.2"description = "Multilingual text embeddings"-category = "main"optional = falsepython-versions = ">=3.6.0"files = [@@ -9287,7 +8995,6 @@ transformers = ">=4.6.0,<5.0.0"name = "sentencepiece"version = "0.1.99"description = "SentencePiece python wrapper"-category = "main"optional = falsepython-versions = "*"files = [@@ -9342,7 +9049,6 @@ files = [name = "setuptools"version = "67.8.0"description = "Easily download, build, install, upgrade, and uninstall Python packages"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -9359,7 +9065,6 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (name = "sgmllib3k"version = "1.0.0"description = "Py3k port of sgmllib."-category = "main"optional = falsepython-versions = "*"files = [@@ -9370,7 +9075,6 @@ files = [name = "simple-di"version = "0.1.5"description = "simple dependency injection library"-category = "main"optional = truepython-versions = ">=3.6.1"files = [@@ -9385,7 +9089,6 @@ test = ["mypy", "pytest"]name = "singlestoredb"version = "0.7.1"description = "Interface to the SingleStore database and cluster management APIs"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -9418,7 +9121,6 @@ sqlalchemy = ["sqlalchemy-singlestoredb"]name = "six"version = "1.16.0"description = "Python 2 and 3 compatibility utilities"-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"files = [@@ -9430,7 +9132,6 @@ files = [name = "smart-open"version = "6.3.0"description = "Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...)"-category = "main"optional = truepython-versions = ">=3.6,<4.0"files = [@@ -9448,11 +9149,21 @@ ssh = ["paramiko"]test = ["azure-common", "azure-core", "azure-storage-blob", "boto3", "google-cloud-storage (>=2.6.0)", "moto[server]", "paramiko", "pytest", "pytest-rerunfailures", "requests", "responses"]webhdfs = ["requests"]+[[package]]+name = "smmap"+version = "5.0.0"+description = "A pure Python implementation of a sliding window memory map manager"+optional = true+python-versions = ">=3.6"+files = [+ {file = "smmap-5.0.0-py3-none-any.whl", hash = "sha256:2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94"},+ {file = "smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"},+]+[[package]]name = "sniffio"version = "1.3.0"description = "Sniff out which async library your code is running under"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -9464,7 +9175,6 @@ files = [name = "snowballstemmer"version = "2.2.0"description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms."-category = "dev"optional = falsepython-versions = "*"files = [@@ -9476,7 +9186,6 @@ files = [name = "socksio"version = "1.0.0"description = "Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5."-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -9488,7 +9197,6 @@ files = [name = "soupsieve"version = "2.4.1"description = "A modern CSS selector implementation for Beautiful Soup."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -9500,7 +9208,6 @@ files = [name = "spacy"version = "3.5.3"description = "Industrial-strength Natural Language Processing (NLP) in Python"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -9587,7 +9294,6 @@ transformers = ["spacy-transformers (>=1.1.2,<1.3.0)"]name = "spacy-legacy"version = "3.0.12"description = "Legacy registered functions for spaCy backwards compatibility"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -9599,7 +9305,6 @@ files = [name = "spacy-loggers"version = "1.0.4"description = "Logging utilities for SpaCy"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -9611,7 +9316,6 @@ files = [name = "sphinx"version = "4.5.0"description = "Python documentation generator"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -9647,7 +9351,6 @@ test = ["cython", "html5lib", "pytest", "pytest-cov", "typed-ast"]name = "sphinx-autobuild"version = "2021.3.14"description = "Rebuild Sphinx documentation on changes, with live-reload in the browser."-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -9667,7 +9370,6 @@ test = ["pytest", "pytest-cov"]name = "sphinx-book-theme"version = "0.3.3"description = "A clean book theme for scientific explanations and documentation with Sphinx"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -9689,7 +9391,6 @@ test = ["beautifulsoup4 (>=4.6.1,<5)", "coverage", "myst-nb (>=0.13.2,<0.14.0)",name = "sphinx-copybutton"version = "0.5.2"description = "Add a copy button to each of your code cells."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -9708,7 +9409,6 @@ rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"]name = "sphinx-panels"version = "0.6.0"description = "A sphinx extension for creating panels in a grid layout."-category = "dev"optional = falsepython-versions = "*"files = [@@ -9730,7 +9430,6 @@ themes = ["myst-parser (>=0.12.9,<0.13.0)", "pydata-sphinx-theme (>=0.4.0,<0.5.0name = "sphinx-rtd-theme"version = "1.2.2"description = "Read the Docs theme for Sphinx"-category = "dev"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"files = [@@ -9750,7 +9449,6 @@ dev = ["bump2version", "sphinxcontrib-httpdomain", "transifex-client", "wheel"]name = "sphinx-typlog-theme"version = "0.8.0"description = "A typlog Sphinx theme"-category = "dev"optional = falsepython-versions = "*"files = [@@ -9765,7 +9463,6 @@ dev = ["livereload", "sphinx"]name = "sphinxcontrib-applehelp"version = "1.0.4"description = "sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -9781,7 +9478,6 @@ test = ["pytest"]name = "sphinxcontrib-devhelp"version = "1.0.2"description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document."-category = "dev"optional = falsepython-versions = ">=3.5"files = [@@ -9797,7 +9493,6 @@ test = ["pytest"]name = "sphinxcontrib-htmlhelp"version = "2.0.1"description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files"-category = "dev"optional = falsepython-versions = ">=3.8"files = [@@ -9813,7 +9508,6 @@ test = ["html5lib", "pytest"]name = "sphinxcontrib-jquery"version = "4.1"description = "Extension to include jQuery on newer Sphinx releases"-category = "dev"optional = falsepython-versions = ">=2.7"files = [@@ -9828,7 +9522,6 @@ Sphinx = ">=1.8"name = "sphinxcontrib-jsmath"version = "1.0.1"description = "A sphinx extension which renders display math in HTML via JavaScript"-category = "dev"optional = falsepython-versions = ">=3.5"files = [@@ -9843,7 +9536,6 @@ test = ["flake8", "mypy", "pytest"]name = "sphinxcontrib-qthelp"version = "1.0.3"description = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document."-category = "dev"optional = falsepython-versions = ">=3.5"files = [@@ -9859,7 +9551,6 @@ test = ["pytest"]name = "sphinxcontrib-serializinghtml"version = "1.1.5"description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)."-category = "dev"optional = falsepython-versions = ">=3.5"files = [@@ -9875,7 +9566,6 @@ test = ["pytest"]name = "sqlalchemy"version = "2.0.16"description = "Database Abstraction Library"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -9923,7 +9613,7 @@ files = [][package.dependencies]-greenlet = {version = "!=0.4.17", markers = "platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\""}+greenlet = {version = "!=0.4.17", markers = "platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\""}typing-extensions = ">=4.2.0"[package.extras]@@ -9954,7 +9644,6 @@ sqlcipher = ["sqlcipher3-binary"]name = "sqlitedict"version = "2.1.0"description = "Persistent dict in Python, backed up by sqlite3 and pickle, multithread-safe."-category = "main"optional = truepython-versions = "*"files = [@@ -9965,7 +9654,6 @@ files = [name = "sqlparams"version = "5.1.0"description = "Convert between various DB API 2.0 parameter styles."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -9977,7 +9665,6 @@ files = [name = "srsly"version = "2.4.6"description = "Modern high-performance serialization utilities for Python"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -10018,7 +9705,6 @@ catalogue = ">=2.0.3,<2.1.0"name = "stack-data"version = "0.6.2"description = "Extract data from python stack frames and tracebacks for informative displays"-category = "dev"optional = falsepython-versions = "*"files = [@@ -10038,7 +9724,6 @@ tests = ["cython", "littleutils", "pygments", "pytest", "typeguard"]name = "starlette"version = "0.27.0"description = "The little ASGI library that shines."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -10057,7 +9742,6 @@ full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyamname = "steamship"version = "2.17.10"description = "The fastest way to add language AI to your product."-category = "main"optional = truepython-versions = "*"files = [@@ -10076,11 +9760,50 @@ semver = ">=3.0.0,<3.1.0"tiktoken = ">=0.3.3,<0.4.0"toml = ">=0.10.2,<0.11.0"+[[package]]+name = "streamlit"+version = "1.22.0"+description = "A faster way to build and share data apps"+optional = true+python-versions = ">=3.7, !=3.9.7"+files = [+ {file = "streamlit-1.22.0-py2.py3-none-any.whl", hash = "sha256:520dd9b9e6efb559b5a9a22feadb48b1e6f0340ec83da3514810059fdecd4167"},+ {file = "streamlit-1.22.0.tar.gz", hash = "sha256:5bef9bf8deef32814d9565c9df48331e6357eb0b90dabc3ec4f53c44fb34fc73"},+]++[package.dependencies]+altair = ">=3.2.0,<5"+blinker = ">=1.0.0"+cachetools = ">=4.0"+click = ">=7.0"+gitpython = "!=3.1.19"+importlib-metadata = ">=1.4"+numpy = "*"+packaging = ">=14.1"+pandas = ">=0.25,<3"+pillow = ">=6.2.0"+protobuf = ">=3.12,<4"+pyarrow = ">=4.0"+pydeck = ">=0.1.dev5"+pympler = ">=0.9"+python-dateutil = "*"+requests = ">=2.4"+rich = ">=10.11.0"+tenacity = ">=8.0.0,<9"+toml = "*"+tornado = ">=6.0.3"+typing-extensions = ">=3.10.0.0"+tzlocal = ">=1.1"+validators = ">=0.2"+watchdog = {version = "*", markers = "platform_system != \"Darwin\""}++[package.extras]+snowflake = ["snowflake-snowpark-python"]+[[package]]name = "stringcase"version = "1.2.0"description = "String case converter."-category = "main"optional = truepython-versions = "*"files = [@@ -10091,7 +9814,6 @@ files = [name = "sympy"version = "1.12"description = "Computer algebra system (CAS) in Python"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -10106,7 +9828,6 @@ mpmath = ">=0.19"name = "syrupy"version = "4.0.2"description = "Pytest Snapshot Test Utility"-category = "dev"optional = falsepython-versions = ">=3.8.1,<4"files = [@@ -10122,7 +9843,6 @@ pytest = ">=7.0.0,<8.0.0"name = "tabulate"version = "0.9.0"description = "Pretty-print tabular data"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -10140,7 +9860,6 @@ widechars = ["wcwidth"]name = "tair"version = "1.3.4"description = "Python client for Tair"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -10155,7 +9874,6 @@ redis = ">=4.4.4"name = "telethon"version = "1.28.5"description = "Full-featured Telegram client library for Python 3"-category = "main"optional = truepython-versions = ">=3.5"files = [@@ -10174,7 +9892,6 @@ cryptg = ["cryptg"]name = "tenacity"version = "8.2.2"description = "Retry code until it succeeds"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -10189,7 +9906,6 @@ doc = ["reno", "sphinx", "tornado (>=4.5)"]name = "tensorboard"version = "2.11.2"description = "TensorBoard lets you watch Tensors Flow"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -10215,7 +9931,6 @@ wheel = ">=0.26"name = "tensorboard-data-server"version = "0.6.1"description = "Fast data loading for TensorBoard"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -10228,7 +9943,6 @@ files = [name = "tensorboard-plugin-wit"version = "1.8.1"description = "What-If Tool TensorBoard plugin."-category = "main"optional = truepython-versions = "*"files = [@@ -10239,7 +9953,6 @@ files = [name = "tensorflow"version = "2.11.1"description = "TensorFlow is an open source machine learning framework for everyone."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -10284,7 +9997,6 @@ wrapt = ">=1.11.0"name = "tensorflow-estimator"version = "2.11.0"description = "TensorFlow Estimator."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -10295,7 +10007,6 @@ files = [name = "tensorflow-hub"version = "0.13.0"description = "TensorFlow Hub is a library to foster the publication, discovery, and consumption of reusable parts of machine learning models."-category = "main"optional = truepython-versions = "*"files = [@@ -10314,7 +10025,6 @@ make-nearest-neighbour-index = ["annoy", "apache-beam"]name = "tensorflow-io-gcs-filesystem"version = "0.32.0"description = "TensorFlow IO"-category = "main"optional = truepython-versions = ">=3.7, <3.12"files = [@@ -10345,7 +10055,6 @@ tensorflow-rocm = ["tensorflow-rocm (>=2.12.0,<2.13.0)"]name = "tensorflow-macos"version = "2.11.0"description = "TensorFlow is an open source machine learning framework for everyone."-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -10383,7 +10092,6 @@ wrapt = ">=1.11.0"name = "tensorflow-text"version = "2.11.0"description = "TF.Text is a TensorFlow library of text related ops, modules, and subgraphs."-category = "main"optional = truepython-versions = "*"files = [@@ -10410,7 +10118,6 @@ tests = ["absl-py", "pytest", "tensorflow-datasets (>=3.2.0)"]name = "termcolor"version = "2.3.0"description = "ANSI color formatting for output in terminal"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -10425,7 +10132,6 @@ tests = ["pytest", "pytest-cov"]name = "terminado"version = "0.17.1"description = "Tornado websocket backend for the Xterm.js Javascript terminal emulator library."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -10446,7 +10152,6 @@ test = ["pre-commit", "pytest (>=7.0)", "pytest-timeout"]name = "textstat"version = "0.7.3"description = "Calculate statistical features from text"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -10461,7 +10166,6 @@ pyphen = "*"name = "thinc"version = "8.1.10"description = "A refreshing functional take on deep learning, compatible with your favorite libraries"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -10537,7 +10241,6 @@ torch = ["torch (>=1.6.0)"]name = "threadpoolctl"version = "3.1.0"description = "threadpoolctl"-category = "main"optional = falsepython-versions = ">=3.6"files = [@@ -10549,7 +10252,6 @@ files = [name = "tigrisdb"version = "1.0.0b6"description = "Python SDK for Tigris <http://www.tigrisdata.com>"-category = "main"optional = truepython-versions = ">=3.8,<4.0"files = [@@ -10565,7 +10267,6 @@ protobuf = ">=3.19.6"name = "tiktoken"version = "0.3.3"description = "tiktoken is a fast BPE tokeniser for use with OpenAI's models"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -10611,7 +10312,6 @@ blobfile = ["blobfile (>=2)"]name = "tinycss2"version = "1.2.1"description = "A tiny CSS parser"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -10630,7 +10330,6 @@ test = ["flake8", "isort", "pytest"]name = "tokenizers"version = "0.13.3"description = "Fast and Customizable Tokenizers"-category = "main"optional = falsepython-versions = "*"files = [@@ -10685,7 +10384,6 @@ testing = ["black (==22.3)", "datasets", "numpy", "pytest", "requests"]name = "toml"version = "0.10.2"description = "Python Library for Tom's Obvious, Minimal Language"-category = "main"optional = falsepython-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"files = [@@ -10697,7 +10395,6 @@ files = [name = "tomli"version = "2.0.1"description = "A lil' TOML parser"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -10705,11 +10402,21 @@ files = [{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},]+[[package]]+name = "toolz"+version = "0.12.0"+description = "List processing tools and functional utilities"+optional = true+python-versions = ">=3.5"+files = [+ {file = "toolz-0.12.0-py3-none-any.whl", hash = "sha256:2059bd4148deb1884bb0eb770a3cde70e7f954cfbbdc2285f1f2de01fd21eb6f"},+ {file = "toolz-0.12.0.tar.gz", hash = "sha256:88c570861c440ee3f2f6037c4654613228ff40c93a6c25e0eba70d17282c6194"},+]+[[package]]name = "torch"version = "1.13.1"description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"-category = "main"optional = falsepython-versions = ">=3.7.0"files = [@@ -10750,7 +10457,6 @@ opt-einsum = ["opt-einsum (>=3.3)"]name = "torchvision"version = "0.14.1"description = "image and video datasets and models for torch deep learning"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -10777,7 +10483,7 @@ files = [[package.dependencies]numpy = "*"-pillow = ">=5.3.0,<8.3.0 || >=8.4.0"+pillow = ">=5.3.0,<8.3.dev0 || >=8.4.dev0"requests = "*"torch = "1.13.1"typing-extensions = "*"@@ -10789,7 +10495,6 @@ scipy = ["scipy"]name = "tornado"version = "6.3.2"description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed."-category = "main"optional = falsepython-versions = ">= 3.8"files = [@@ -10810,7 +10515,6 @@ files = [name = "tqdm"version = "4.65.0"description = "Fast, Extensible Progress Meter"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -10831,7 +10535,6 @@ telegram = ["requests"]name = "traitlets"version = "5.9.0"description = "Traitlets Python configuration system"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -10847,7 +10550,6 @@ test = ["argcomplete (>=2.0)", "pre-commit", "pytest", "pytest-mock"]name = "transformers"version = "4.30.2"description = "State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"-category = "main"optional = falsepython-versions = ">=3.7.0"files = [@@ -10921,7 +10623,6 @@ vision = ["Pillow"]name = "typer"version = "0.7.0"description = "Typer, build great CLIs. Easy to code. Based on Python type hints."-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -10942,7 +10643,6 @@ test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6.name = "types-chardet"version = "5.0.4.6"description = "Typing stubs for chardet"-category = "dev"optional = falsepython-versions = "*"files = [@@ -10954,7 +10654,6 @@ files = [name = "types-protobuf"version = "4.23.0.1"description = "Typing stubs for protobuf"-category = "dev"optional = falsepython-versions = "*"files = [@@ -10966,7 +10665,6 @@ files = [name = "types-pyopenssl"version = "23.2.0.0"description = "Typing stubs for pyOpenSSL"-category = "dev"optional = falsepython-versions = "*"files = [@@ -10981,7 +10679,6 @@ cryptography = ">=35.0.0"name = "types-pyyaml"version = "6.0.12.10"description = "Typing stubs for PyYAML"-category = "dev"optional = falsepython-versions = "*"files = [@@ -10993,7 +10690,6 @@ files = [name = "types-redis"version = "4.5.5.2"description = "Typing stubs for redis"-category = "dev"optional = falsepython-versions = "*"files = [@@ -11009,7 +10705,6 @@ types-pyOpenSSL = "*"name = "types-requests"version = "2.31.0.1"description = "Typing stubs for requests"-category = "main"optional = falsepython-versions = "*"files = [@@ -11024,7 +10719,6 @@ types-urllib3 = "*"name = "types-toml"version = "0.10.8.6"description = "Typing stubs for toml"-category = "dev"optional = falsepython-versions = "*"files = [@@ -11036,7 +10730,6 @@ files = [name = "types-urllib3"version = "1.26.25.13"description = "Typing stubs for urllib3"-category = "main"optional = falsepython-versions = "*"files = [@@ -11048,7 +10741,6 @@ files = [name = "typing-extensions"version = "4.6.3"description = "Backported and Experimental Type Hints for Python 3.7+"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11060,7 +10752,6 @@ files = [name = "typing-inspect"version = "0.9.0"description = "Runtime inspection utilities for typing module."-category = "main"optional = falsepython-versions = "*"files = [@@ -11076,7 +10767,6 @@ typing-extensions = ">=3.7.4"name = "tzdata"version = "2023.3"description = "Provider of IANA time zone data"-category = "main"optional = falsepython-versions = ">=2"files = [@@ -11088,7 +10778,6 @@ files = [name = "tzlocal"version = "4.3"description = "tzinfo object for the local timezone"-category = "main"optional = truepython-versions = ">=3.7"files = [@@ -11108,7 +10797,6 @@ devenv = ["black", "check-manifest", "flake8", "pyroma", "pytest (>=4.3)", "pytename = "uri-template"version = "1.2.0"description = "RFC 6570 URI Template Processor"-category = "dev"optional = falsepython-versions = ">=3.6"files = [@@ -11123,7 +10811,6 @@ dev = ["flake8 (<4.0.0)", "flake8-annotations", "flake8-bugbear", "flake8-commasname = "uritemplate"version = "4.1.1"description = "Implementation of RFC 6570 URI Templates"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11135,7 +10822,6 @@ files = [name = "urllib3"version = "1.26.16"description = "HTTP library with thread-safe connection pooling, file post, and more."-category = "main"optional = falsepython-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"files = [@@ -11152,7 +10838,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]name = "uvicorn"version = "0.22.0"description = "The lightning-fast ASGI server."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11167,7 +10852,7 @@ h11 = ">=0.8"httptools = {version = ">=0.5.0", optional = true, markers = "extra == \"standard\""}python-dotenv = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}pyyaml = {version = ">=5.1", optional = true, markers = "extra == \"standard\""}-uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\" and extra == \"standard\""}+uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "(sys_platform != \"win32\" and sys_platform != \"cygwin\") and platform_python_implementation != \"PyPy\" and extra == \"standard\""}watchfiles = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}websockets = {version = ">=10.4", optional = true, markers = "extra == \"standard\""}@@ -11178,7 +10863,6 @@ standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)",name = "uvloop"version = "0.17.0"description = "Fast implementation of asyncio event loop on top of libuv"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11223,7 +10907,6 @@ test = ["Cython (>=0.29.32,<0.30.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "myname = "validators"version = "0.20.0"description = "Python Data Validation for Humans™."-category = "main"optional = falsepython-versions = ">=3.4"files = [@@ -11240,7 +10923,6 @@ test = ["flake8 (>=2.4.0)", "isort (>=4.2.2)", "pytest (>=2.2.3)"]name = "vcrpy"version = "4.3.1"description = "Automatically mock your HTTP interactions to simplify and speed up testing"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -11259,7 +10941,6 @@ yarl = "*"name = "wasabi"version = "1.1.2"description = "A lightweight console printing and formatting toolkit"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11274,7 +10955,6 @@ colorama = {version = ">=0.4.6", markers = "sys_platform == \"win32\" and pythonname = "watchdog"version = "3.0.0"description = "Filesystem events monitoring"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -11314,7 +10994,6 @@ watchmedo = ["PyYAML (>=3.10)"]name = "watchfiles"version = "0.19.0"description = "Simple, modern and high performance file watching and code reload in python."-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11349,7 +11028,6 @@ anyio = ">=3.0.0"name = "wcwidth"version = "0.2.6"description = "Measures the displayed width of unicode strings in a terminal"-category = "main"optional = falsepython-versions = "*"files = [@@ -11361,7 +11039,6 @@ files = [name = "weaviate-client"version = "3.20.1"description = "A python native Weaviate client"-category = "main"optional = falsepython-versions = ">=3.8"files = [@@ -11382,7 +11059,6 @@ grpc = ["grpcio", "grpcio-tools"]name = "webcolors"version = "1.13"description = "A library for working with the color formats defined by HTML and CSS."-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -11398,7 +11074,6 @@ tests = ["pytest", "pytest-cov"]name = "webencodings"version = "0.5.1"description = "Character encoding aliases for legacy web content"-category = "dev"optional = falsepython-versions = "*"files = [@@ -11410,7 +11085,6 @@ files = [name = "websocket-client"version = "1.6.0"description = "WebSocket client for Python with low level API options"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11427,7 +11101,6 @@ test = ["websockets"]name = "websockets"version = "11.0.3"description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11507,7 +11180,6 @@ files = [name = "werkzeug"version = "2.3.6"description = "The comprehensive WSGI web application library."-category = "main"optional = truepython-versions = ">=3.8"files = [@@ -11525,7 +11197,6 @@ watchdog = ["watchdog (>=2.3)"]name = "wget"version = "3.2"description = "pure python download utility"-category = "main"optional = falsepython-versions = "*"files = [@@ -11536,7 +11207,6 @@ files = [name = "wheel"version = "0.40.0"description = "A built-package format for Python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -11551,7 +11221,6 @@ test = ["pytest (>=6.0.0)"]name = "whylabs-client"version = "0.5.1"description = "WhyLabs API client"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11567,7 +11236,6 @@ urllib3 = ">=1.25.3"name = "whylogs"version = "1.1.45.dev6"description = "Profile and monitor your ML data pipeline end-to-end"-category = "main"optional = truepython-versions = ">=3.7.1,<4"files = [@@ -11601,7 +11269,6 @@ viz = ["Pillow (>=9.2.0,<10.0.0)", "ipython", "numpy", "numpy (>=1.23.2)", "pybaname = "whylogs-sketching"version = "3.4.1.dev3"description = "sketching library of whylogs"-category = "main"optional = truepython-versions = "*"files = [@@ -11642,7 +11309,6 @@ files = [name = "widgetsnbextension"version = "4.0.7"description = "Jupyter interactive widgets for Jupyter Notebook"-category = "dev"optional = falsepython-versions = ">=3.7"files = [@@ -11654,7 +11320,6 @@ files = [name = "wikipedia"version = "1.4.0"description = "Wikipedia API for Python"-category = "main"optional = falsepython-versions = "*"files = [@@ -11669,7 +11334,6 @@ requests = ">=2.0.0,<3.0.0"name = "win32-setctime"version = "1.1.0"description = "A small Python utility to set file creation time on Windows"-category = "main"optional = falsepython-versions = ">=3.5"files = [@@ -11684,7 +11348,6 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]name = "wolframalpha"version = "5.0.0"description = "Wolfram|Alpha 2.0 API client"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11705,7 +11368,6 @@ testing = ["keyring", "pmxbot", "pytest (>=3.5,!=3.7.3)", "pytest-black (>=0.3.7name = "wonderwords"version = "2.2.0"description = "A python package for random words and sentences in the english language"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11720,7 +11382,6 @@ cli = ["rich (==9.10.0)"]name = "wrapt"version = "1.15.0"description = "Module for decorators, wrappers and monkey patching."-category = "main"optional = falsepython-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"files = [@@ -11805,7 +11466,6 @@ files = [name = "xmltodict"version = "0.13.0"description = "Makes working with XML feel like you are working with JSON"-category = "main"optional = truepython-versions = ">=3.4"files = [@@ -11817,7 +11477,6 @@ files = [name = "xxhash"version = "3.2.0"description = "Python binding for xxHash"-category = "main"optional = truepython-versions = ">=3.6"files = [@@ -11925,7 +11584,6 @@ files = [name = "yarl"version = "1.9.2"description = "Yet another URL library"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -12013,7 +11671,6 @@ multidict = ">=4.0"name = "zep-python"version = "0.31"description = "Zep stores, manages, enriches, indexes, and searches long-term memory for conversational AI applications. This is the Python client for the Zep service."-category = "main"optional = truepython-versions = ">=3.8,<4.0"files = [@@ -12029,7 +11686,6 @@ pydantic = ">=1.10.7,<2.0.0"name = "zipp"version = "3.15.0"description = "Backport of pathlib-compatible object wrapper for zip files"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -12045,7 +11701,6 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "morename = "zstandard"version = "0.21.0"description = "Zstandard bindings for Python"-category = "main"optional = falsepython-versions = ">=3.7"files = [@@ -12107,7 +11762,7 @@ clarifai = ["clarifai"]cohere = ["cohere"]docarray = ["docarray"]embeddings = ["sentence-transformers"]-extended-testing = ["atlassian-python-api", "beautifulsoup4", "beautifulsoup4", "bibtexparser", "chardet", "gql", "html2text", "jq", "lxml", "openai", "pandas", "pdfminer-six", "pgvector", "psychicapi", "py-trello", "pymupdf", "pypdf", "pypdfium2", "pyspark", "requests-toolbelt", "scikit-learn", "telethon", "tqdm", "zep-python"]+extended-testing = ["atlassian-python-api", "beautifulsoup4", "beautifulsoup4", "bibtexparser", "chardet", "gql", "html2text", "jq", "lxml", "openai", "pandas", "pdfminer-six", "pgvector", "psychicapi", "py-trello", "pymupdf", "pypdf", "pypdfium2", "pyspark", "requests-toolbelt", "scikit-learn", "streamlit", "telethon", "tqdm", "zep-python"]llms = ["anthropic", "clarifai", "cohere", "huggingface_hub", "manifest-ml", "nlpcloud", "openai", "openllm", "openlm", "torch", "transformers"]openai = ["openai", "tiktoken"]qdrant = ["qdrant-client"]@@ -12116,4 +11771,4 @@ text-helpers = ["chardet"][metadata]lock-version = "2.0"python-versions = ">=3.8.1,<4.0"-content-hash = "df0aa59ee541224667b5cefebec83d2ff48813218f959294eb7612148dc5ef82"+content-hash = "09d46ad12369c6a16513558618553623cd520c2855bff3b8fe8248e1b18cbb94"diff --git a/pyproject.toml b/pyproject.tomlindex bd9eca06c6..cce089dfe2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -110,8 +110,7 @@ langchainplus-sdk = ">=0.0.13"awadb = {version = "^0.3.3", optional = true}azure-search-documents = {version = "11.4.0a20230509004", source = "azure-sdk-dev", optional = true}openllm = {version = ">=0.1.6", optional = true}-# now streamlit requires Python >=3.7, !=3.9.7 So, it is commented out.-#streamlit = {version = "^1.18.0", optional = true}+streamlit = {version = "^1.18.0", optional = true, python = ">=3.8.1,<3.9.7 || >3.9.7,<4.0"}[tool.poetry.group.docs.dependencies]autodoc_pydantic = "^1.8.0"@@ -157,7 +156,7 @@ optional = true# 2. Add the package name to the extended_testing extra (find it below)# 3. Relock the poetry file# poetry lock --no-update-# 4. Favor unit tests not integration tests.+# 4. Favor unit tests not integration tests.# Use the @pytest.mark.requires(pkg_name) decorator in unit_tests.# Your tests should not rely on network access, as it prevents other# developers from being able to easily run them.@@ -332,8 +331,7 @@ extended_testing = ["html2text","py-trello","scikit-learn",-# now streamlit requires Python >=3.7, !=3.9.7 So, it is commented out.-# "streamlit",+ "streamlit","pyspark","openai"]diff --git a/tests/integration_tests/callbacks/test_streamlit_callback.py b/tests/integration_tests/callbacks/test_streamlit_callback.pynew file mode 100644index 0000000000..8008c5cc97--- /dev/null+++ b/tests/integration_tests/callbacks/test_streamlit_callback.py@@ -0,0 +1,31 @@+"""Integration tests for the StreamlitCallbackHandler module."""++import pytest++from langchain.agents import AgentType, initialize_agent, load_tools++# Import the internal StreamlitCallbackHandler from its module - and not from+# the `langchain.callbacks.streamlit` package - so that we don't end up using+# Streamlit's externally-provided callback handler.+from langchain.callbacks.streamlit.streamlit_callback_handler import (+ StreamlitCallbackHandler,+)+from langchain.llms import OpenAI++[email protected]("streamlit")+def test_streamlit_callback_agent() -> None:+ import streamlit as st++ streamlit_callback = StreamlitCallbackHandler(st.container())++ llm = OpenAI(temperature=0)+ tools = load_tools(["serpapi", "llm-math"], llm=llm)+ agent = initialize_agent(+ tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True+ )+ agent.run(+ "Who is Olivia Wilde's boyfriend? "+ "What is his current age raised to the 0.23 power?",+ callbacks=[streamlit_callback],+ )diff --git a/tests/unit_tests/callbacks/test_streamlit_callback.py b/tests/unit_tests/callbacks/test_streamlit_callback.pynew file mode 100644index 0000000000..3def2088c9--- /dev/null+++ b/tests/unit_tests/callbacks/test_streamlit_callback.py@@ -0,0 +1,86 @@+import builtins+import unittest+from typing import Any+from unittest import mock+from unittest.mock import MagicMock++from langchain.callbacks.streamlit import StreamlitCallbackHandler+++class TestImport(unittest.TestCase):+ """Test the StreamlitCallbackHandler 'auto-updating' API"""++ def setUp(self) -> None:+ self.builtins_import = builtins.__import__++ def tearDown(self) -> None:+ builtins.__import__ = self.builtins_import++ @mock.patch("langchain.callbacks.streamlit._InternalStreamlitCallbackHandler")+ def test_create_internal_handler(self, mock_internal_handler: Any) -> None:+ """If we're using a Streamlit that does not expose its own+ StreamlitCallbackHandler, use our own implementation.+ """++ def external_import_error(+ name: str, globals: Any, locals: Any, fromlist: Any, level: int+ ) -> Any:+ if name == "streamlit.external.langchain":+ raise ImportError+ return self.builtins_import(name, globals, locals, fromlist, level)++ builtins.__import__ = external_import_error # type: ignore[assignment]++ parent_container = MagicMock()+ thought_labeler = MagicMock()+ StreamlitCallbackHandler(+ parent_container,+ max_thought_containers=1,+ expand_new_thoughts=True,+ collapse_completed_thoughts=False,+ thought_labeler=thought_labeler,+ )++ # Our internal handler should be created+ mock_internal_handler.assert_called_once_with(+ parent_container,+ max_thought_containers=1,+ expand_new_thoughts=True,+ collapse_completed_thoughts=False,+ thought_labeler=thought_labeler,+ )++ def test_create_external_handler(self) -> None:+ """If we're using a Streamlit that *does* expose its own callback handler,+ delegate to that implementation.+ """++ mock_streamlit_module = MagicMock()++ def external_import_success(+ name: str, globals: Any, locals: Any, fromlist: Any, level: int+ ) -> Any:+ if name == "streamlit.external.langchain":+ return mock_streamlit_module+ return self.builtins_import(name, globals, locals, fromlist, level)++ builtins.__import__ = external_import_success # type: ignore[assignment]++ parent_container = MagicMock()+ thought_labeler = MagicMock()+ StreamlitCallbackHandler(+ parent_container,+ max_thought_containers=1,+ expand_new_thoughts=True,+ collapse_completed_thoughts=False,+ thought_labeler=thought_labeler,+ )++ # Streamlit's handler should be created+ mock_streamlit_module.StreamlitCallbackHandler.assert_called_once_with(+ parent_container,+ max_thought_containers=1,+ expand_new_thoughts=True,+ collapse_completed_thoughts=False,+ thought_labeler=thought_labeler,+ )