Skip to content
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

Publish llama-index plugin #924

Merged
merged 7 commits into from
Oct 16, 2024
Merged

Publish llama-index plugin #924

merged 7 commits into from
Oct 16, 2024

Conversation

davidzhao
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: 69526ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-plugins-llama-index Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

"name": "livekit-plugins-<name>",
"private": true
}
Chat Engine can be used as an LLM within the frame work.
Copy link
Member

Choose a reason for hiding this comment

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

ChatEngine isn't the recommended way tho. Since this one doesn't support function calls (It is using the LLM from lama_index)

Copy link
Member

Choose a reason for hiding this comment

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

This one: https://github.com/livekit/agents/blob/main/examples/voice-pipeline-agent/llamaindex-rag/query_engine.py
and this one https://github.com/livekit/agents/blob/main/examples/voice-pipeline-agent/llamaindex-rag/retrieval.py
are more appropriate, but it depends on the needs.

The ChatEngine is also doing some "context" management (like keeping the previous rag search of the prior question etc.). They all have pros and cons

Copy link
Member Author

@davidzhao davidzhao Oct 16, 2024

Choose a reason for hiding this comment

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

I see, you have an example for it, I'm just documenting it. should we not point folks down that path?

Copy link
Member

@theomonnom theomonnom left a comment

Choose a reason for hiding this comment

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

Thanks man (ignore CI fails, it's my fault)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants