From aeadd9769022f9138004e744f55c7cc4da1a8705 Mon Sep 17 00:00:00 2001 From: MadcowD Date: Thu, 19 Sep 2024 06:21:23 +0000 Subject: [PATCH] deploy: 8f1ca3cd5e66c384ee5cb9643609137eec42ce7e --- _sources/core_concepts/ell_studio.rst.txt | 2 +- _static/ell_version.txt | 2 +- core_concepts/ell_studio.html | 2 +- searchindex.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_sources/core_concepts/ell_studio.rst.txt b/_sources/core_concepts/ell_studio.rst.txt index 6614b2f7..2435e779 100644 --- a/_sources/core_concepts/ell_studio.rst.txt +++ b/_sources/core_concepts/ell_studio.rst.txt @@ -26,7 +26,7 @@ To start using Studio, run the following command in your terminal: ell-studio --storage ./logdir -Then go to `http://localhost:8080 `_ to access the Studio interface. +Then go to `http://localhost:5000 `_ to access the Studio interface. This command opens the Studio interface in your web browser, using the data stored in the specified directory (which should be the same directory you specified when initializing ell with `ell.init(store='./logdir')`). Since Studio runs locally, you can be assured that your sensitive prompt data never leaves your machine. diff --git a/_static/ell_version.txt b/_static/ell_version.txt index fa3de586..99d85ecd 100644 --- a/_static/ell_version.txt +++ b/_static/ell_version.txt @@ -1 +1 @@ -0.0.5 \ No newline at end of file +0.0.6 \ No newline at end of file diff --git a/core_concepts/ell_studio.html b/core_concepts/ell_studio.html index 205f9947..01aeb1b0 100644 --- a/core_concepts/ell_studio.html +++ b/core_concepts/ell_studio.html @@ -244,7 +244,7 @@

Launching Studio
ell-studio --storage ./logdir
 
-

Then go to http://localhost:8080 to access the Studio interface.

+

Then go to http://localhost:5000 to access the Studio interface.

This command opens the Studio interface in your web browser, using the data stored in the specified directory (which should be the same directory you specified when initializing ell with ell.init(store=’./logdir’)). Since Studio runs locally, you can be assured that your sensitive prompt data never leaves your machine.

diff --git a/searchindex.js b/searchindex.js index e5c26b87..1a2ea1d5 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["core_concepts/configuration", "core_concepts/ell_complex", "core_concepts/ell_simple", "core_concepts/ell_studio", "core_concepts/message_api", "core_concepts/models_and_api_clients", "core_concepts/multimodality", "core_concepts/structured_outputs", "core_concepts/tool_usage", "core_concepts/versioning_and_storage", "getting_started", "index", "installation", "reference/index"], "filenames": ["core_concepts/configuration.rst", "core_concepts/ell_complex.rst", "core_concepts/ell_simple.rst", "core_concepts/ell_studio.rst", "core_concepts/message_api.rst", "core_concepts/models_and_api_clients.rst", "core_concepts/multimodality.rst", "core_concepts/structured_outputs.rst", "core_concepts/tool_usage.rst", "core_concepts/versioning_and_storage.rst", "getting_started.rst", "index.rst", "installation.rst", "reference/index.rst"], "titles": ["Configuration", "@ell.complex", "@ell.simple", "Studio", "Messages", "Models & API Clients", "Multimodality", "Structured Outputs", "Tool Usage", "Versioning & Tracing", "Getting Started", "Introduction", "Installation", "ell package"], "terms": {"ell": [0, 3, 5, 7, 8, 9], "provid": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13], "variou": [0, 1, 3, 4, 5, 6, 8, 9, 10, 11], "option": [0, 1, 2, 8, 11], "custom": [0, 7, 8, 9], "its": [0, 2, 6, 8, 9, 10, 11], "behavior": [0, 2, 3], "init": [0, 3, 9, 10, 11], "store": [0, 3, 8, 9, 11], "str": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "none": [0, 1, 2, 4, 8], "verbos": [0, 4, 6], "bool": [0, 1, 2], "fals": [0, 1, 2, 4], "autocommit": [0, 10], "true": [0, 1, 2, 8, 9, 10], "lazy_vers": 0, "default_lm_param": 0, "dict": [0, 1, 2, 4, 9, 10], "ani": [0, 1, 2, 4, 6, 8, 9, 10, 11], "default_openai_cli": 0, "openai": [0, 1, 2, 4, 5, 6, 8, 9, 10, 11], "initi": [0, 3, 5, 9, 10], "set": [0, 2, 4, 6, 9, 10, 12], "paramet": [0, 1, 3, 8, 9], "oper": [0, 8, 9], "union": [0, 9], "can": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "instanc": [0, 1, 2, 6, 9], "string": [0, 1, 2, 4, 8, 9, 10], "path": [0, 2, 9], "sqlitestor": [0, 9], "enabl": [0, 1, 2, 5, 7, 8, 9, 10], "disabl": 0, "lazi": 0, "version": [0, 1, 2, 4, 8], "default": [0, 1, 2, 9], "languag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13], "model": [0, 1, 2, 3, 4, 6, 7, 8, 9, 12, 13], "client": [0, 1, 2, 4, 10], "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13], "function": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "i": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 13], "conveni": [0, 2, 4, 6], "up": [0, 6, 8, 9, 10, 12], "It": [0, 1, 2, 3, 6, 8, 9, 10, 11, 13], "thin": 0, "wrapper": [0, 9], "around": [0, 2, 4, 9, 11], "config": [0, 5], "class": [0, 1, 4, 6, 7, 8, 9], "which": [0, 1, 2, 3, 4, 6, 7, 8, 9], "pydant": [0, 1, 4, 7, 8], "you": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12], "modifi": [0, 2, 9, 10, 11], "global": [0, 5, 9], "us": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12], "object": [0, 1, 2, 4, 6, 8, 9, 11], "an": [0, 1, 3, 4, 6, 8, 9, 10, 12], "field": [0, 1, 4, 7, 8], "If": [0, 1, 2, 5, 9], "automat": [0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13], "commit": [0, 3, 8, 9, 11], "chang": [0, 2, 3, 6, 8, 9, 10, 11], "improv": [0, 2, 3, 9, 10], "perform": [0, 1, 8, 9], "override_wrapped_logging_width": 0, "int": [0, 1, 2, 4, 7], "overrid": [0, 2], "width": 0, "wrap": [0, 2, 8, 9], "log": 0, "type": [0, 1, 2, 4, 6, 8, 9, 10, 11], "A": [0, 1, 2, 4, 6, 7, 9, 11], "dictionari": [0, 1, 2, 4], "map": [0, 6], "wrapped_log": 0, "better": [0, 9], "readabl": [0, 2, 4, 6, 9, 10, 11], "get_client_for": 0, "model_nam": 0, "tupl": [0, 9], "get": [0, 1, 4, 7, 8, 11, 12], "specif": [0, 2, 3, 4, 5, 7, 8, 9, 10], "name": [0, 1, 2, 7, 8, 9, 10, 11], "The": [0, 1, 2, 7, 8, 9, 10], "return": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "specifi": [0, 1, 2, 3, 4, 8, 9, 11], "found": [0, 5, 9], "get_provider_for": 0, "abstractprovid": 0, "get_stor": 0, "current": [0, 1, 2, 7, 8, 9], "model_registry_overrid": 0, "temporarili": 0, "registri": 0, "new": [0, 1, 4, 5, 6, 8, 9, 10, 11], "register_model": [0, 5], "regist": [0, 5], "associ": [0, 9], "register_provid": 0, "provider_class": 0, "reset": 0, "state": [0, 1], "set_default_cli": 0, "set_default_lm_param": 0, "param": [0, 2, 4, 9], "keyword": [0, 1, 2], "argument": [0, 1, 2, 8, 9, 10], "repres": [0, 4, 8], "set_stor": 0, "whether": 0, "while": [1, 2, 3, 4, 6, 8, 9, 10, 11], "simpl": [1, 4, 5, 6, 7, 8, 9, 11, 13], "straightforward": [1, 2, 5], "wai": [1, 2, 5, 6, 9, 10, 11], "work": [1, 2, 4, 6, 7, 8, 9, 10, 11, 13], "text": [1, 2, 4, 6, 8, 9, 11], "modern": 1, "ar": [1, 2, 4, 6, 7, 8, 9, 10, 12], "increasingli": 1, "capabl": [1, 2, 3, 4, 6, 8, 9, 10], "handl": [1, 2, 4, 6, 8, 10], "gener": [1, 2, 3, 4, 6, 7, 9, 10, 11, 13], "content": [1, 2, 4, 6, 7, 8, 10, 11], "where": [1, 2, 3, 4, 8, 9], "come": [1, 2, 3, 6, 7, 9, 13], "plai": [1, 2, 6], "decor": [1, 2, 4, 5, 6, 8, 10], "design": [1, 2, 6, 9, 10, 11], "sophist": [1, 2, 6], "includ": [1, 2, 3, 4, 6, 8, 11], "input": [1, 3, 4, 6, 8, 9, 10, 11], "data": [1, 2, 3, 4, 6, 7, 8, 9, 11], "extend": [1, 6], "": [1, 2, 3, 4, 7, 8, 9, 11], "address": [1, 2, 6, 8, 9], "evolv": [1, 6, 9, 10], "natur": [1, 6, 8], "now": [1, 4, 9, 10], "process": [1, 2, 4, 6, 8, 9, 10], "imag": [1, 2, 4, 6, 10, 11], "make": [1, 2, 4, 6, 7, 8, 9, 10, 11], "call": [1, 2, 4, 5, 8, 9], "engag": [1, 6], "multi": [1, 3, 4], "turn": [1, 3], "convers": [1, 6, 8, 10], "By": [1, 6, 7, 8, 9, 10, 11], "rich": [1, 2, 4, 11], "messag": [1, 2, 3, 6, 7, 8, 9, 11], "instead": [1, 2, 4, 8, 12], "more": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12], "nuanc": 1, "power": [1, 3, 7, 8, 9, 10], "overcom": 1, "limit": [1, 8], "tradit": [1, 4, 6], "interfac": [1, 2, 3, 6, 9, 10, 11, 13], "advanc": [1, 2, 6, 8, 9, 10], "scenario": [1, 2, 8, 9], "same": [1, 2, 3, 4, 10], "api": [1, 6, 8, 9], "intuit": [1, 2, 3, 6, 13], "flexibl": [1, 2, 6, 10], "construct": [1, 2, 6, 10], "manipul": [1, 2, 7, 9], "read": [1, 2, 4, 13], "about": [1, 4, 8, 9, 10, 11], "coercion": [1, 2, 4, 11], "page": [1, 2, 4, 8], "basic": 1, "similar": [1, 2, 4, 7, 9, 11], "enhanc": [1, 2, 4, 6, 7, 8, 9], "import": [1, 2, 4, 5, 6, 7, 9, 10, 12], "from": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12], "basemodel": [1, 4, 7], "moviereview": [1, 7], "titl": [1, 7, 8], "descript": [1, 2, 7, 8, 9], "movi": [1, 7], "rate": [1, 7], "out": [1, 7, 9, 10], "10": [1, 7, 9, 11], "summari": [1, 2, 7], "brief": [1, 7], "gpt": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "4o": [1, 6, 7, 8, 9, 10, 11], "2024": [1, 7, 9], "08": [1, 7, 9], "06": [1, 7, 9], "response_format": [1, 7], "def": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "generate_movie_review": [1, 7], "review": [1, 7], "given": [1, 2, 4, 7, 8, 10], "need": [1, 2, 3, 4, 6, 7, 8, 9, 12], "f": [1, 2, 5, 7, 8, 9, 10, 11], "review_messag": 1, "matrix": [1, 7], "pars": [1, 6, 7], "print": [1, 2, 4, 6, 7, 8, 9, 10, 11, 12], "allow": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "incept": 1, "pil": [1, 2, 4, 6, 11], "5": [1, 2, 4, 6, 7, 8, 9, 11], "omni": [1, 4, 6, 11], "describe_and_gener": 1, "prompt": [1, 3, 4, 5, 6, 7, 8], "system": [1, 3, 4, 6, 7, 8, 9, 10, 11], "describ": [1, 2, 6, 11], "ones": 1, "user": [1, 2, 4, 6, 7, 8, 9, 10, 11], "result": [1, 2, 3, 4, 5, 6, 8, 9, 10], "seren": 1, "lake": 1, "sunset": 1, "0": [1, 2, 4, 6, 8, 9, 10, 11], "show": [1, 3, 4, 9, 10], "displai": [1, 6], "particularli": [1, 2, 3, 8], "applic": [1, 2, 6, 7, 9, 10], "maintain": [1, 8, 10], "histori": [1, 8, 10], "temperatur": [1, 2, 8, 9, 10, 11], "7": [1, 2, 8], "chat_bot": 1, "message_histori": [1, 8, 9], "list": [1, 2, 4, 8, 9, 10, 11], "friendli": [1, 4, 9, 10], "chatbot": [1, 8], "casual": 1, "user_input": 1, "append": [1, 8], "respons": [1, 2, 4, 7, 8, 9, 10, 11], "bot": 1, "support": [1, 2, 4, 6, 7, 8, 9, 10, 11], "get_weath": 1, "locat": [1, 9], "full": [1, 2, 3, 9, 10, 11], "citi": 1, "countri": 1, "e": [1, 2, 6, 8, 9], "g": [1, 2], "san": 1, "francisco": 1, "ca": 1, "usa": 1, "weather": 1, "simul": 1, "sunni": 1, "turbo": [1, 7, 9, 10], "travel_plann": 1, "destin": 1, "plan": 1, "trip": 1, "travel": [1, 2], "planner": 1, "relev": 1, "advic": 1, "pari": 1, "tool_cal": [1, 4, 8, 11], "done": [1, 11], "so": [1, 4, 6, 7], "we": [1, 2, 3, 4, 6, 7, 8, 9, 10, 11], "pass": [1, 4, 9, 10, 11], "tool_result": [1, 4, 8], "call_tools_and_collect_as_messag": [1, 4, 8], "info": 1, "exempt_from_track": [1, 2], "callabl": [1, 2], "post_callback": 1, "api_param": [1, 2, 9], "program": [1, 2, 3, 4, 5, 6, 8, 9, 12, 13], "llm": [1, 8, 9, 11], "transform": [1, 2, 3, 8, 10], "lmp": [1, 9, 10, 11, 13], "format": [1, 2, 4, 6, 7, 8, 9], "control": [1, 3, 7, 9, 10, 11], "over": [1, 2, 3, 9, 10, 11], "identifi": [1, 2, 3, 9], "onli": [1, 2, 4, 7, 8, 9, 10, 11], "avail": [1, 4, 5, 7, 9, 12], "certain": 1, "n": [1, 4, 8, 9, 10, 11], "number": [1, 8], "float": [1, 4, 8], "random": [1, 9, 10], "max_token": [1, 2, 9], "maximum": 1, "token": [1, 2, 3], "top_p": 1, "top": [1, 2], "p": 1, "sampl": [1, 10, 11], "divers": [1, 10], "frequency_penalti": 1, "frequenc": [1, 3], "penalti": 1, "repetit": 1, "presence_penalti": 1, "presenc": 1, "stop": [1, 2], "sequenc": 1, "won": [1, 2], "t": [1, 2, 4, 6, 9], "track": [1, 2, 3, 9, 10], "befor": [1, 4, 11], "addit": [1, 2, 8, 9, 11], "underli": [1, 2], "appli": [1, 2, 9, 10], "creation": [1, 8, 9], "within": [1, 2, 4, 6, 7, 8, 9, 10, 12], "context": [1, 3, 8], "both": [1, 2, 4, 6, 7, 9, 12], "singl": [1, 2, 9, 10], "etc": 1, "comprehens": [1, 3, 9], "integr": [1, 6, 7], "monitor": [1, 2, 9], "configur": [1, 5, 9], "raw": 1, "them": [1, 2, 7, 8, 9], "through": [1, 2, 9, 10, 11], "post": [1, 6], "callback": 1, "multipl": [1, 3, 5, 6, 8, 10, 11], "mode": [1, 7], "exampl": [1, 2, 4, 6, 7, 8, 9, 10], "generate_stori": [1, 2], "creativ": 1, "stori": [1, 2, 9, 10, 11], "writer": [1, 9, 10, 11], "write": [1, 2, 9, 10, 11], "short": [1, 2, 9], "robot": 1, "discov": [1, 10], "emot": 1, "access": [1, 3, 4, 6, 7, 8], "last": 1, "help": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12], "assist": [1, 2, 4, 6, 8, 9, 10, 11], "hello": [1, 2, 4, 5, 8, 9, 10, 11], "who": [1, 6, 11], "m": [1, 8], "ai": [1, 2, 6, 8, 12], "how": [1, 2, 4, 6, 7, 8, 9, 10], "todai": [1, 8], "explain": [1, 3], "quantum": 1, "comput": [1, 2, 4, 8, 10], "implement": [1, 8, 9, 11], "fetch": [1, 8], "weather_assist": 1, "when": [1, 2, 3, 4, 5, 6, 8, 9, 10], "what": [1, 4, 6, 8, 9, 11], "like": [1, 2, 4, 5, 6, 8, 9, 10], "york": [1, 8], "continu": [1, 6, 7, 8, 9, 11], "final_respons": 1, "final": [1, 8, 9, 10], "personinfo": 1, "ag": 1, "extract_person_info": 1, "extract": [1, 2, 4, 8, 9], "person": [1, 9, 11], "inform": [1, 2, 3, 8, 9, 10], "john": 1, "doe": [1, 6, 8, 9], "30": [1, 9], "year": [1, 11], "old": 1, "softwar": [1, 9], "engin": [1, 2, 3, 4, 8, 9, 10], "person_info": 1, "vision": [1, 2, 6], "preview": [1, 2, 6], "describe_imag": [1, 2, 6], "detail": [1, 2, 3, 8, 10], "contentblock": [1, 4, 6], "do": [1, 4, 7, 9, 10, 11], "see": [1, 2, 4, 9, 10, 11, 12], "open": [1, 2, 3, 6, 8, 10, 11], "jpg": [1, 2, 4, 6], "parallel": [1, 2, 4], "execut": [1, 2, 3, 9], "tool1": 1, "tool2": 1, "tool3": 1, "parallel_assist": 1, "task": [1, 3, 8, 10], "b": 1, "c": [1, 12], "simultan": [1, 6], "max_work": [1, 4, 8], "helper": [1, 2, 4, 8], "text_onli": [1, 4, 8], "exclud": 1, "non": [1, 4, 7], "element": [1, 6], "collect": [1, 3, 8], "role": [1, 2, 6, 8, 10], "to_openai_messag": 1, "convert": [1, 6, 8], "note": [1, 2, 9, 10], "should": [1, 2, 3, 4, 7, 8, 9, 10], "For": [1, 2, 4, 5, 6, 7, 8, 9, 10, 12], "ensur": [1, 3, 7, 8], "properli": 1, "all": [1, 2, 3, 4, 6, 8, 9, 10, 11], "simpler": 1, "properti": [1, 4, 6, 8], "easili": [1, 2, 3, 7, 8, 9], "differ": [1, 2, 3, 4, 6, 8, 9, 10], "also": [1, 2, 3, 4, 6, 7, 8, 9, 10], "defin": [1, 2, 7, 10, 11], "studio": [1, 2, 9, 11, 12], "visual": [1, 2, 6, 9, 10], "analyz": [1, 2, 3, 6, 9, 11], "core": [2, 4], "unit": [2, 4, 9, 10], "send": 2, "develop": [2, 4, 6, 8, 9], "driven": 2, "sever": [2, 4, 9, 10], "usabiltii": 2, "code": [2, 3, 4, 6, 7, 8, 9, 10, 11, 13], "forc": [2, 11], "decomposit": [2, 11], "reusabl": [2, 8, 10], "compon": 2, "serial": [2, 8, 11], "time": [2, 3, 8, 9, 10], "two": [2, 4, 9, 10], "main": [2, 4, 10], "docstr": [2, 8, 10], "valu": [2, 4, 10], "4": [2, 4, 6, 8, 9, 10], "sai": [2, 9, 10, 11], "explicitli": [2, 4, 5, 7, 10], "To": [2, 3, 4, 8, 9, 10, 11], "normal": [2, 9], "howev": [2, 3, 4, 6, 9], "receiv": [2, 8], "typic": [2, 4, 8, 9], "directli": [2, 4, 7, 8, 11], "constructor": [2, 4], "case": [2, 8, 9, 10, 11], "world": [2, 4, 5, 8, 9, 10, 11], "As": [2, 4, 6, 9], "optim": [2, 3, 4, 9], "usabl": 2, "most": [2, 4, 6, 9, 10], "invoc": [2, 8, 9, 11], "revolv": 2, "metadata": [2, 8, 9], "occasion": 2, "therefor": [2, 9], "have": [2, 4, 6, 7, 8, 9, 10], "framework": [2, 5, 6, 9], "shown": [2, 7], "here": [2, 8, 9, 10], "complex": [2, 3, 4, 6, 7, 8, 9, 10], "contain": [2, 4, 9, 12], "interact": [2, 3, 4, 8, 9], "One": [2, 6, 9, 10], "challeng": [2, 6, 8, 9], "want": [2, 4, 7, 8, 10], "python": [2, 6, 8, 9, 10, 11, 12, 13], "longer": 2, "treat": [2, 6, 9, 11], "liter": 2, "my_func": 2, "var": 2, "my": [2, 5, 8], "doc": 2, "__doc__": 2, "sens": 2, "becaus": [2, 4, 5, 7, 8, 9, 10, 11], "dure": [2, 8, 9], "static": [2, 9, 10, 11], "analysi": [2, 9, 11], "issu": [2, 4, 8, 9, 12], "second": 2, "method": [2, 5, 9], "creat": [2, 4, 6, 8, 9, 10, 11, 12], "With": [2, 3, 8, 9, 10, 11], "approach": [2, 4, 7, 8, 9, 10], "ignor": [2, 4, 9], "suppli": 2, "definit": [2, 8], "runtim": 2, "logit_bia": 2, "due": [2, 9], "simpli": [2, 9, 10, 12], "100": [2, 4, 8], "hei": 2, "likewis": [2, 4], "those": [2, 9], "particular": [2, 11], "lm_param": [2, 9, 10], "often": [2, 4, 9, 11], "leverag": [2, 3, 5, 7, 9, 10, 11], "test": [2, 9, 10], "mani": [2, 4, 11], "count": 2, "usual": 2, "In": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "actual": [2, 9, 11], "quit": [2, 4, 9], "cumbersom": [2, 4, 9], "separ": 2, "complet": [2, 3, 4, 9, 10], "choic": [2, 4, 9, 10], "everyon": 2, "2": [2, 4, 8, 9, 10], "r1": 2, "r2": 2, "spirit": 2, "simplic": 2, "ve": [2, 4, 6, 10], "coerc": 2, "correct": 2, "shape": [2, 4], "numpi": [2, 4], "pytorch": [2, 4, 9], "mean": [2, 4, 9, 11], "greater": 2, "than": [2, 6, 8, 9, 10], "one": [2, 4, 9, 10, 11], "hi": [2, 9], "similarli": 2, "3": [2, 4, 7, 8, 9, 10, 11], "futur": [2, 9], "mai": [2, 8, 9], "preserv": [2, 9], "form": [2, 4, 9], "could": [2, 4, 8, 9], "potenti": [2, 3, 4, 8], "lead": [2, 4, 9, 11], "conflict": 2, "beta": [2, 8], "phase": 2, "close": [2, 8], "feedback": [2, 11], "adjust": [2, 8], "base": [2, 4, 6, 8, 9], "experi": [2, 4, 9], "your": [2, 3, 5, 8, 9, 12], "take": [2, 4, 6, 8, 9, 10], "combin": [2, 6, 8, 9], "appropri": [2, 6], "simplifi": [2, 6, 7, 8, 10], "focu": [2, 6], "logic": [2, 6], "rather": [2, 6, 9, 10], "intricaci": [2, 6], "payload": [2, 6], "audio": [2, 4, 6, 10, 11], "pleas": [2, 8], "document": [2, 4], "great": [2, 10], "might": [2, 4, 9, 10], "util": [2, 5, 7, 8, 9], "beyond": 2, "just": [2, 4, 6, 9, 11], "ll": [2, 4, 7, 8, 10], "fundament": [2, 4, 6, 9], "streamlin": [2, 8], "common": 2, "either": [2, 9, 11], "summarize_text": 2, "expert": [2, 9, 10, 11], "summar": [2, 8], "follow": [2, 3, 4, 6, 7, 8, 9, 10, 11], "unus": 2, "re": [2, 9], "train": [2, 9, 11], "image_descript": 2, "http": [2, 3, 4, 6, 8, 12], "com": [2, 4, 6, 8, 12], "long": 2, "regardless": 2, "otherwis": 2, "lm": [2, 9], "story1": 2, "dai": 2, "life": 2, "story2": 2, "first": [2, 6, 7, 8, 9, 10, 12], "conscious": 2, "9": 2, "500": 2, "previou": [3, 9, 10], "chapter": [3, 6, 9], "explor": [3, 6, 9], "trace": [3, 8], "These": [3, 4, 9], "solid": 3, "foundat": 3, "manag": [3, 5, 9, 10], "truli": 3, "tool": [3, 4, 9, 10], "interpret": 3, "effect": [3, 8, 9, 10], "sourc": [3, 8, 9, 11, 13], "complement": 3, "run": [3, 8, 10, 12], "local": [3, 9, 11], "machin": [3, 4, 6, 9, 11], "privaci": 3, "secur": 3, "abstract": [3, 6, 9], "action": [3, 8], "insight": [3, 10], "evolut": 3, "debug": [3, 9], "between": [3, 5, 9], "collabor": [3, 9], "team": [3, 9], "essenc": [3, 4, 9], "wealth": 3, "asset": 3, "keep": [3, 9], "under": 3, "start": [3, 11, 12], "command": [3, 10], "termin": [3, 10], "storag": [3, 9, 10, 11], "logdir": [3, 9, 10, 11], "Then": [3, 8, 10], "go": [3, 9, 11], "localhost": 3, "8080": 3, "web": [3, 10, 11], "browser": [3, 10], "directori": [3, 10], "sinc": 3, "assur": 3, "sensit": 3, "never": [3, 8, 9], "leav": 3, "offer": [3, 5, 6, 8, 9, 10], "represent": 3, "depend": [3, 8, 10], "structur": [3, 4, 8, 9, 10], "understand": [3, 4, 9], "bottleneck": 3, "area": 3, "architectur": 3, "each": [3, 7, 9, 10], "side": [3, 4], "view": [3, 9], "auto": [3, 8], "impact": [3, 10], "output": [3, 4, 6, 8, 9, 11], "usag": [3, 9, 10], "flow": [3, 6, 8, 9], "level": [3, 5, 9], "depth": [3, 10], "trend": 3, "invalu": 3, "built": [3, 4, 9], "examin": [3, 4], "compar": [3, 9, 11], "quickli": [3, 9, 10], "chat": [4, 9, 10], "thei": [4, 6, 8, 9, 11], "consist": [4, 8], "some": [4, 8, 9], "multimod": [4, 10], "other": [4, 6, 7, 9, 10, 11], "modal": [4, 6], "becom": [4, 6, 8, 10], "practic": [4, 9, 10, 11], "consum": 4, "markup": 4, "block": 4, "ha": [4, 6, 8, 9], "led": 4, "establish": 4, "pedant": 4, "even": 4, "compound": 4, "fact": 4, "stainless": 4, "spec": 4, "build": [4, 11], "bind": 4, "librari": [4, 6, 8, 9, 10, 13], "exist": [4, 8], "primarili": [4, 6], "inconveni": 4, "index": 4, "unnecessarili": 4, "capit": [4, 11], "moon": 4, "hughkguht": 4, "line": [4, 10], "my_prompt_engineering_librari": 4, "themselv": 4, "lack": [4, 9], "featur": [4, 6, 9, 10, 11], "possibl": [4, 6, 9, 10], "consid": [4, 6, 7, 8, 9], "highlight": 4, "image_url": [4, 6], "url": [4, 6, 8, 11], "though": 4, "implicit": [4, 8], "infer": [4, 8], "valid": 4, "co": 4, "inher": 4, "wrong": 4, "gap": 4, "less": [4, 6, 8], "u": [4, 8, 9, 10, 12], "philosophi": [4, 6], "except": [4, 7, 8, 11], "abl": [4, 8], "minim": [4, 9], "amount": 4, "necessari": 4, "achiev": [4, 7, 9, 10], "drawn": 4, "inspir": 4, "learn": [4, 6, 9, 10, 11], "scientif": [4, 9], "tensorflow": [4, 9], "kei": [4, 5, 9, 10], "our": [4, 7, 10], "center": 4, "ndarrai": 4, "image_detail": 4, "_lstr": [4, 9], "toolcal": [4, 8], "toolresult": 4, "check_single_non_nul": 4, "incorpor": 4, "tradition": [4, 6, 9], "some_pil_image_object": 4, "concis": [4, 6], "furthermor": [4, 8, 9], "concept": [4, 10, 11], "refer": [4, 8], "essenti": [4, 7, 9], "partial": 4, "compos": [4, 6], "arg": 4, "shouldn": 4, "draw": [4, 9], "html": [4, 8], "javascript": 4, "selector": 4, "well": [4, 6, 9], "beautifulsoup": [4, 8], "why": 4, "let": [4, 6, 7, 10], "had": 4, "illustr": [4, 9], "without": [4, 5, 6, 8, 9], "unifi": [4, 6], "assum": 4, "chatcomplet": [4, 6, 10], "me": [4, 8], "sketch": 4, "message_cont": 4, "check": [4, 6, 9, 10], "has_imag": 4, "isinst": 4, "has_text": 4, "has_tool_cal": 4, "function_cal": 4, "image_cont": 4, "text_cont": 4, "joitext_cont": 4, "thing": 4, "after": [4, 9, 10, 11], "section": [4, 8, 11, 12], "draw_sketch": 4, "pilimag": 4, "conevni": 4, "replac": 4, "indic": 4, "rgb": 4, "nworld": 4, "lambda": 4, "x": [4, 9], "len": 4, "1": [4, 6, 8, 9, 10, 11], "tool_call_id": [4, 8], "123": 4, "custommodel": 4, "parsed_cont": 4, "42": 4, "image1": 4, "image2": 4, "200": 4, "audio1": 4, "np": [4, 6], "arrai": [4, 6], "audio2": 4, "6": [4, 9], "relationship": [5, 9], "crucial": [5, 9], "robust": [5, 6, 10], "numer": 5, "anthrop": 5, "coher": 5, "groq": 5, "upon": 5, "fall": [5, 9], "back": [5, 8], "newli": 5, "releas": [5, 9], "updat": [5, 9, 10, 12], "fallback": 5, "fail": 5, "own": [5, 8, 9], "below": 5, "api_kei": [5, 10], "next": [5, 9], "my_lmp": 5, "respond": [5, 7, 9], "another_cli": 5, "my_custom_cli": 5, "newer": 5, "expand": [6, 9], "too": [6, 11], "seamlessli": 6, "rise": 6, "been": 6, "landscap": 6, "rapidli": [6, 9], "dall": 6, "shift": 6, "present": [6, 8], "opportun": 6, "unwieldi": 6, "increas": [6, 10], "doesn": [6, 9, 11], "align": [6, 9], "error": [6, 8, 12], "prone": [6, 8], "citizen": 6, "shine": 6, "some_pil_imag": 6, "There": 6, "cat": 6, "notic": 6, "generate_audiovisual_novel": 6, "topic": [6, 10, 11], "audiovisu": 6, "novel": 6, "pirat": 6, "adventur": 6, "treasur": 6, "crew": 6, "ship": 6, "sail": 6, "quest": 6, "find": [6, 11], "lost": 6, "king": 6, "must": [6, 7, 8], "navig": 6, "treacher": 6, "water": 6, "avoid": 6, "wrath": 6, "sea": 6, "monster": 6, "outsmart": 6, "search": [6, 8, 9], "img": 6, "extens": 6, "seamless": 6, "ecosystem": [6, 11], "popular": 6, "media": 6, "easi": [6, 11], "preprocess": 6, "postprocess": 6, "imageenh": 6, "enhance_imag": 6, "contrast": 6, "analyze_enhanced_imag": 6, "notabl": 6, "demonstr": [6, 7], "techniqu": [6, 9, 10, 11], "workflow": [6, 9], "aspect": [6, 8], "abil": [6, 9, 10], "involv": [6, 8, 9, 10, 11], "generate_image_capt": 6, "caption": 6, "text_to_speech": 6, "speech": 6, "create_social_media_post": 6, "social": 6, "some_imag": 6, "feel": 6, "isn": [6, 9], "principl": [6, 11], "reflect": 6, "empow": 6, "eas": 6, "predict": 7, "clear": [7, 9, 10], "schema": [7, 9], "expect": [7, 9], "adher": 7, "constraint": 7, "easier": [7, 8], "downstream": 7, "reliabl": [7, 8], "larger": [7, 9], "onc": [7, 8, 9], "individu": 7, "part": [7, 9], "manual": [7, 8, 9, 10], "json": [7, 8], "purposefulli": 7, "chose": 7, "opinion": [7, 8], "nativ": 7, "situat": 7, "generate_movie_review_manu": 7, "absolut": 7, "model_json_schema": 7, "parser": [7, 8], "soon": [7, 11, 13], "unpars": 7, "model_validate_json": 7, "highli": [8, 9], "underdevelop": 8, "significantli": 8, "caution": 8, "product": [8, 9], "environ": [8, 9, 12], "extern": 8, "servic": [8, 9], "dynam": [8, 9, 10, 11], "retriev": 8, "decis": [8, 10], "real": [8, 9, 10], "regular": [8, 10, 11], "create_claim_draft": 8, "claim_detail": 8, "claim_typ": 8, "claim_amount": 8, "claim_dat": 8, "date": 8, "claim": 8, "yyyi": 8, "mm": 8, "dd": 8, "draft": [8, 9, 10, 11], "id": [8, 9, 11], "claim_id": 8, "123234": 8, "signatur": [8, 9], "annot": 8, "inspect": [8, 9], "determin": 8, "compat": 8, "requir": [8, 9, 11], "insurance_claim_chatbot": 8, "insur": 8, "dialogu": 8, "effectu": 8, "ask": 8, "question": 8, "until": 8, "enough": 8, "approv": 8, "decid": 8, "websit": 8, "get_website_cont": 8, "chief": 8, "goal": [8, 9], "invok": [8, 9], "get_html_cont": 8, "refus": 8, "request": [8, 11], "knowledg": 8, "protocol": 8, "soup": 8, "get_text": 8, "agent": 8, "tell": [8, 9, 10], "front": 8, "contenblock": 8, "nyt": 8, "lang": 8, "en": 8, "nytapp": 8, "vi": 8, "homepag": 8, "xmln": 8, "og": 8, "opengraphprotocol": 8, "org": 8, "rh": 8, "head": 8, "meta": 8, "charset": 8, "utf": 8, "8": 8, "break": [8, 10], "video": [8, 10, 11], "declin": 8, "clarif": 8, "look": [8, 10], "empti": 8, "end": 8, "lot": 8, "boilerpl": 8, "ad": [8, 9, 10], "user_messag": 8, "broke": 8, "car": 8, "smash": 8, "someon": 8, "els": 8, "5k": 8, "file": [8, 9, 12], "response_messag": 8, "next_messag": 8, "effici": [8, 9, 10], "speed": 8, "independ": 8, "made": 8, "introduc": [8, 9, 10], "would": [8, 9], "behind": [8, 9, 10], "scene": [8, 9, 10], "reduc": 8, "explicit": [8, 9], "captur": [8, 9, 11], "immedi": 8, "fed": 8, "further": [8, 10], "cycl": 8, "loop": [8, 9, 11], "known": [8, 9], "problem": [8, 9, 11], "solv": 8, "thank": 8, "aidan": 8, "mclau": 8, "suggest": 8, "ideal": [8, 9], "meticul": 8, "lexic": 8, "anoth": [8, 9], "elimin": 8, "everi": [8, 9], "search_twitt": 8, "queri": 8, "three": 8, "word": [8, 11], "async": 8, "fetch_tweet": 8, "await": 8, "pool": 8, "login_al": 8, "try": [8, 9, 12], "tweet": 8, "tweet_str": 8, "author": 8, "usernam": 8, "rawcont": 8, "favorit": 8, "likecount": 8, "retweet": 8, "retweetcount": 8, "asyncio": 8, "twitter_result": 8, "join": [8, 9, 10, 11], "twitter": 8, "integ": 8, "accomplish": 8, "correspond": [8, 9], "claud": 8, "sonnet": 8, "generate_tool_spec": 8, "tool_sourc": 8, "produc": [8, 9, 10, 11], "some_tool": 8, "some_arg": 8, "auto_tool_spec": 8, "load": 8, "addition": [8, 9], "compromis": 8, "regard": 8, "reproduc": [8, 9], "pre": [8, 9], "packag": [8, 9, 12], "consciou": 8, "signific": 8, "consequ": [8, 9], "my_custom_tool_spec_gener": 8, "repo": 8, "my_llm_program": 8, "mitig": 8, "along": [8, 9, 10], "across": [8, 9], "lexical_closur": [8, 9], "_generated_spec": 8, "toolspec": 8, "enforc": 8, "determinist": 8, "remain": 8, "iter": [9, 11], "sent": [9, 11], "maxim": 9, "impli": 9, "reward": 9, "metric": 9, "assess": [9, 10], "qualiti": [9, 10], "realiti": 9, "much": [9, 10], "messier": 9, "few": 9, "tweak": 9, "slightli": 9, "hope": 9, "seem": 9, "unclear": 9, "uniformli": 9, "sometim": 9, "regress": [9, 11], "unknown": 9, "elsewher": 9, "codebas": 9, "hypothes": 9, "revert": 9, "undo": 9, "redo": 9, "shortcut": 9, "editor": [9, 10, 11], "solut": [9, 11], "analogi": 9, "aim": 9, "period": 9, "save": [9, 11], "evalu": 9, "hyperparamet": 9, "failur": 9, "practition": 9, "standard": 9, "resort": 9, "ineffici": 9, "git": 9, "minor": 9, "hash": 9, "alongsid": 9, "comparison": [9, 10], "against": 9, "convent": 9, "scatter": 9, "throughout": 9, "importantli": [9, 10], "discret": [9, 11], "encapsul": [9, 10, 11], "point": 9, "exact": 9, "embed": 9, "larg": [9, 13], "myother_modul": 9, "constant": 9, "other_cod": 9, "some_other_funct": 9, "bob": 9, "some_other_cod": 9, "abov": 9, "bodi": 9, "suffici": 9, "fortun": 9, "free": 9, "variabl": [9, 10, 12], "syntax": 9, "tree": 9, "ast": 9, "bound": 9, "recurs": 9, "enumer": 9, "breviti": 9, "were": 9, "instal": [9, 11], "appear": 9, "mini": [9, 10, 11], "generate_story_idea": [9, 10], "ideat": [9, 10], "answer": [9, 10, 11], "sentenc": [9, 10], "idea": [9, 10, 11], "write_a_draft_of_a_stori": [9, 10], "adept": [9, 10, 11], "paragraph": [9, 10, 11], "choose_the_best_draft": [9, 10, 11], "fiction": [9, 10, 11], "choos": [9, 10, 11], "best": [9, 10, 11], "write_a_really_good_stori": [9, 10], "novelist": [9, 10], "style": [9, 10, 11], "hemmingwai": [9, 10], "lowercas": [9, 10], "batch": [9, 10], "best_draft": [9, 10, 11], "revis": [9, 10], "voic": [9, 10], "dog": [9, 10], "facilit": 9, "promis": 9, "flavor": 9, "archiv": 9, "deploy": 9, "former": 9, "reason": 9, "previous": 9, "mention": 9, "tune": [9, 11], "latter": 9, "scale": 9, "fine": [9, 10, 11], "dataset": [9, 11], "mind": 9, "wa": [9, 11], "happen": [9, 10], "entir": 9, "did": 9, "dictat": 9, "sqlite": 9, "db": [9, 10], "blob": [9, 10], "cannot": 9, "fit": 9, "row": 9, "databas": 9, "arbitrari": 9, "launch": 9, "weight": [9, 11], "bias": 9, "wandb": 9, "central": 9, "kind": 9, "anytim": 9, "aforement": 9, "written": 9, "occur": [9, 12], "later": 9, "least": 9, "sql": 9, "greet": [9, 10], "greeter": 9, "alic": 9, "wonder": 9, "meet": 9, "serializedlmp": 9, "tabl": 9, "lmp_id": 9, "1a2b3c4d5e6f7g8h": 9, "ndef": 9, "created_at": 9, "2023": 9, "07": 9, "15t10": 9, "00z": 9, "lmp_type": 9, "initial_free_var": 9, "initial_global_var": 9, "num_invoc": 9, "commit_messag": 9, "version_numb": 9, "And": 9, "9i8u7y6t5r4e3w2q": 9, "latency_m": 9, "250": 9, "prompt_token": 9, "15": 9, "completion_token": 9, "01z": 9, "invocationcont": 9, "invocation_id": 9, "invocation_api_param": 9, "50": 9, "diff": 9, "background": 9, "human": [9, 11], "supersed": 9, "colloc": 9, "fulli": [9, 11], "qualifi": 9, "seek": 9, "dedic": 9, "intercept": 9, "prove": 9, "scalabl": 9, "project": 9, "necessit": 9, "frequent": 9, "weav": 9, "langchain": [9, 11], "langsmith": 9, "emerg": 9, "distinct": 9, "intra": 9, "exemplifi": 9, "compress": 9, "templat": 9, "restrict": 9, "suit": 9, "organ": 9, "anyth": 9, "But": [9, 11], "deep": 9, "immut": 9, "origin": 9, "ae8f32s664200e1": 9, "4hdfjhe8ehf": 9, "behav": 9, "exactli": 9, "lstr": 9, "__origin_trace__": 9, "overridden": 9, "h": 9, "mutabl": 9, "y": 9, "345hef345h": 9, "z": 9, "weak": 9, "chain": 9, "unintend": 9, "mutat": 9, "symbol": 9, "create_person": 9, "backstorygpt": 9, "backstori": 9, "charact": 9, "incljud": 9, "names_list": 9, "format_message_histori": 9, "20": 9, "emoji": 9, "primit": 9, "activ": 9, "welcom": 10, "guid": [10, 12], "walk": 10, "uniqu": 10, "sam": [10, 11], "altman": [10, 11], "encourag": 10, "via": 10, "cleaner": 10, "d": 10, "happi": 10, "enthusiast": 10, "treatment": 10, "get_random_adject": 10, "adject": 10, "cheer": 10, "warm": 10, "vari": 10, "strategi": 10, "high": 10, "four": 10, "select": 10, "hemingwai": 10, "bon": 10, "chanc": 10, "realli": 10, "broader": 10, "space": 10, "step": 10, "filter": 10, "lower": [10, 11], "special": [10, 11], "focus": 10, "refin": 10, "chosen": 10, "composit": 10, "down": 10, "smaller": 10, "stage": 10, "give": 10, "grain": 10, "add": 10, "begin": 10, "script": 10, "heartfelt": 10, "sincer": 10, "get_random_punctu": 10, "express": 10, "punctuat": 10, "affect": 10, "tutori": 10, "lightweight": 11, "startup": 11, "aren": 11, "being": 11, "think": 11, "subroutin": 11, "clean": 11, "awar": 11, "autogener": 11, "checkpoint": 11, "strawberri": 11, "goe": 11, "dark": 11, "art": 11, "scienc": 11, "right": 11, "empiric": 11, "optimzi": 11, "catch": 11, "late": 11, "demo": 11, "someth": 11, "modular": 11, "write_ten_draft": 11, "worth": 11, "credit": 11, "distil": 11, "k": 11, "shot": 11, "reinforc": 11, "good": 11, "invocaiton": 11, "spectrum": 11, "artifact": 11, "scrape_websit": 11, "get_news_stori": 11, "message_respons": 11, "stock": 11, "market": 11, "play_audio": 11, "supprot": 11, "caus": 11, "yield": 11, "mdoel": 11, "describe_act": 11, "visiongpt": 11, "webcam": 11, "capture_webcam_imag": 11, "hold": 11, "book": 11, "inlin": 11, "unobtrus": 11, "migrat": 11, "onto": 11, "pypi": 12, "pip": 12, "verifi": 12, "__version__": 12, "platform": 12, "account": 12, "window": 12, "setx": 12, "openai_api_kei": 12, "maco": 12, "linux": 12, "bashrc": 12, "zshrc": 12, "export": 12, "www": 12, "anthropic_api_kei": 12, "upgrad": 12, "virtual": 12, "pip3": 12, "sudo": 12, "unix": 12, "administr": 12, "permiss": 12, "github": 12, "proce": 12, "sure": 13}, "objects": {"": [[13, 0, 0, "-", "ell"]], "ell": [[0, 1, 1, "", "Config"], [4, 1, 1, "", "ContentBlock"], [4, 1, 1, "", "Message"], [4, 5, 1, "", "assistant"], [1, 5, 1, "", "complex"], [0, 5, 1, "", "init"], [2, 5, 1, "", "simple"], [4, 5, 1, "", "system"], [4, 5, 1, "", "user"]], "ell.Config": [[0, 2, 1, "", "autocommit"], [0, 2, 1, "", "default_lm_params"], [0, 3, 1, "", "get_client_for"], [0, 3, 1, "", "get_provider_for"], [0, 3, 1, "", "get_store"], [0, 2, 1, "", "lazy_versioning"], [0, 3, 1, "", "model_registry_override"], [0, 2, 1, "", "override_wrapped_logging_width"], [0, 2, 1, "", "providers"], [0, 3, 1, "", "register_model"], [0, 3, 1, "", "register_provider"], [0, 3, 1, "", "reset"], [0, 3, 1, "", "set_default_client"], [0, 3, 1, "", "set_default_lm_params"], [0, 3, 1, "", "set_store"], [0, 2, 1, "", "verbose"], [0, 2, 1, "", "wrapped_logging"]], "ell.ContentBlock": [[4, 2, 1, "", "image_detail"]], "ell.Message": [[4, 4, 1, "", "audios"], [4, 3, 1, "", "call_tools_and_collect_as_message"], [4, 4, 1, "", "images"], [4, 4, 1, "", "parsed"], [4, 4, 1, "", "text"], [4, 4, 1, "", "text_only"], [4, 4, 1, "", "tool_calls"], [4, 4, 1, "", "tool_results"]]}, "objtypes": {"0": "py:module", "1": "py:pydantic_model", "2": "py:pydantic_field", "3": "py:method", "4": "py:property", "5": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "pydantic_model", "Python model"], "2": ["py", "pydantic_field", "Python field"], "3": ["py", "method", "Python method"], "4": ["py", "property", "Python property"], "5": ["py", "function", "Python function"]}, "titleterms": {"configur": 0, "ell": [1, 2, 4, 6, 10, 11, 12, 13], "complex": [1, 11], "usag": [1, 2, 8], "kei": [1, 3, 12], "featur": [1, 2, 3, 8], "1": [1, 2], "structur": [1, 2, 7], "output": [1, 2, 7, 10], "2": 1, "multimod": [1, 2, 6, 11], "interact": [1, 6], "3": 1, "chat": 1, "base": 1, "us": [1, 8], "case": 1, "4": 1, "tool": [1, 2, 8, 11], "refer": [1, 2, 13], "simpl": [2, 10], "invok": 2, "an": [2, 11], "lmp": [2, 3, 8], "variabl": 2, "system": 2, "prompt": [2, 9, 10, 11], "pass": 2, "paramet": 2, "llm": [2, 4], "api": [2, 4, 5, 10, 12, 13], "multipl": 2, "n": 2, "input": 2, "what": [2, 10], "about": 2, "multiturn": 2, "convers": 2, "other": 2, "studio": [3, 10], "launch": 3, "visual": [3, 11], "version": [3, 9, 10, 11], "histori": 3, "comparison": 3, "invoc": 3, "analysi": 3, "perform": 3, "metric": 3, "viewer": 3, "messag": [4, 10], "challeng": 4, "The": [4, 6, 11], "solv": 4, "construct": [4, 9], "problem": 4, "common": 4, "role": 4, "pars": 4, "model": [5, 10, 11], "client": 5, "registr": 5, "default": 5, "specifi": 5, "custom": 5, "evolut": 6, "": [6, 10], "approach": 6, "power": 6, "composit": 6, "defin": 8, "schema": 8, "gener": 8, "singl": 8, "step": [8, 12], "multi": 8, "parallel": 8, "execut": 8, "futur": 8, "eager": 8, "mode": [8, 10], "spec": 8, "autogener": 8, "trace": 9, "checkpoint": 9, "serial": 9, "via": 9, "lexic": 9, "closur": 9, "depend": 9, "graph": 9, "autocommit": 9, "comput": [9, 11], "get": 10, "start": 10, "from": 10, "tradit": 10, "call": [10, 11], "understand": 10, "verbos": 10, "altern": 10, "format": 10, "languag": [10, 11], "program": [10, 11], "store": 10, "your": [10, 11], "explor": 10, "iter": 10, "auto": 10, "commit": 10, "compar": 10, "across": 10, "next": [10, 12], "librari": 11, "ar": 11, "string": 11, "engin": 11, "i": 11, "optim": 11, "process": 11, "monitor": 11, "test": 11, "time": 11, "import": 11, "everi": 11, "valuabl": 11, "when": 11, "you": 11, "need": 11, "simplic": 11, "don": 11, "t": 11, "should": 11, "first": 11, "class": 11, "shouldn": 11, "interfer": 11, "workflow": 11, "instal": 12, "setup": 12, "openai": 12, "anthrop": 12, "troubleshoot": 12, "packag": 13}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Configuration": [[0, "configuration"]], "@ell.complex": [[1, "ell-complex"]], "Usage": [[1, "usage"], [2, "usage"]], "Key Features": [[1, "key-features"]], "1. Structured Outputs": [[1, "structured-outputs"]], "2. Multimodal Interactions": [[1, "multimodal-interactions"]], "3. Chat-based Use Cases": [[1, "chat-based-use-cases"]], "4. Tool Usage": [[1, "tool-usage"]], "Reference": [[1, "reference"], [2, "reference"]], "@ell.simple": [[2, "ell-simple"]], "Invoking an ell.simple LMP": [[2, "invoking-an-ell-simple-lmp"]], "Variable system prompts": [[2, "variable-system-prompts"]], "Passing parameters to an LLM API": [[2, "passing-parameters-to-an-llm-api"]], "Multiple outputs (n>1)": [[2, "multiple-outputs-n-1"]], "Multimodal inputs": [[2, "multimodal-inputs"]], "What about multiturn conversations, tools, structured outputs, and other features?": [[2, "what-about-multiturn-conversations-tools-structured-outputs-and-other-features"]], "Studio": [[3, "studio"]], "Launching Studio": [[3, "launching-studio"]], "Key Features of Studio": [[3, "key-features-of-studio"]], "LMP Visualization": [[3, "lmp-visualization"]], "Version History and Comparison": [[3, "version-history-and-comparison"]], "Invocation Analysis": [[3, "invocation-analysis"]], "Performance Metrics": [[3, "performance-metrics"]], "LMP Viewer": [[3, "lmp-viewer"]], "Messages": [[4, "messages"]], "Challenges with LLM APIs": [[4, "challenges-with-llm-apis"]], "The ell Message API": [[4, "the-ell-message-api"]], "Solving the construction problem": [[4, "solving-the-construction-problem"]], "Common roles": [[4, "common-roles"]], "Solving the parsing problem": [[4, "solving-the-parsing-problem"]], "Models & API Clients": [[5, "models-api-clients"]], "Model Registration and Default Clients": [[5, "model-registration-and-default-clients"]], "Specifying Clients for Models": [[5, "specifying-clients-for-models"]], "Custom Model Registration": [[5, "custom-model-registration"]], "Multimodality": [[6, "multimodality"]], "The Evolution of Multimodal Interactions": [[6, "the-evolution-of-multimodal-interactions"]], "ell\u2019s Approach to Multimodality": [[6, "ell-s-approach-to-multimodality"]], "The Power of Multimodal Composition": [[6, "the-power-of-multimodal-composition"]], "Structured Outputs": [[7, "structured-outputs"]], "Tool Usage": [[8, "tool-usage"]], "Defining Tools": [[8, "defining-tools"]], "Schema Generation": [[8, "schema-generation"]], "Using Tools in LMPs": [[8, "using-tools-in-lmps"]], "Single-Step Tool Usage": [[8, "single-step-tool-usage"]], "Multi-Step Tool Usage": [[8, "multi-step-tool-usage"]], "Parallel Tool Execution": [[8, "parallel-tool-execution"]], "Future Features: Eager Mode": [[8, "future-features-eager-mode"]], "Future Features: Tool Spec Autogeneration": [[8, "future-features-tool-spec-autogeneration"]], "Versioning & Tracing": [[9, "versioning-tracing"]], "Checkpointing prompts": [[9, "checkpointing-prompts"]], "Serializing prompts via lexical closures": [[9, "serializing-prompts-via-lexical-closures"]], "Constructing a dependency graph": [[9, "constructing-a-dependency-graph"]], "Versioning": [[9, "versioning"]], "Autocommitting": [[9, "autocommitting"]], "Tracing": [[9, "tracing"]], "Constructing a computation graph": [[9, "constructing-a-computation-graph"]], "Getting Started": [[10, "getting-started"]], "From Traditional API Calls to ell": [[10, "from-traditional-api-calls-to-ell"]], "Understanding @ell.simple": [[10, "understanding-ell-simple"]], "Verbose Mode": [[10, "verbose-mode"]], "Alternative Message Formats": [[10, "alternative-message-formats"]], "Prompting as Language Model Programming": [[10, "prompting-as-language-model-programming"]], "Storing and Versioning Your Prompts": [[10, "storing-and-versioning-your-prompts"]], "Exploring Your Prompts with ell-studio": [[10, "exploring-your-prompts-with-ell-studio"]], "Iterating and Auto-Committing": [[10, "iterating-and-auto-committing"]], "Comparing Outputs Across Versions": [[10, "comparing-outputs-across-versions"]], "What\u2019s Next?": [[10, "what-s-next"]], "ell: The Language Model Programming Library": [[11, "ell-the-language-model-programming-library"]], "Prompts are programs, not strings": [[11, "prompts-are-programs-not-strings"]], "Prompt engineering is an optimization process": [[11, "prompt-engineering-is-an-optimization-process"]], "Tools for monitoring, versioning, and visualization": [[11, "tools-for-monitoring-versioning-and-visualization"]], "Test-time compute is important": [[11, "test-time-compute-is-important"]], "Every call to a language model is valuable": [[11, "every-call-to-a-language-model-is-valuable"]], "Complexity when you need it, simplicity when you don\u2019t": [[11, "complexity-when-you-need-it-simplicity-when-you-don-t"]], "Multimodality should be first class": [[11, "multimodality-should-be-first-class"]], "Prompt engineering libraries shouldn\u2019t interfere with your workflow": [[11, "prompt-engineering-libraries-shouldn-t-interfere-with-your-workflow"]], "Installation": [[12, "installation"]], "Installing ell": [[12, "installing-ell"]], "API Key Setup": [[12, "api-key-setup"]], "OpenAI API Key": [[12, "openai-api-key"]], "Anthropic API Key": [[12, "anthropic-api-key"]], "Troubleshooting": [[12, "troubleshooting"]], "Next Steps": [[12, "next-steps"]], "ell package": [[13, "ell-package"]], "API Reference": [[13, null]]}, "indexentries": {"autocommit (ell.config attribute)": [[0, "ell.Config.autocommit"]], "default_lm_params (ell.config attribute)": [[0, "ell.Config.default_lm_params"]], "get_client_for() (ell.config method)": [[0, "ell.Config.get_client_for"]], "get_provider_for() (ell.config method)": [[0, "ell.Config.get_provider_for"]], "get_store() (ell.config method)": [[0, "ell.Config.get_store"]], "init() (in module ell)": [[0, "ell.init"]], "lazy_versioning (ell.config attribute)": [[0, "ell.Config.lazy_versioning"]], "model_registry_override() (ell.config method)": [[0, "ell.Config.model_registry_override"]], "override_wrapped_logging_width (ell.config attribute)": [[0, "ell.Config.override_wrapped_logging_width"]], "providers (ell.config attribute)": [[0, "ell.Config.providers"]], "register_model() (ell.config method)": [[0, "ell.Config.register_model"]], "register_provider() (ell.config method)": [[0, "ell.Config.register_provider"]], "reset() (ell.config method)": [[0, "ell.Config.reset"]], "set_default_client() (ell.config method)": [[0, "ell.Config.set_default_client"]], "set_default_lm_params() (ell.config method)": [[0, "ell.Config.set_default_lm_params"]], "set_store() (ell.config method)": [[0, "ell.Config.set_store"]], "verbose (ell.config attribute)": [[0, "ell.Config.verbose"]], "wrapped_logging (ell.config attribute)": [[0, "ell.Config.wrapped_logging"]], "complex() (in module ell)": [[1, "ell.complex"]], "simple() (in module ell)": [[2, "ell.simple"]], "assistant() (in module ell)": [[4, "ell.assistant"]], "audios (ell.message property)": [[4, "ell.Message.audios"]], "call_tools_and_collect_as_message() (ell.message method)": [[4, "ell.Message.call_tools_and_collect_as_message"]], "image_detail (ell.contentblock attribute)": [[4, "ell.ContentBlock.image_detail"]], "images (ell.message property)": [[4, "ell.Message.images"]], "parsed (ell.message property)": [[4, "ell.Message.parsed"]], "system() (in module ell)": [[4, "ell.system"]], "text (ell.message property)": [[4, "ell.Message.text"]], "text_only (ell.message property)": [[4, "ell.Message.text_only"]], "tool_calls (ell.message property)": [[4, "ell.Message.tool_calls"]], "tool_results (ell.message property)": [[4, "ell.Message.tool_results"]], "user() (in module ell)": [[4, "ell.user"]], "ell": [[13, "module-ell"]], "module": [[13, "module-ell"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["core_concepts/configuration", "core_concepts/ell_complex", "core_concepts/ell_simple", "core_concepts/ell_studio", "core_concepts/message_api", "core_concepts/models_and_api_clients", "core_concepts/multimodality", "core_concepts/structured_outputs", "core_concepts/tool_usage", "core_concepts/versioning_and_storage", "getting_started", "index", "installation", "reference/index"], "filenames": ["core_concepts/configuration.rst", "core_concepts/ell_complex.rst", "core_concepts/ell_simple.rst", "core_concepts/ell_studio.rst", "core_concepts/message_api.rst", "core_concepts/models_and_api_clients.rst", "core_concepts/multimodality.rst", "core_concepts/structured_outputs.rst", "core_concepts/tool_usage.rst", "core_concepts/versioning_and_storage.rst", "getting_started.rst", "index.rst", "installation.rst", "reference/index.rst"], "titles": ["Configuration", "@ell.complex", "@ell.simple", "Studio", "Messages", "Models & API Clients", "Multimodality", "Structured Outputs", "Tool Usage", "Versioning & Tracing", "Getting Started", "Introduction", "Installation", "ell package"], "terms": {"ell": [0, 3, 5, 7, 8, 9], "provid": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13], "variou": [0, 1, 3, 4, 5, 6, 8, 9, 10, 11], "option": [0, 1, 2, 8, 11], "custom": [0, 7, 8, 9], "its": [0, 2, 6, 8, 9, 10, 11], "behavior": [0, 2, 3], "init": [0, 3, 9, 10, 11], "store": [0, 3, 8, 9, 11], "str": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "none": [0, 1, 2, 4, 8], "verbos": [0, 4, 6], "bool": [0, 1, 2], "fals": [0, 1, 2, 4], "autocommit": [0, 10], "true": [0, 1, 2, 8, 9, 10], "lazy_vers": 0, "default_lm_param": 0, "dict": [0, 1, 2, 4, 9, 10], "ani": [0, 1, 2, 4, 6, 8, 9, 10, 11], "default_openai_cli": 0, "openai": [0, 1, 2, 4, 5, 6, 8, 9, 10, 11], "initi": [0, 3, 5, 9, 10], "set": [0, 2, 4, 6, 9, 10, 12], "paramet": [0, 1, 3, 8, 9], "oper": [0, 8, 9], "union": [0, 9], "can": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "instanc": [0, 1, 2, 6, 9], "string": [0, 1, 2, 4, 8, 9, 10], "path": [0, 2, 9], "sqlitestor": [0, 9], "enabl": [0, 1, 2, 5, 7, 8, 9, 10], "disabl": 0, "lazi": 0, "version": [0, 1, 2, 4, 8], "default": [0, 1, 2, 9], "languag": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13], "model": [0, 1, 2, 3, 4, 6, 7, 8, 9, 12, 13], "client": [0, 1, 2, 4, 10], "thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13], "function": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "i": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 13], "conveni": [0, 2, 4, 6], "up": [0, 6, 8, 9, 10, 12], "It": [0, 1, 2, 3, 6, 8, 9, 10, 11, 13], "thin": 0, "wrapper": [0, 9], "around": [0, 2, 4, 9, 11], "config": [0, 5], "class": [0, 1, 4, 6, 7, 8, 9], "which": [0, 1, 2, 3, 4, 6, 7, 8, 9], "pydant": [0, 1, 4, 7, 8], "you": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12], "modifi": [0, 2, 9, 10, 11], "global": [0, 5, 9], "us": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12], "object": [0, 1, 2, 4, 6, 8, 9, 11], "an": [0, 1, 3, 4, 6, 8, 9, 10, 12], "field": [0, 1, 4, 7, 8], "If": [0, 1, 2, 5, 9], "automat": [0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 13], "commit": [0, 3, 8, 9, 11], "chang": [0, 2, 3, 6, 8, 9, 10, 11], "improv": [0, 2, 3, 9, 10], "perform": [0, 1, 8, 9], "override_wrapped_logging_width": 0, "int": [0, 1, 2, 4, 7], "overrid": [0, 2], "width": 0, "wrap": [0, 2, 8, 9], "log": 0, "type": [0, 1, 2, 4, 6, 8, 9, 10, 11], "A": [0, 1, 2, 4, 6, 7, 9, 11], "dictionari": [0, 1, 2, 4], "map": [0, 6], "wrapped_log": 0, "better": [0, 9], "readabl": [0, 2, 4, 6, 9, 10, 11], "get_client_for": 0, "model_nam": 0, "tupl": [0, 9], "get": [0, 1, 4, 7, 8, 11, 12], "specif": [0, 2, 3, 4, 5, 7, 8, 9, 10], "name": [0, 1, 2, 7, 8, 9, 10, 11], "The": [0, 1, 2, 7, 8, 9, 10], "return": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "specifi": [0, 1, 2, 3, 4, 8, 9, 11], "found": [0, 5, 9], "get_provider_for": 0, "abstractprovid": 0, "get_stor": 0, "current": [0, 1, 2, 7, 8, 9], "model_registry_overrid": 0, "temporarili": 0, "registri": 0, "new": [0, 1, 4, 5, 6, 8, 9, 10, 11], "register_model": [0, 5], "regist": [0, 5], "associ": [0, 9], "register_provid": 0, "provider_class": 0, "reset": 0, "state": [0, 1], "set_default_cli": 0, "set_default_lm_param": 0, "param": [0, 2, 4, 9], "keyword": [0, 1, 2], "argument": [0, 1, 2, 8, 9, 10], "repres": [0, 4, 8], "set_stor": 0, "whether": 0, "while": [1, 2, 3, 4, 6, 8, 9, 10, 11], "simpl": [1, 4, 5, 6, 7, 8, 9, 11, 13], "straightforward": [1, 2, 5], "wai": [1, 2, 5, 6, 9, 10, 11], "work": [1, 2, 4, 6, 7, 8, 9, 10, 11, 13], "text": [1, 2, 4, 6, 8, 9, 11], "modern": 1, "ar": [1, 2, 4, 6, 7, 8, 9, 10, 12], "increasingli": 1, "capabl": [1, 2, 3, 4, 6, 8, 9, 10], "handl": [1, 2, 4, 6, 8, 10], "gener": [1, 2, 3, 4, 6, 7, 9, 10, 11, 13], "content": [1, 2, 4, 6, 7, 8, 10, 11], "where": [1, 2, 3, 4, 8, 9], "come": [1, 2, 3, 6, 7, 9, 13], "plai": [1, 2, 6], "decor": [1, 2, 4, 5, 6, 8, 10], "design": [1, 2, 6, 9, 10, 11], "sophist": [1, 2, 6], "includ": [1, 2, 3, 4, 6, 8, 11], "input": [1, 3, 4, 6, 8, 9, 10, 11], "data": [1, 2, 3, 4, 6, 7, 8, 9, 11], "extend": [1, 6], "": [1, 2, 3, 4, 7, 8, 9, 11], "address": [1, 2, 6, 8, 9], "evolv": [1, 6, 9, 10], "natur": [1, 6, 8], "now": [1, 4, 9, 10], "process": [1, 2, 4, 6, 8, 9, 10], "imag": [1, 2, 4, 6, 10, 11], "make": [1, 2, 4, 6, 7, 8, 9, 10, 11], "call": [1, 2, 4, 5, 8, 9], "engag": [1, 6], "multi": [1, 3, 4], "turn": [1, 3], "convers": [1, 6, 8, 10], "By": [1, 6, 7, 8, 9, 10, 11], "rich": [1, 2, 4, 11], "messag": [1, 2, 3, 6, 7, 8, 9, 11], "instead": [1, 2, 4, 8, 12], "more": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12], "nuanc": 1, "power": [1, 3, 7, 8, 9, 10], "overcom": 1, "limit": [1, 8], "tradit": [1, 4, 6], "interfac": [1, 2, 3, 6, 9, 10, 11, 13], "advanc": [1, 2, 6, 8, 9, 10], "scenario": [1, 2, 8, 9], "same": [1, 2, 3, 4, 10], "api": [1, 6, 8, 9], "intuit": [1, 2, 3, 6, 13], "flexibl": [1, 2, 6, 10], "construct": [1, 2, 6, 10], "manipul": [1, 2, 7, 9], "read": [1, 2, 4, 13], "about": [1, 4, 8, 9, 10, 11], "coercion": [1, 2, 4, 11], "page": [1, 2, 4, 8], "basic": 1, "similar": [1, 2, 4, 7, 9, 11], "enhanc": [1, 2, 4, 6, 7, 8, 9], "import": [1, 2, 4, 5, 6, 7, 9, 10, 12], "from": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12], "basemodel": [1, 4, 7], "moviereview": [1, 7], "titl": [1, 7, 8], "descript": [1, 2, 7, 8, 9], "movi": [1, 7], "rate": [1, 7], "out": [1, 7, 9, 10], "10": [1, 7, 9, 11], "summari": [1, 2, 7], "brief": [1, 7], "gpt": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "4o": [1, 6, 7, 8, 9, 10, 11], "2024": [1, 7, 9], "08": [1, 7, 9], "06": [1, 7, 9], "response_format": [1, 7], "def": [1, 2, 4, 5, 6, 7, 8, 9, 10, 11], "generate_movie_review": [1, 7], "review": [1, 7], "given": [1, 2, 4, 7, 8, 10], "need": [1, 2, 3, 4, 6, 7, 8, 9, 12], "f": [1, 2, 5, 7, 8, 9, 10, 11], "review_messag": 1, "matrix": [1, 7], "pars": [1, 6, 7], "print": [1, 2, 4, 6, 7, 8, 9, 10, 11, 12], "allow": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "incept": 1, "pil": [1, 2, 4, 6, 11], "5": [1, 2, 4, 6, 7, 8, 9, 11], "omni": [1, 4, 6, 11], "describe_and_gener": 1, "prompt": [1, 3, 4, 5, 6, 7, 8], "system": [1, 3, 4, 6, 7, 8, 9, 10, 11], "describ": [1, 2, 6, 11], "ones": 1, "user": [1, 2, 4, 6, 7, 8, 9, 10, 11], "result": [1, 2, 3, 4, 5, 6, 8, 9, 10], "seren": 1, "lake": 1, "sunset": 1, "0": [1, 2, 4, 6, 8, 9, 10, 11], "show": [1, 3, 4, 9, 10], "displai": [1, 6], "particularli": [1, 2, 3, 8], "applic": [1, 2, 6, 7, 9, 10], "maintain": [1, 8, 10], "histori": [1, 8, 10], "temperatur": [1, 2, 8, 9, 10, 11], "7": [1, 2, 8], "chat_bot": 1, "message_histori": [1, 8, 9], "list": [1, 2, 4, 8, 9, 10, 11], "friendli": [1, 4, 9, 10], "chatbot": [1, 8], "casual": 1, "user_input": 1, "append": [1, 8], "respons": [1, 2, 4, 7, 8, 9, 10, 11], "bot": 1, "support": [1, 2, 4, 6, 7, 8, 9, 10, 11], "get_weath": 1, "locat": [1, 9], "full": [1, 2, 3, 9, 10, 11], "citi": 1, "countri": 1, "e": [1, 2, 6, 8, 9], "g": [1, 2], "san": 1, "francisco": 1, "ca": 1, "usa": 1, "weather": 1, "simul": 1, "sunni": 1, "turbo": [1, 7, 9, 10], "travel_plann": 1, "destin": 1, "plan": 1, "trip": 1, "travel": [1, 2], "planner": 1, "relev": 1, "advic": 1, "pari": 1, "tool_cal": [1, 4, 8, 11], "done": [1, 11], "so": [1, 4, 6, 7], "we": [1, 2, 3, 4, 6, 7, 8, 9, 10, 11], "pass": [1, 4, 9, 10, 11], "tool_result": [1, 4, 8], "call_tools_and_collect_as_messag": [1, 4, 8], "info": 1, "exempt_from_track": [1, 2], "callabl": [1, 2], "post_callback": 1, "api_param": [1, 2, 9], "program": [1, 2, 3, 4, 5, 6, 8, 9, 12, 13], "llm": [1, 8, 9, 11], "transform": [1, 2, 3, 8, 10], "lmp": [1, 9, 10, 11, 13], "format": [1, 2, 4, 6, 7, 8, 9], "control": [1, 3, 7, 9, 10, 11], "over": [1, 2, 3, 9, 10, 11], "identifi": [1, 2, 3, 9], "onli": [1, 2, 4, 7, 8, 9, 10, 11], "avail": [1, 4, 5, 7, 9, 12], "certain": 1, "n": [1, 4, 8, 9, 10, 11], "number": [1, 8], "float": [1, 4, 8], "random": [1, 9, 10], "max_token": [1, 2, 9], "maximum": 1, "token": [1, 2, 3], "top_p": 1, "top": [1, 2], "p": 1, "sampl": [1, 10, 11], "divers": [1, 10], "frequency_penalti": 1, "frequenc": [1, 3], "penalti": 1, "repetit": 1, "presence_penalti": 1, "presenc": 1, "stop": [1, 2], "sequenc": 1, "won": [1, 2], "t": [1, 2, 4, 6, 9], "track": [1, 2, 3, 9, 10], "befor": [1, 4, 11], "addit": [1, 2, 8, 9, 11], "underli": [1, 2], "appli": [1, 2, 9, 10], "creation": [1, 8, 9], "within": [1, 2, 4, 6, 7, 8, 9, 10, 12], "context": [1, 3, 8], "both": [1, 2, 4, 6, 7, 9, 12], "singl": [1, 2, 9, 10], "etc": 1, "comprehens": [1, 3, 9], "integr": [1, 6, 7], "monitor": [1, 2, 9], "configur": [1, 5, 9], "raw": 1, "them": [1, 2, 7, 8, 9], "through": [1, 2, 9, 10, 11], "post": [1, 6], "callback": 1, "multipl": [1, 3, 5, 6, 8, 10, 11], "mode": [1, 7], "exampl": [1, 2, 4, 6, 7, 8, 9, 10], "generate_stori": [1, 2], "creativ": 1, "stori": [1, 2, 9, 10, 11], "writer": [1, 9, 10, 11], "write": [1, 2, 9, 10, 11], "short": [1, 2, 9], "robot": 1, "discov": [1, 10], "emot": 1, "access": [1, 3, 4, 6, 7, 8], "last": 1, "help": [1, 2, 3, 4, 6, 8, 9, 10, 11, 12], "assist": [1, 2, 4, 6, 8, 9, 10, 11], "hello": [1, 2, 4, 5, 8, 9, 10, 11], "who": [1, 6, 11], "m": [1, 8], "ai": [1, 2, 6, 8, 12], "how": [1, 2, 4, 6, 7, 8, 9, 10], "todai": [1, 8], "explain": [1, 3], "quantum": 1, "comput": [1, 2, 4, 8, 10], "implement": [1, 8, 9, 11], "fetch": [1, 8], "weather_assist": 1, "when": [1, 2, 3, 4, 5, 6, 8, 9, 10], "what": [1, 4, 6, 8, 9, 11], "like": [1, 2, 4, 5, 6, 8, 9, 10], "york": [1, 8], "continu": [1, 6, 7, 8, 9, 11], "final_respons": 1, "final": [1, 8, 9, 10], "personinfo": 1, "ag": 1, "extract_person_info": 1, "extract": [1, 2, 4, 8, 9], "person": [1, 9, 11], "inform": [1, 2, 3, 8, 9, 10], "john": 1, "doe": [1, 6, 8, 9], "30": [1, 9], "year": [1, 11], "old": 1, "softwar": [1, 9], "engin": [1, 2, 3, 4, 8, 9, 10], "person_info": 1, "vision": [1, 2, 6], "preview": [1, 2, 6], "describe_imag": [1, 2, 6], "detail": [1, 2, 3, 8, 10], "contentblock": [1, 4, 6], "do": [1, 4, 7, 9, 10, 11], "see": [1, 2, 4, 9, 10, 11, 12], "open": [1, 2, 3, 6, 8, 10, 11], "jpg": [1, 2, 4, 6], "parallel": [1, 2, 4], "execut": [1, 2, 3, 9], "tool1": 1, "tool2": 1, "tool3": 1, "parallel_assist": 1, "task": [1, 3, 8, 10], "b": 1, "c": [1, 12], "simultan": [1, 6], "max_work": [1, 4, 8], "helper": [1, 2, 4, 8], "text_onli": [1, 4, 8], "exclud": 1, "non": [1, 4, 7], "element": [1, 6], "collect": [1, 3, 8], "role": [1, 2, 6, 8, 10], "to_openai_messag": 1, "convert": [1, 6, 8], "note": [1, 2, 9, 10], "should": [1, 2, 3, 4, 7, 8, 9, 10], "For": [1, 2, 4, 5, 6, 7, 8, 9, 10, 12], "ensur": [1, 3, 7, 8], "properli": 1, "all": [1, 2, 3, 4, 6, 8, 9, 10, 11], "simpler": 1, "properti": [1, 4, 6, 8], "easili": [1, 2, 3, 7, 8, 9], "differ": [1, 2, 3, 4, 6, 8, 9, 10], "also": [1, 2, 3, 4, 6, 7, 8, 9, 10], "defin": [1, 2, 7, 10, 11], "studio": [1, 2, 9, 11, 12], "visual": [1, 2, 6, 9, 10], "analyz": [1, 2, 3, 6, 9, 11], "core": [2, 4], "unit": [2, 4, 9, 10], "send": 2, "develop": [2, 4, 6, 8, 9], "driven": 2, "sever": [2, 4, 9, 10], "usabiltii": 2, "code": [2, 3, 4, 6, 7, 8, 9, 10, 11, 13], "forc": [2, 11], "decomposit": [2, 11], "reusabl": [2, 8, 10], "compon": 2, "serial": [2, 8, 11], "time": [2, 3, 8, 9, 10], "two": [2, 4, 9, 10], "main": [2, 4, 10], "docstr": [2, 8, 10], "valu": [2, 4, 10], "4": [2, 4, 6, 8, 9, 10], "sai": [2, 9, 10, 11], "explicitli": [2, 4, 5, 7, 10], "To": [2, 3, 4, 8, 9, 10, 11], "normal": [2, 9], "howev": [2, 3, 4, 6, 9], "receiv": [2, 8], "typic": [2, 4, 8, 9], "directli": [2, 4, 7, 8, 11], "constructor": [2, 4], "case": [2, 8, 9, 10, 11], "world": [2, 4, 5, 8, 9, 10, 11], "As": [2, 4, 6, 9], "optim": [2, 3, 4, 9], "usabl": 2, "most": [2, 4, 6, 9, 10], "invoc": [2, 8, 9, 11], "revolv": 2, "metadata": [2, 8, 9], "occasion": 2, "therefor": [2, 9], "have": [2, 4, 6, 7, 8, 9, 10], "framework": [2, 5, 6, 9], "shown": [2, 7], "here": [2, 8, 9, 10], "complex": [2, 3, 4, 6, 7, 8, 9, 10], "contain": [2, 4, 9, 12], "interact": [2, 3, 4, 8, 9], "One": [2, 6, 9, 10], "challeng": [2, 6, 8, 9], "want": [2, 4, 7, 8, 10], "python": [2, 6, 8, 9, 10, 11, 12, 13], "longer": 2, "treat": [2, 6, 9, 11], "liter": 2, "my_func": 2, "var": 2, "my": [2, 5, 8], "doc": 2, "__doc__": 2, "sens": 2, "becaus": [2, 4, 5, 7, 8, 9, 10, 11], "dure": [2, 8, 9], "static": [2, 9, 10, 11], "analysi": [2, 9, 11], "issu": [2, 4, 8, 9, 12], "second": 2, "method": [2, 5, 9], "creat": [2, 4, 6, 8, 9, 10, 11, 12], "With": [2, 3, 8, 9, 10, 11], "approach": [2, 4, 7, 8, 9, 10], "ignor": [2, 4, 9], "suppli": 2, "definit": [2, 8], "runtim": 2, "logit_bia": 2, "due": [2, 9], "simpli": [2, 9, 10, 12], "100": [2, 4, 8], "hei": 2, "likewis": [2, 4], "those": [2, 9], "particular": [2, 11], "lm_param": [2, 9, 10], "often": [2, 4, 9, 11], "leverag": [2, 3, 5, 7, 9, 10, 11], "test": [2, 9, 10], "mani": [2, 4, 11], "count": 2, "usual": 2, "In": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "actual": [2, 9, 11], "quit": [2, 4, 9], "cumbersom": [2, 4, 9], "separ": 2, "complet": [2, 3, 4, 9, 10], "choic": [2, 4, 9, 10], "everyon": 2, "2": [2, 4, 8, 9, 10], "r1": 2, "r2": 2, "spirit": 2, "simplic": 2, "ve": [2, 4, 6, 10], "coerc": 2, "correct": 2, "shape": [2, 4], "numpi": [2, 4], "pytorch": [2, 4, 9], "mean": [2, 4, 9, 11], "greater": 2, "than": [2, 6, 8, 9, 10], "one": [2, 4, 9, 10, 11], "hi": [2, 9], "similarli": 2, "3": [2, 4, 7, 8, 9, 10, 11], "futur": [2, 9], "mai": [2, 8, 9], "preserv": [2, 9], "form": [2, 4, 9], "could": [2, 4, 8, 9], "potenti": [2, 3, 4, 8], "lead": [2, 4, 9, 11], "conflict": 2, "beta": [2, 8], "phase": 2, "close": [2, 8], "feedback": [2, 11], "adjust": [2, 8], "base": [2, 4, 6, 8, 9], "experi": [2, 4, 9], "your": [2, 3, 5, 8, 9, 12], "take": [2, 4, 6, 8, 9, 10], "combin": [2, 6, 8, 9], "appropri": [2, 6], "simplifi": [2, 6, 7, 8, 10], "focu": [2, 6], "logic": [2, 6], "rather": [2, 6, 9, 10], "intricaci": [2, 6], "payload": [2, 6], "audio": [2, 4, 6, 10, 11], "pleas": [2, 8], "document": [2, 4], "great": [2, 10], "might": [2, 4, 9, 10], "util": [2, 5, 7, 8, 9], "beyond": 2, "just": [2, 4, 6, 9, 11], "ll": [2, 4, 7, 8, 10], "fundament": [2, 4, 6, 9], "streamlin": [2, 8], "common": 2, "either": [2, 9, 11], "summarize_text": 2, "expert": [2, 9, 10, 11], "summar": [2, 8], "follow": [2, 3, 4, 6, 7, 8, 9, 10, 11], "unus": 2, "re": [2, 9], "train": [2, 9, 11], "image_descript": 2, "http": [2, 3, 4, 6, 8, 12], "com": [2, 4, 6, 8, 12], "long": 2, "regardless": 2, "otherwis": 2, "lm": [2, 9], "story1": 2, "dai": 2, "life": 2, "story2": 2, "first": [2, 6, 7, 8, 9, 10, 12], "conscious": 2, "9": 2, "500": 2, "previou": [3, 9, 10], "chapter": [3, 6, 9], "explor": [3, 6, 9], "trace": [3, 8], "These": [3, 4, 9], "solid": 3, "foundat": 3, "manag": [3, 5, 9, 10], "truli": 3, "tool": [3, 4, 9, 10], "interpret": 3, "effect": [3, 8, 9, 10], "sourc": [3, 8, 9, 11, 13], "complement": 3, "run": [3, 8, 10, 12], "local": [3, 9, 11], "machin": [3, 4, 6, 9, 11], "privaci": 3, "secur": 3, "abstract": [3, 6, 9], "action": [3, 8], "insight": [3, 10], "evolut": 3, "debug": [3, 9], "between": [3, 5, 9], "collabor": [3, 9], "team": [3, 9], "essenc": [3, 4, 9], "wealth": 3, "asset": 3, "keep": [3, 9], "under": 3, "start": [3, 11, 12], "command": [3, 10], "termin": [3, 10], "storag": [3, 9, 10, 11], "logdir": [3, 9, 10, 11], "Then": [3, 8, 10], "go": [3, 9, 11], "localhost": 3, "5000": 3, "web": [3, 10, 11], "browser": [3, 10], "directori": [3, 10], "sinc": 3, "assur": 3, "sensit": 3, "never": [3, 8, 9], "leav": 3, "offer": [3, 5, 6, 8, 9, 10], "represent": 3, "depend": [3, 8, 10], "structur": [3, 4, 8, 9, 10], "understand": [3, 4, 9], "bottleneck": 3, "area": 3, "architectur": 3, "each": [3, 7, 9, 10], "side": [3, 4], "view": [3, 9], "auto": [3, 8], "impact": [3, 10], "output": [3, 4, 6, 8, 9, 11], "usag": [3, 9, 10], "flow": [3, 6, 8, 9], "level": [3, 5, 9], "depth": [3, 10], "trend": 3, "invalu": 3, "built": [3, 4, 9], "examin": [3, 4], "compar": [3, 9, 11], "quickli": [3, 9, 10], "chat": [4, 9, 10], "thei": [4, 6, 8, 9, 11], "consist": [4, 8], "some": [4, 8, 9], "multimod": [4, 10], "other": [4, 6, 7, 9, 10, 11], "modal": [4, 6], "becom": [4, 6, 8, 10], "practic": [4, 9, 10, 11], "consum": 4, "markup": 4, "block": 4, "ha": [4, 6, 8, 9], "led": 4, "establish": 4, "pedant": 4, "even": 4, "compound": 4, "fact": 4, "stainless": 4, "spec": 4, "build": [4, 11], "bind": 4, "librari": [4, 6, 8, 9, 10, 13], "exist": [4, 8], "primarili": [4, 6], "inconveni": 4, "index": 4, "unnecessarili": 4, "capit": [4, 11], "moon": 4, "hughkguht": 4, "line": [4, 10], "my_prompt_engineering_librari": 4, "themselv": 4, "lack": [4, 9], "featur": [4, 6, 9, 10, 11], "possibl": [4, 6, 9, 10], "consid": [4, 6, 7, 8, 9], "highlight": 4, "image_url": [4, 6], "url": [4, 6, 8, 11], "though": 4, "implicit": [4, 8], "infer": [4, 8], "valid": 4, "co": 4, "inher": 4, "wrong": 4, "gap": 4, "less": [4, 6, 8], "u": [4, 8, 9, 10, 12], "philosophi": [4, 6], "except": [4, 7, 8, 11], "abl": [4, 8], "minim": [4, 9], "amount": 4, "necessari": 4, "achiev": [4, 7, 9, 10], "drawn": 4, "inspir": 4, "learn": [4, 6, 9, 10, 11], "scientif": [4, 9], "tensorflow": [4, 9], "kei": [4, 5, 9, 10], "our": [4, 7, 10], "center": 4, "ndarrai": 4, "image_detail": 4, "_lstr": [4, 9], "toolcal": [4, 8], "toolresult": 4, "check_single_non_nul": 4, "incorpor": 4, "tradition": [4, 6, 9], "some_pil_image_object": 4, "concis": [4, 6], "furthermor": [4, 8, 9], "concept": [4, 10, 11], "refer": [4, 8], "essenti": [4, 7, 9], "partial": 4, "compos": [4, 6], "arg": 4, "shouldn": 4, "draw": [4, 9], "html": [4, 8], "javascript": 4, "selector": 4, "well": [4, 6, 9], "beautifulsoup": [4, 8], "why": 4, "let": [4, 6, 7, 10], "had": 4, "illustr": [4, 9], "without": [4, 5, 6, 8, 9], "unifi": [4, 6], "assum": 4, "chatcomplet": [4, 6, 10], "me": [4, 8], "sketch": 4, "message_cont": 4, "check": [4, 6, 9, 10], "has_imag": 4, "isinst": 4, "has_text": 4, "has_tool_cal": 4, "function_cal": 4, "image_cont": 4, "text_cont": 4, "joitext_cont": 4, "thing": 4, "after": [4, 9, 10, 11], "section": [4, 8, 11, 12], "draw_sketch": 4, "pilimag": 4, "conevni": 4, "replac": 4, "indic": 4, "rgb": 4, "nworld": 4, "lambda": 4, "x": [4, 9], "len": 4, "1": [4, 6, 8, 9, 10, 11], "tool_call_id": [4, 8], "123": 4, "custommodel": 4, "parsed_cont": 4, "42": 4, "image1": 4, "image2": 4, "200": 4, "audio1": 4, "np": [4, 6], "arrai": [4, 6], "audio2": 4, "6": [4, 9], "relationship": [5, 9], "crucial": [5, 9], "robust": [5, 6, 10], "numer": 5, "anthrop": 5, "coher": 5, "groq": 5, "upon": 5, "fall": [5, 9], "back": [5, 8], "newli": 5, "releas": [5, 9], "updat": [5, 9, 10, 12], "fallback": 5, "fail": 5, "own": [5, 8, 9], "below": 5, "api_kei": [5, 10], "next": [5, 9], "my_lmp": 5, "respond": [5, 7, 9], "another_cli": 5, "my_custom_cli": 5, "newer": 5, "expand": [6, 9], "too": [6, 11], "seamlessli": 6, "rise": 6, "been": 6, "landscap": 6, "rapidli": [6, 9], "dall": 6, "shift": 6, "present": [6, 8], "opportun": 6, "unwieldi": 6, "increas": [6, 10], "doesn": [6, 9, 11], "align": [6, 9], "error": [6, 8, 12], "prone": [6, 8], "citizen": 6, "shine": 6, "some_pil_imag": 6, "There": 6, "cat": 6, "notic": 6, "generate_audiovisual_novel": 6, "topic": [6, 10, 11], "audiovisu": 6, "novel": 6, "pirat": 6, "adventur": 6, "treasur": 6, "crew": 6, "ship": 6, "sail": 6, "quest": 6, "find": [6, 11], "lost": 6, "king": 6, "must": [6, 7, 8], "navig": 6, "treacher": 6, "water": 6, "avoid": 6, "wrath": 6, "sea": 6, "monster": 6, "outsmart": 6, "search": [6, 8, 9], "img": 6, "extens": 6, "seamless": 6, "ecosystem": [6, 11], "popular": 6, "media": 6, "easi": [6, 11], "preprocess": 6, "postprocess": 6, "imageenh": 6, "enhance_imag": 6, "contrast": 6, "analyze_enhanced_imag": 6, "notabl": 6, "demonstr": [6, 7], "techniqu": [6, 9, 10, 11], "workflow": [6, 9], "aspect": [6, 8], "abil": [6, 9, 10], "involv": [6, 8, 9, 10, 11], "generate_image_capt": 6, "caption": 6, "text_to_speech": 6, "speech": 6, "create_social_media_post": 6, "social": 6, "some_imag": 6, "feel": 6, "isn": [6, 9], "principl": [6, 11], "reflect": 6, "empow": 6, "eas": 6, "predict": 7, "clear": [7, 9, 10], "schema": [7, 9], "expect": [7, 9], "adher": 7, "constraint": 7, "easier": [7, 8], "downstream": 7, "reliabl": [7, 8], "larger": [7, 9], "onc": [7, 8, 9], "individu": 7, "part": [7, 9], "manual": [7, 8, 9, 10], "json": [7, 8], "purposefulli": 7, "chose": 7, "opinion": [7, 8], "nativ": 7, "situat": 7, "generate_movie_review_manu": 7, "absolut": 7, "model_json_schema": 7, "parser": [7, 8], "soon": [7, 11, 13], "unpars": 7, "model_validate_json": 7, "highli": [8, 9], "underdevelop": 8, "significantli": 8, "caution": 8, "product": [8, 9], "environ": [8, 9, 12], "extern": 8, "servic": [8, 9], "dynam": [8, 9, 10, 11], "retriev": 8, "decis": [8, 10], "real": [8, 9, 10], "regular": [8, 10, 11], "create_claim_draft": 8, "claim_detail": 8, "claim_typ": 8, "claim_amount": 8, "claim_dat": 8, "date": 8, "claim": 8, "yyyi": 8, "mm": 8, "dd": 8, "draft": [8, 9, 10, 11], "id": [8, 9, 11], "claim_id": 8, "123234": 8, "signatur": [8, 9], "annot": 8, "inspect": [8, 9], "determin": 8, "compat": 8, "requir": [8, 9, 11], "insurance_claim_chatbot": 8, "insur": 8, "dialogu": 8, "effectu": 8, "ask": 8, "question": 8, "until": 8, "enough": 8, "approv": 8, "decid": 8, "websit": 8, "get_website_cont": 8, "chief": 8, "goal": [8, 9], "invok": [8, 9], "get_html_cont": 8, "refus": 8, "request": [8, 11], "knowledg": 8, "protocol": 8, "soup": 8, "get_text": 8, "agent": 8, "tell": [8, 9, 10], "front": 8, "contenblock": 8, "nyt": 8, "lang": 8, "en": 8, "nytapp": 8, "vi": 8, "homepag": 8, "xmln": 8, "og": 8, "opengraphprotocol": 8, "org": 8, "rh": 8, "head": 8, "meta": 8, "charset": 8, "utf": 8, "8": 8, "break": [8, 10], "video": [8, 10, 11], "declin": 8, "clarif": 8, "look": [8, 10], "empti": 8, "end": 8, "lot": 8, "boilerpl": 8, "ad": [8, 9, 10], "user_messag": 8, "broke": 8, "car": 8, "smash": 8, "someon": 8, "els": 8, "5k": 8, "file": [8, 9, 12], "response_messag": 8, "next_messag": 8, "effici": [8, 9, 10], "speed": 8, "independ": 8, "made": 8, "introduc": [8, 9, 10], "would": [8, 9], "behind": [8, 9, 10], "scene": [8, 9, 10], "reduc": 8, "explicit": [8, 9], "captur": [8, 9, 11], "immedi": 8, "fed": 8, "further": [8, 10], "cycl": 8, "loop": [8, 9, 11], "known": [8, 9], "problem": [8, 9, 11], "solv": 8, "thank": 8, "aidan": 8, "mclau": 8, "suggest": 8, "ideal": [8, 9], "meticul": 8, "lexic": 8, "anoth": [8, 9], "elimin": 8, "everi": [8, 9], "search_twitt": 8, "queri": 8, "three": 8, "word": [8, 11], "async": 8, "fetch_tweet": 8, "await": 8, "pool": 8, "login_al": 8, "try": [8, 9, 12], "tweet": 8, "tweet_str": 8, "author": 8, "usernam": 8, "rawcont": 8, "favorit": 8, "likecount": 8, "retweet": 8, "retweetcount": 8, "asyncio": 8, "twitter_result": 8, "join": [8, 9, 10, 11], "twitter": 8, "integ": 8, "accomplish": 8, "correspond": [8, 9], "claud": 8, "sonnet": 8, "generate_tool_spec": 8, "tool_sourc": 8, "produc": [8, 9, 10, 11], "some_tool": 8, "some_arg": 8, "auto_tool_spec": 8, "load": 8, "addition": [8, 9], "compromis": 8, "regard": 8, "reproduc": [8, 9], "pre": [8, 9], "packag": [8, 9, 12], "consciou": 8, "signific": 8, "consequ": [8, 9], "my_custom_tool_spec_gener": 8, "repo": 8, "my_llm_program": 8, "mitig": 8, "along": [8, 9, 10], "across": [8, 9], "lexical_closur": [8, 9], "_generated_spec": 8, "toolspec": 8, "enforc": 8, "determinist": 8, "remain": 8, "iter": [9, 11], "sent": [9, 11], "maxim": 9, "impli": 9, "reward": 9, "metric": 9, "assess": [9, 10], "qualiti": [9, 10], "realiti": 9, "much": [9, 10], "messier": 9, "few": 9, "tweak": 9, "slightli": 9, "hope": 9, "seem": 9, "unclear": 9, "uniformli": 9, "sometim": 9, "regress": [9, 11], "unknown": 9, "elsewher": 9, "codebas": 9, "hypothes": 9, "revert": 9, "undo": 9, "redo": 9, "shortcut": 9, "editor": [9, 10, 11], "solut": [9, 11], "analogi": 9, "aim": 9, "period": 9, "save": [9, 11], "evalu": 9, "hyperparamet": 9, "failur": 9, "practition": 9, "standard": 9, "resort": 9, "ineffici": 9, "git": 9, "minor": 9, "hash": 9, "alongsid": 9, "comparison": [9, 10], "against": 9, "convent": 9, "scatter": 9, "throughout": 9, "importantli": [9, 10], "discret": [9, 11], "encapsul": [9, 10, 11], "point": 9, "exact": 9, "embed": 9, "larg": [9, 13], "myother_modul": 9, "constant": 9, "other_cod": 9, "some_other_funct": 9, "bob": 9, "some_other_cod": 9, "abov": 9, "bodi": 9, "suffici": 9, "fortun": 9, "free": 9, "variabl": [9, 10, 12], "syntax": 9, "tree": 9, "ast": 9, "bound": 9, "recurs": 9, "enumer": 9, "breviti": 9, "were": 9, "instal": [9, 11], "appear": 9, "mini": [9, 10, 11], "generate_story_idea": [9, 10], "ideat": [9, 10], "answer": [9, 10, 11], "sentenc": [9, 10], "idea": [9, 10, 11], "write_a_draft_of_a_stori": [9, 10], "adept": [9, 10, 11], "paragraph": [9, 10, 11], "choose_the_best_draft": [9, 10, 11], "fiction": [9, 10, 11], "choos": [9, 10, 11], "best": [9, 10, 11], "write_a_really_good_stori": [9, 10], "novelist": [9, 10], "style": [9, 10, 11], "hemmingwai": [9, 10], "lowercas": [9, 10], "batch": [9, 10], "best_draft": [9, 10, 11], "revis": [9, 10], "voic": [9, 10], "dog": [9, 10], "facilit": 9, "promis": 9, "flavor": 9, "archiv": 9, "deploy": 9, "former": 9, "reason": 9, "previous": 9, "mention": 9, "tune": [9, 11], "latter": 9, "scale": 9, "fine": [9, 10, 11], "dataset": [9, 11], "mind": 9, "wa": [9, 11], "happen": [9, 10], "entir": 9, "did": 9, "dictat": 9, "sqlite": 9, "db": [9, 10], "blob": [9, 10], "cannot": 9, "fit": 9, "row": 9, "databas": 9, "arbitrari": 9, "launch": 9, "weight": [9, 11], "bias": 9, "wandb": 9, "central": 9, "kind": 9, "anytim": 9, "aforement": 9, "written": 9, "occur": [9, 12], "later": 9, "least": 9, "sql": 9, "greet": [9, 10], "greeter": 9, "alic": 9, "wonder": 9, "meet": 9, "serializedlmp": 9, "tabl": 9, "lmp_id": 9, "1a2b3c4d5e6f7g8h": 9, "ndef": 9, "created_at": 9, "2023": 9, "07": 9, "15t10": 9, "00z": 9, "lmp_type": 9, "initial_free_var": 9, "initial_global_var": 9, "num_invoc": 9, "commit_messag": 9, "version_numb": 9, "And": 9, "9i8u7y6t5r4e3w2q": 9, "latency_m": 9, "250": 9, "prompt_token": 9, "15": 9, "completion_token": 9, "01z": 9, "invocationcont": 9, "invocation_id": 9, "invocation_api_param": 9, "50": 9, "diff": 9, "background": 9, "human": [9, 11], "supersed": 9, "colloc": 9, "fulli": [9, 11], "qualifi": 9, "seek": 9, "dedic": 9, "intercept": 9, "prove": 9, "scalabl": 9, "project": 9, "necessit": 9, "frequent": 9, "weav": 9, "langchain": [9, 11], "langsmith": 9, "emerg": 9, "distinct": 9, "intra": 9, "exemplifi": 9, "compress": 9, "templat": 9, "restrict": 9, "suit": 9, "organ": 9, "anyth": 9, "But": [9, 11], "deep": 9, "immut": 9, "origin": 9, "ae8f32s664200e1": 9, "4hdfjhe8ehf": 9, "behav": 9, "exactli": 9, "lstr": 9, "__origin_trace__": 9, "overridden": 9, "h": 9, "mutabl": 9, "y": 9, "345hef345h": 9, "z": 9, "weak": 9, "chain": 9, "unintend": 9, "mutat": 9, "symbol": 9, "create_person": 9, "backstorygpt": 9, "backstori": 9, "charact": 9, "incljud": 9, "names_list": 9, "format_message_histori": 9, "20": 9, "emoji": 9, "primit": 9, "activ": 9, "welcom": 10, "guid": [10, 12], "walk": 10, "uniqu": 10, "sam": [10, 11], "altman": [10, 11], "encourag": 10, "via": 10, "cleaner": 10, "d": 10, "happi": 10, "enthusiast": 10, "treatment": 10, "get_random_adject": 10, "adject": 10, "cheer": 10, "warm": 10, "vari": 10, "strategi": 10, "high": 10, "four": 10, "select": 10, "hemingwai": 10, "bon": 10, "chanc": 10, "realli": 10, "broader": 10, "space": 10, "step": 10, "filter": 10, "lower": [10, 11], "special": [10, 11], "focus": 10, "refin": 10, "chosen": 10, "composit": 10, "down": 10, "smaller": 10, "stage": 10, "give": 10, "grain": 10, "add": 10, "begin": 10, "script": 10, "heartfelt": 10, "sincer": 10, "get_random_punctu": 10, "express": 10, "punctuat": 10, "affect": 10, "tutori": 10, "lightweight": 11, "startup": 11, "aren": 11, "being": 11, "think": 11, "subroutin": 11, "clean": 11, "awar": 11, "autogener": 11, "checkpoint": 11, "strawberri": 11, "goe": 11, "dark": 11, "art": 11, "scienc": 11, "right": 11, "empiric": 11, "optimzi": 11, "catch": 11, "late": 11, "demo": 11, "someth": 11, "modular": 11, "write_ten_draft": 11, "worth": 11, "credit": 11, "distil": 11, "k": 11, "shot": 11, "reinforc": 11, "good": 11, "invocaiton": 11, "spectrum": 11, "artifact": 11, "scrape_websit": 11, "get_news_stori": 11, "message_respons": 11, "stock": 11, "market": 11, "play_audio": 11, "supprot": 11, "caus": 11, "yield": 11, "mdoel": 11, "describe_act": 11, "visiongpt": 11, "webcam": 11, "capture_webcam_imag": 11, "hold": 11, "book": 11, "inlin": 11, "unobtrus": 11, "migrat": 11, "onto": 11, "pypi": 12, "pip": 12, "verifi": 12, "__version__": 12, "platform": 12, "account": 12, "window": 12, "setx": 12, "openai_api_kei": 12, "maco": 12, "linux": 12, "bashrc": 12, "zshrc": 12, "export": 12, "www": 12, "anthropic_api_kei": 12, "upgrad": 12, "virtual": 12, "pip3": 12, "sudo": 12, "unix": 12, "administr": 12, "permiss": 12, "github": 12, "proce": 12, "sure": 13}, "objects": {"": [[13, 0, 0, "-", "ell"]], "ell": [[0, 1, 1, "", "Config"], [4, 1, 1, "", "ContentBlock"], [4, 1, 1, "", "Message"], [4, 5, 1, "", "assistant"], [1, 5, 1, "", "complex"], [0, 5, 1, "", "init"], [2, 5, 1, "", "simple"], [4, 5, 1, "", "system"], [4, 5, 1, "", "user"]], "ell.Config": [[0, 2, 1, "", "autocommit"], [0, 2, 1, "", "default_lm_params"], [0, 3, 1, "", "get_client_for"], [0, 3, 1, "", "get_provider_for"], [0, 3, 1, "", "get_store"], [0, 2, 1, "", "lazy_versioning"], [0, 3, 1, "", "model_registry_override"], [0, 2, 1, "", "override_wrapped_logging_width"], [0, 2, 1, "", "providers"], [0, 3, 1, "", "register_model"], [0, 3, 1, "", "register_provider"], [0, 3, 1, "", "reset"], [0, 3, 1, "", "set_default_client"], [0, 3, 1, "", "set_default_lm_params"], [0, 3, 1, "", "set_store"], [0, 2, 1, "", "verbose"], [0, 2, 1, "", "wrapped_logging"]], "ell.ContentBlock": [[4, 2, 1, "", "image_detail"]], "ell.Message": [[4, 4, 1, "", "audios"], [4, 3, 1, "", "call_tools_and_collect_as_message"], [4, 4, 1, "", "images"], [4, 4, 1, "", "parsed"], [4, 4, 1, "", "text"], [4, 4, 1, "", "text_only"], [4, 4, 1, "", "tool_calls"], [4, 4, 1, "", "tool_results"]]}, "objtypes": {"0": "py:module", "1": "py:pydantic_model", "2": "py:pydantic_field", "3": "py:method", "4": "py:property", "5": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "pydantic_model", "Python model"], "2": ["py", "pydantic_field", "Python field"], "3": ["py", "method", "Python method"], "4": ["py", "property", "Python property"], "5": ["py", "function", "Python function"]}, "titleterms": {"configur": 0, "ell": [1, 2, 4, 6, 10, 11, 12, 13], "complex": [1, 11], "usag": [1, 2, 8], "kei": [1, 3, 12], "featur": [1, 2, 3, 8], "1": [1, 2], "structur": [1, 2, 7], "output": [1, 2, 7, 10], "2": 1, "multimod": [1, 2, 6, 11], "interact": [1, 6], "3": 1, "chat": 1, "base": 1, "us": [1, 8], "case": 1, "4": 1, "tool": [1, 2, 8, 11], "refer": [1, 2, 13], "simpl": [2, 10], "invok": 2, "an": [2, 11], "lmp": [2, 3, 8], "variabl": 2, "system": 2, "prompt": [2, 9, 10, 11], "pass": 2, "paramet": 2, "llm": [2, 4], "api": [2, 4, 5, 10, 12, 13], "multipl": 2, "n": 2, "input": 2, "what": [2, 10], "about": 2, "multiturn": 2, "convers": 2, "other": 2, "studio": [3, 10], "launch": 3, "visual": [3, 11], "version": [3, 9, 10, 11], "histori": 3, "comparison": 3, "invoc": 3, "analysi": 3, "perform": 3, "metric": 3, "viewer": 3, "messag": [4, 10], "challeng": 4, "The": [4, 6, 11], "solv": 4, "construct": [4, 9], "problem": 4, "common": 4, "role": 4, "pars": 4, "model": [5, 10, 11], "client": 5, "registr": 5, "default": 5, "specifi": 5, "custom": 5, "evolut": 6, "": [6, 10], "approach": 6, "power": 6, "composit": 6, "defin": 8, "schema": 8, "gener": 8, "singl": 8, "step": [8, 12], "multi": 8, "parallel": 8, "execut": 8, "futur": 8, "eager": 8, "mode": [8, 10], "spec": 8, "autogener": 8, "trace": 9, "checkpoint": 9, "serial": 9, "via": 9, "lexic": 9, "closur": 9, "depend": 9, "graph": 9, "autocommit": 9, "comput": [9, 11], "get": 10, "start": 10, "from": 10, "tradit": 10, "call": [10, 11], "understand": 10, "verbos": 10, "altern": 10, "format": 10, "languag": [10, 11], "program": [10, 11], "store": 10, "your": [10, 11], "explor": 10, "iter": 10, "auto": 10, "commit": 10, "compar": 10, "across": 10, "next": [10, 12], "librari": 11, "ar": 11, "string": 11, "engin": 11, "i": 11, "optim": 11, "process": 11, "monitor": 11, "test": 11, "time": 11, "import": 11, "everi": 11, "valuabl": 11, "when": 11, "you": 11, "need": 11, "simplic": 11, "don": 11, "t": 11, "should": 11, "first": 11, "class": 11, "shouldn": 11, "interfer": 11, "workflow": 11, "instal": 12, "setup": 12, "openai": 12, "anthrop": 12, "troubleshoot": 12, "packag": 13}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Configuration": [[0, "configuration"]], "@ell.complex": [[1, "ell-complex"]], "Usage": [[1, "usage"], [2, "usage"]], "Key Features": [[1, "key-features"]], "1. Structured Outputs": [[1, "structured-outputs"]], "2. Multimodal Interactions": [[1, "multimodal-interactions"]], "3. Chat-based Use Cases": [[1, "chat-based-use-cases"]], "4. Tool Usage": [[1, "tool-usage"]], "Reference": [[1, "reference"], [2, "reference"]], "@ell.simple": [[2, "ell-simple"]], "Invoking an ell.simple LMP": [[2, "invoking-an-ell-simple-lmp"]], "Variable system prompts": [[2, "variable-system-prompts"]], "Passing parameters to an LLM API": [[2, "passing-parameters-to-an-llm-api"]], "Multiple outputs (n>1)": [[2, "multiple-outputs-n-1"]], "Multimodal inputs": [[2, "multimodal-inputs"]], "What about multiturn conversations, tools, structured outputs, and other features?": [[2, "what-about-multiturn-conversations-tools-structured-outputs-and-other-features"]], "Studio": [[3, "studio"]], "Launching Studio": [[3, "launching-studio"]], "Key Features of Studio": [[3, "key-features-of-studio"]], "LMP Visualization": [[3, "lmp-visualization"]], "Version History and Comparison": [[3, "version-history-and-comparison"]], "Invocation Analysis": [[3, "invocation-analysis"]], "Performance Metrics": [[3, "performance-metrics"]], "LMP Viewer": [[3, "lmp-viewer"]], "Messages": [[4, "messages"]], "Challenges with LLM APIs": [[4, "challenges-with-llm-apis"]], "The ell Message API": [[4, "the-ell-message-api"]], "Solving the construction problem": [[4, "solving-the-construction-problem"]], "Common roles": [[4, "common-roles"]], "Solving the parsing problem": [[4, "solving-the-parsing-problem"]], "Models & API Clients": [[5, "models-api-clients"]], "Model Registration and Default Clients": [[5, "model-registration-and-default-clients"]], "Specifying Clients for Models": [[5, "specifying-clients-for-models"]], "Custom Model Registration": [[5, "custom-model-registration"]], "Multimodality": [[6, "multimodality"]], "The Evolution of Multimodal Interactions": [[6, "the-evolution-of-multimodal-interactions"]], "ell\u2019s Approach to Multimodality": [[6, "ell-s-approach-to-multimodality"]], "The Power of Multimodal Composition": [[6, "the-power-of-multimodal-composition"]], "Structured Outputs": [[7, "structured-outputs"]], "Tool Usage": [[8, "tool-usage"]], "Defining Tools": [[8, "defining-tools"]], "Schema Generation": [[8, "schema-generation"]], "Using Tools in LMPs": [[8, "using-tools-in-lmps"]], "Single-Step Tool Usage": [[8, "single-step-tool-usage"]], "Multi-Step Tool Usage": [[8, "multi-step-tool-usage"]], "Parallel Tool Execution": [[8, "parallel-tool-execution"]], "Future Features: Eager Mode": [[8, "future-features-eager-mode"]], "Future Features: Tool Spec Autogeneration": [[8, "future-features-tool-spec-autogeneration"]], "Versioning & Tracing": [[9, "versioning-tracing"]], "Checkpointing prompts": [[9, "checkpointing-prompts"]], "Serializing prompts via lexical closures": [[9, "serializing-prompts-via-lexical-closures"]], "Constructing a dependency graph": [[9, "constructing-a-dependency-graph"]], "Versioning": [[9, "versioning"]], "Autocommitting": [[9, "autocommitting"]], "Tracing": [[9, "tracing"]], "Constructing a computation graph": [[9, "constructing-a-computation-graph"]], "Getting Started": [[10, "getting-started"]], "From Traditional API Calls to ell": [[10, "from-traditional-api-calls-to-ell"]], "Understanding @ell.simple": [[10, "understanding-ell-simple"]], "Verbose Mode": [[10, "verbose-mode"]], "Alternative Message Formats": [[10, "alternative-message-formats"]], "Prompting as Language Model Programming": [[10, "prompting-as-language-model-programming"]], "Storing and Versioning Your Prompts": [[10, "storing-and-versioning-your-prompts"]], "Exploring Your Prompts with ell-studio": [[10, "exploring-your-prompts-with-ell-studio"]], "Iterating and Auto-Committing": [[10, "iterating-and-auto-committing"]], "Comparing Outputs Across Versions": [[10, "comparing-outputs-across-versions"]], "What\u2019s Next?": [[10, "what-s-next"]], "ell: The Language Model Programming Library": [[11, "ell-the-language-model-programming-library"]], "Prompts are programs, not strings": [[11, "prompts-are-programs-not-strings"]], "Prompt engineering is an optimization process": [[11, "prompt-engineering-is-an-optimization-process"]], "Tools for monitoring, versioning, and visualization": [[11, "tools-for-monitoring-versioning-and-visualization"]], "Test-time compute is important": [[11, "test-time-compute-is-important"]], "Every call to a language model is valuable": [[11, "every-call-to-a-language-model-is-valuable"]], "Complexity when you need it, simplicity when you don\u2019t": [[11, "complexity-when-you-need-it-simplicity-when-you-don-t"]], "Multimodality should be first class": [[11, "multimodality-should-be-first-class"]], "Prompt engineering libraries shouldn\u2019t interfere with your workflow": [[11, "prompt-engineering-libraries-shouldn-t-interfere-with-your-workflow"]], "Installation": [[12, "installation"]], "Installing ell": [[12, "installing-ell"]], "API Key Setup": [[12, "api-key-setup"]], "OpenAI API Key": [[12, "openai-api-key"]], "Anthropic API Key": [[12, "anthropic-api-key"]], "Troubleshooting": [[12, "troubleshooting"]], "Next Steps": [[12, "next-steps"]], "ell package": [[13, "ell-package"]], "API Reference": [[13, null]]}, "indexentries": {"autocommit (ell.config attribute)": [[0, "ell.Config.autocommit"]], "default_lm_params (ell.config attribute)": [[0, "ell.Config.default_lm_params"]], "get_client_for() (ell.config method)": [[0, "ell.Config.get_client_for"]], "get_provider_for() (ell.config method)": [[0, "ell.Config.get_provider_for"]], "get_store() (ell.config method)": [[0, "ell.Config.get_store"]], "init() (in module ell)": [[0, "ell.init"]], "lazy_versioning (ell.config attribute)": [[0, "ell.Config.lazy_versioning"]], "model_registry_override() (ell.config method)": [[0, "ell.Config.model_registry_override"]], "override_wrapped_logging_width (ell.config attribute)": [[0, "ell.Config.override_wrapped_logging_width"]], "providers (ell.config attribute)": [[0, "ell.Config.providers"]], "register_model() (ell.config method)": [[0, "ell.Config.register_model"]], "register_provider() (ell.config method)": [[0, "ell.Config.register_provider"]], "reset() (ell.config method)": [[0, "ell.Config.reset"]], "set_default_client() (ell.config method)": [[0, "ell.Config.set_default_client"]], "set_default_lm_params() (ell.config method)": [[0, "ell.Config.set_default_lm_params"]], "set_store() (ell.config method)": [[0, "ell.Config.set_store"]], "verbose (ell.config attribute)": [[0, "ell.Config.verbose"]], "wrapped_logging (ell.config attribute)": [[0, "ell.Config.wrapped_logging"]], "complex() (in module ell)": [[1, "ell.complex"]], "simple() (in module ell)": [[2, "ell.simple"]], "assistant() (in module ell)": [[4, "ell.assistant"]], "audios (ell.message property)": [[4, "ell.Message.audios"]], "call_tools_and_collect_as_message() (ell.message method)": [[4, "ell.Message.call_tools_and_collect_as_message"]], "image_detail (ell.contentblock attribute)": [[4, "ell.ContentBlock.image_detail"]], "images (ell.message property)": [[4, "ell.Message.images"]], "parsed (ell.message property)": [[4, "ell.Message.parsed"]], "system() (in module ell)": [[4, "ell.system"]], "text (ell.message property)": [[4, "ell.Message.text"]], "text_only (ell.message property)": [[4, "ell.Message.text_only"]], "tool_calls (ell.message property)": [[4, "ell.Message.tool_calls"]], "tool_results (ell.message property)": [[4, "ell.Message.tool_results"]], "user() (in module ell)": [[4, "ell.user"]], "ell": [[13, "module-ell"]], "module": [[13, "module-ell"]]}}) \ No newline at end of file