langchain/langchain
Paul Cook 7cd0936b1c
Update in_memory.py to fix "TypeError: keywords must be strings" (#7202)
Update in_memory.py to fix "TypeError: keywords must be strings" on
certain dictionaries

Simple fix to prevent a "TypeError: keywords must be strings" error I
encountered in my use case.

@baskaryan 

Thanks! Hope useful!

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-07-05 12:48:38 -04:00
..
agents Remove duplicate lines (#7138) 2023-07-04 20:13:27 -04:00
callbacks Use serialized format for messages in tracer (#6827) 2023-07-04 10:19:08 +01:00
chains add token max parameter (#7204) 2023-07-05 12:09:25 -04:00
chat_models Harrison/split schema dir (#7025) 2023-07-01 13:39:19 -04:00
client Harrison/split schema dir (#7025) 2023-07-01 13:39:19 -04:00
docstore Update in_memory.py to fix "TypeError: keywords must be strings" (#7202) 2023-07-05 12:48:38 -04:00
document_loaders added Brave Search document_loader (#6989) 2023-07-02 19:01:24 -07:00
embeddings add tqdm to embeddings (#7205) 2023-07-05 12:04:22 -04:00
evaluation Accept no 'reasoning' response in qa evaluator (#7107) 2023-07-03 14:47:17 -07:00
experimental docstrings document_loaders 1 (#6847) 2023-07-02 12:13:04 -07:00
graphs Add HugeGraphQAChain to support gremlin generating chain (#7132) 2023-07-04 10:21:21 -06:00
indexes Create async copy of from_text() inside GraphIndexCreator. (#5214) 2023-05-24 21:54:12 -07:00
llms fix AmazonAPIGateway _identifying_params (#7167) 2023-07-04 23:14:51 -04:00
load added docstrings where they missed (#6626) 2023-06-23 15:49:44 -07:00
memory add docstring for in memory class (#7160) 2023-07-04 14:59:17 -07:00
output_parsers move base prompt to schema (#6995) 2023-07-02 22:38:59 -04:00
prompts move base prompt to schema (#6995) 2023-07-02 22:38:59 -04:00
retrievers fix retriever signatures (#7097) 2023-07-03 14:21:36 -06:00
schema fix weird bold issues in docs (#7198) 2023-07-05 09:52:49 -04:00
tools fix: rename the invalid function name of GoogleSerperResults Tool for OpenAIFunctionCall (#7176) 2023-07-05 12:47:50 -04:00
utilities Fix typo in google_places_api.py (#7055) 2023-07-03 02:14:18 -06:00
vectorstores Add pg_hnsw vectorstore integration (#6893) 2023-07-05 08:10:10 -07:00
__init__.py move base prompt to schema (#6995) 2023-07-02 22:38:59 -04:00
base_language.py Harrison/split schema dir (#7025) 2023-07-01 13:39:19 -04:00
cache.py Page per class-style api reference (#6560) 2023-06-30 09:23:32 -07:00
docker-compose.yaml Update docker-compose.yaml (#3582) 2023-04-26 15:11:59 -07:00
document_transformers.py added docstrings where they missed (#6626) 2023-06-23 15:49:44 -07:00
env.py Use LCP Client in Tracer (#5908) 2023-06-08 21:15:14 -07:00
example_generator.py Replace remaining usage of basellm with baselangmodel (#3981) 2023-05-02 21:52:29 -07:00
formatting.py Validate input_variables when using jinja2 templates (#3140) 2023-04-19 16:18:32 -07:00
input.py FileCallbackHandler (#5589) 2023-06-03 16:48:48 -07:00
math_utils.py add get_top_k_cosine_similarity method to get max top k score and index (#5059) 2023-05-22 11:55:48 -07:00
model_laboratory.py Harrison/improve cache (#368) 2022-12-18 16:22:42 -05:00
py.typed Add py.typed marker to package (#121) 2022-11-12 11:22:32 -08:00
python.py Move PythonRepl -> langchain.utilities (#2917) 2023-04-15 10:50:25 -07:00
requests.py fix: missing parameter in POST/PUT/PATCH HTTP requests (#7194) 2023-07-05 12:47:30 -04:00
serpapi.py move serpapi wrapper (#1199) 2023-02-20 21:15:45 -08:00
server.py Fix for ModuleNotFoundError while running langchain-server. Issue #5833 (#6077) 2023-06-13 08:37:07 -07:00
sql_database.py updated sql_database.py for returning sorted table names. (#6692) 2023-06-25 12:04:24 -07:00
text_splitter.py Page per class-style api reference (#6560) 2023-06-30 09:23:32 -07:00
utils.py added docstrings where they missed (#6626) 2023-06-23 15:49:44 -07:00