Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Llama Index
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
run-llama
Llama Index
Commits
c9eda14e
Unverified
Commit
c9eda14e
authored
1 year ago
by
Simon Suo
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug where user specified llm is not respected in fallback logic (#12403)
wip
parent
2e4e2a2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llama-index-core/llama_index/core/node_parser/relational/base_element.py
+1
-1
1 addition, 1 deletion
...e/llama_index/core/node_parser/relational/base_element.py
with
1 addition
and
1 deletion
llama-index-core/llama_index/core/node_parser/relational/base_element.py
+
1
−
1
View file @
c9eda14e
...
@@ -174,7 +174,7 @@ class BaseElementNodeParser(NodeParser):
...
@@ -174,7 +174,7 @@ class BaseElementNodeParser(NodeParser):
except
ValidationError
:
except
ValidationError
:
# There was a pydantic validation error, so we will run with text completion
# There was a pydantic validation error, so we will run with text completion
# fill in the summary and leave other fields blank
# fill in the summary and leave other fields blank
query_engine
=
index
.
as_query_engine
()
query_engine
=
index
.
as_query_engine
(
llm
=
llm
)
response_txt
=
await
query_engine
.
aquery
(
summary_query_str
)
response_txt
=
await
query_engine
.
aquery
(
summary_query_str
)
return
TableOutput
(
summary
=
str
(
response_txt
),
columns
=
[])
return
TableOutput
(
summary
=
str
(
response_txt
),
columns
=
[])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment