Comments (1)
@deathsaber
JsonOutputParser
works completely fine by detecting the valid json.
{
{
"task": "what Queries tmust i run",
"steps": [
{
"step_name": "Step#1",
"tool_to_use": Document_Search_Tool, #not valid, should be "Document_Search_Tool"
"tool_input": "What queries must I run?",
"depends_on": []
}
]
}
This is not a valid json output. Try providing some examples along with the prompt to generate consistent and valid results.
from langchain.
Related Issues (20)
- graph_transformers.llm.py create_simple_model not constraining relationships with enums when using OpenAI LLM
- DOC: Page Navigation link references (href); Page's navigation links at the bottom incorrectly references the same page instead of the next.
- Callbacks called different times when passed in a list or callback manager. HOT 6
- Delete collection for chroma not Working.
- DOC: <Please write a comprehensive title after the 'DOC: ' prefix>AttributeError: 'RunnableSequence' object has no attribute 'predict_and_parse' HOT 1
- Unable to Initialize the Ollama Functions Module Due to ImportError in Langchain Core Utils HOT 1
- [Regression] SSL verification for requests wrapper crashes for async requests
- sparse vectors name unknown HOT 2
- Astream Events not working for AzureMLChatOnlineEndpoint HOT 2
- Model with history work well on `invoke`, but not well in `stream` (many parts exactly same to official tutorial `Build a Chatbot`) HOT 2
- agents.openai_assistant.base.OpenAIAssistantRunnable assumes existence of an Optional field HOT 1
- DOC: Minimal permissions needed to work with SQL Server
- `langchain_core.utils.pydantic._create_subset_model_v1` fails for pydantic v1 models that use `Annotated` with `Field`, e.g. HOT 2
- DOC: Templates/neo4j-advanced-rag assumes index already exists HOT 1
- AttributeError: 'Collection' object has no attribute 'model_fields' HOT 2
- When search_type="similarity_score_threshold, retriever returns negative scores (duplicate)
- agent_executor.astream_events does not work with ChatGroq HOT 1
- langchain_unstructured.UnstructuredLoader in api-partition-mode with given file-content also needs file-name
- ChatOllama is missing the parameters seed and base_url HOT 6
- How we can use Streaming with ChatGoogleGenerativeAI along with message history HOT 2
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.