langchain/cookbook
Predrag Gruevski 9e32120cbb
Deprecate direct access to globals like debug and verbose. (#11311)
Instead of accessing `langchain.debug`, `langchain.verbose`, or
`langchain.llm_cache`, please use the new getter/setter functions in
`langchain.globals`:
- `langchain.globals.set_debug()` and `langchain.globals.get_debug()`
- `langchain.globals.set_verbose()` and
`langchain.globals.get_verbose()`
- `langchain.globals.set_llm_cache()` and
`langchain.globals.get_llm_cache()`

Using the old globals directly will now raise a warning.

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-10-12 15:48:04 -07:00
..
autogpt Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
baby_agi_with_agent.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
baby_agi.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
camel_role_playing.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
causal_program_aided_language_model.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
code-analysis-deeplake.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
custom_agent_with_plugin_retrieval_using_plugnplai.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
custom_agent_with_plugin_retrieval.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
databricks_sql_db.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
deeplake_semantic_search_over_chat.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
elasticsearch_db_qa.ipynb Fix typos (#11663) 2023-10-12 11:44:03 -04:00
forward_looking_retrieval_augmented_generation.ipynb Deprecate direct access to globals like debug and verbose. (#11311) 2023-10-12 15:48:04 -07:00
generative_agents_interactive_simulacra_of_human_behavior.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
gymnasium_agent_simulation.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
hugginggpt.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
hypothetical_document_embeddings.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
learned_prompt_optimization.ipynb Deprecate direct access to globals like debug and verbose. (#11311) 2023-10-12 15:48:04 -07:00
llm_bash.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
llm_checker.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
llm_math.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
llm_summarization_checker.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
llm_symbolic_math.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
meta_prompt.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
multi_modal_output_agent.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
multi_player_dnd.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
multiagent_authoritarian.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
multiagent_bidding.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
myscale_vector_sql.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
openai_functions_retrieval_qa.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
petting_zoo.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
plan_and_execute_agent.ipynb add plan execute cookbook (#11690) 2023-10-11 18:03:13 -07:00
program_aided_language_model.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
sales_agent_with_context.ipynb Fix typos (#11663) 2023-10-12 11:44:03 -04:00
self_query_hotel_search.ipynb
smart_llm.ipynb Fix typos (#11663) 2023-10-12 11:44:03 -04:00
sql_db_qa.mdx Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
tree_of_thought.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
twitter-the-algorithm-analysis-deeplake.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
two_agent_debate_tools.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
two_player_dnd.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00
wikibase_agent.ipynb Start cookbook and move stuff from use cases (#11636) 2023-10-11 12:27:13 -07:00