langroid 0.1.122__tar.gz → 0.1.124__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langroid-0.1.122 → langroid-0.1.124}/PKG-INFO +1 -1
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/task.py +1 -1
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/configuration.py +1 -0
- {langroid-0.1.122 → langroid-0.1.124}/pyproject.toml +1 -1
- {langroid-0.1.122 → langroid-0.1.124}/LICENSE +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/README.md +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/batch.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/chat_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/chat_document.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/helpers.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/junk +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/openai_assistant.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/doc_chat_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/recipient_validator_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/relevance_extractor_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/retriever_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/sql_chat_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/description_extractors.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/populate_metadata.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/system_message.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/tools.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/table_chat_agent.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tool_message.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/extract_tool.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/generator_tool.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/google_search_tool.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/recipient_tool.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent/tools/segment_extract_tool.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/agent_config.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/cachedb/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/cachedb/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/cachedb/momento_cachedb.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/cachedb/redis_cachedb.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/embedding_models/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/embedding_models/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/embedding_models/clustering.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/embedding_models/models.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/azure_openai.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/config.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/openai_assistants.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/openai_gpt.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/prompt_formatter/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/prompt_formatter/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/prompt_formatter/llama2_formatter.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/utils.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/mytypes.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/agent_chats.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/code-parsing.md +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/code_parser.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/config.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/document_parser.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/json.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/para_sentence_split.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/parser.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/repo_loader.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/search.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/spider.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/table_loader.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/url_loader.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/url_loader_cookies.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/urls.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/utils.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/parsing/web_search.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/prompts/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/prompts/dialog.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/prompts/prompts_config.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/prompts/templates.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/prompts/transforms.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/algorithms/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/algorithms/graph.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/constants.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/docker.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/globals.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/llms/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/llms/strings.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/logging.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/output/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/output/printing.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/pydantic_utils.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/system.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/web/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/web/login.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/utils/web/selenium_login.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/__init__.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/base.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/chromadb.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/lancedb.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/meilisearch.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/momento.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/qdrant_cloud.py +0 -0
- {langroid-0.1.122 → langroid-0.1.124}/langroid/vector_store/qdrantdb.py +0 -0
@@ -109,7 +109,7 @@ class Task:
|
|
109
109
|
|
110
110
|
self.logger: None | RichFileLogger = None
|
111
111
|
self.tsv_logger: None | logging.Logger = None
|
112
|
-
self.color_log: bool = True
|
112
|
+
self.color_log: bool = False if settings.notebook else True
|
113
113
|
self.agent = agent
|
114
114
|
self.name = name or agent.config.name
|
115
115
|
self.default_human_response = default_human_response
|
@@ -20,6 +20,7 @@ class Settings(BaseSettings):
|
|
20
20
|
nofunc: bool = False # use model without function_call? (i.e. gpt-4)
|
21
21
|
chat_model: str = "" # language model name, e.g. litellm/ollama/llama2
|
22
22
|
quiet: bool = False # quiet mode (i.e. suppress all output)?
|
23
|
+
notebook: bool = False # running in a notebook?
|
23
24
|
|
24
25
|
class Config:
|
25
26
|
extra = "forbid"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langroid-0.1.122 → langroid-0.1.124}/langroid/agent/special/sql/utils/description_extractors.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langroid-0.1.122 → langroid-0.1.124}/langroid/language_models/prompt_formatter/llama2_formatter.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|