Comments (4)
might be helpful to also make the intermediate outputs of the map step accessible to the caller
from langchain.
sorry @devonbrackbill i did not see this earlier! i think this should be addressed now - could you confirm?
from langchain.
Yes, this is addressed. Thank you
from langchain.
I understand the map/reduce chain to currently do 1 step of map and then "stuff" all of the results into 1 final query. I'm running into token limits on the final "stuff". Is there an obvious way to call map on the intermediate summaries until the input to the final "stuff" is below the token threshold?
from langchain.
Related Issues (20)
- openai: add "name" to supported properties for tool messages?
- Vertex AI Search doesn't return the result with chunked dataset
- BUG in langchain_community.vectorstores.qdrant HOT 1
- Structured Output with Groq: Error code: 400 - {'error': {'message': 'response_format` does not support streaming', 'type': 'invalid_request_error'}} HOT 2
- [Community] Tavily Search lost Tool output Callbacks in newest versions HOT 2
- Similarity Search Returns Empty when Using Milvus
- Update with_structured_output to explicitly pass tool name
- DOC: ChatHuggingFace incorrectly marked as supporting structured output HOT 5
- llm_transformer.convert_to_graph_documents TypeError: list indices must be integers or slices, not str HOT 4
- TypeError: typing.ClassVar[typing.Collection[str]] is not valid as type argument Selection deleted HOT 1
- langchain_community.utilities.SQLDatabase: include_tables {...} not found in database HOT 2
- ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects HOT 1
- DOC: missing parenthesis
- BaseChatModel.stream method not supporting caching
- create_sql_agent with ChatMistralAI causes this error:"Expected last role User or Tool (or Assistant with prefix True) for serving but got assistant"
- `merge_message_runs` incompatible with LCEL
- The get_openai_callback() function is not updated for Azure models.
- 'ChatGoogleGenerativeAI wrapper class doesn't work with google chat models such as 'chat-bison@002
- Within async context, `RunnableWithMessageHistory` calls sync `.messages` property instead of async `.aget_messages()` method
- Spam issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain.