-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LlamaCloud integration #14254
Update LlamaCloud integration #14254
Conversation
f"pipelines/execution?id={pipeline_execution.id}" | ||
) | ||
|
||
return pipeline_execution.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, so nice to remove this actually haha
@@ -62,6 +86,110 @@ def __init__( | |||
self._service_context = None | |||
self._callback_manager = callback_manager or Settings.callback_manager | |||
|
|||
def _wait_for_pipeline_ingestion( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: At some point, this probably needs to be async
**kwargs: Any, | ||
) -> "LlamaCloudIndex": | ||
"""Build a Vectara index from a sequence of documents.""" | ||
"""Build a LlamaCloud managed index from a sequence of documents.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this looks super good to me!
return [ | ||
SentenceSplitter(), | ||
OpenAIEmbedding(), | ||
] | ||
|
||
|
||
def get_client( | ||
api_key: Optional[str] = None, | ||
base_url: Optional[str] = None, | ||
app_url: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's app_url
for? seems like its not being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
previously, this was used to print link to go to the webapp.
Besides some nits, I think this is good to merge. Don't want to hold up anything, so going to merge |
Description
Updates LlamaCloud integration
Version Bump?
Did I bump the version in the
pyproject.toml
file of the package I am updating? (Except for thellama-index-core
package)Type of Change
How Has This Been Tested?