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

CORE: ASK logic re-write to improve control and sophisticated RAG #254

Closed
janaka opened this issue May 11, 2024 · 0 comments · Fixed by #259
Closed

CORE: ASK logic re-write to improve control and sophisticated RAG #254

janaka opened this issue May 11, 2024 · 0 comments · Fixed by #259
Assignees

Comments

@janaka
Copy link
Contributor

janaka commented May 11, 2024

Situation

We are using higher-level Llama Index APIs for retrieval + query + synth.

These don't give us the customizability required. For example using fusion retrieval with chat and chat history in the LLM message collection.

In the future we likely will need to support multiple RAG algorithms for two reasons:

  • iteration and improving performance over time.
  • algos optimised for use cases e.g. code vs financial data vs text heavy vs expert systems.

Solution

Move to using Llama Index pipelines.

Alternative

Create a custom abstraction. This would be more time-consuming is the main downside. So we should first assess if pipelines gives us the right level abstraction and composability.

@janaka janaka self-assigned this May 11, 2024
@janaka janaka closed this as completed Jun 1, 2024
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 a pull request may close this issue.

1 participant