Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

feat: example for voyage query engine pack #880

Merged
merged 3 commits into from
Jan 24, 2024
Merged

feat: example for voyage query engine pack #880

merged 3 commits into from
Jan 24, 2024

Conversation

thucpn
Copy link
Contributor

@thucpn thucpn commented Jan 22, 2024

Description

This pull request (PR) provides example code for using the VoyageQueryEnginePack. Users can easily copy and modify a few options in the code to start running the example. This example will be helpful when generating a project using create-llama.

Type of Change

  • Smaller change


# load documents
loader = PDFReader()
document_path = Path('./data/git-cheat-sheet.pdf') # replace with your own document

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thucpn i assume a lot of these examples need a sample PDF. Please use our create-llama example (101.pdf) and copy it using create-llama for all llama pack examples

@nerdai
Copy link
Contributor

nerdai commented Jan 22, 2024

looks like we just need to run make lint and make format, then commit changes and push to get passed the linting checks.

@marcusschiesser marcusschiesser merged commit 3058279 into run-llama:main Jan 24, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants