Skip to content

About RAG #7

@fj0r

Description

@fj0r

From #5 @cboecking

Next, I want to discuss how we can take the nushell md documentation, create embeddings and use them in a rag solution using ai.nu. This will give us the ability to use ai.nu to ask questions about the latest nushell docs (any docs from any project or organization for that matter).

Here is my understanding of the combination of Nushell and RAG:

  • Nushell cannot achieve RAG without relying on external components.

    • There are some databases that support both vector search and HTTP protocol.
    • An embedding model (which is an external service itself) needs to be integrated, and the embedding model significantly impacts the effectiveness of RAG.
  • Regarding the knowledge base for Nushell, this should be the responsibility of the Nushell project team.

  • The RAG feature is very useful and can be implemented in the following ways:

    • Use ai.nu as a library to call ai-do externally, interacting with vector databases and embedding models
      • Some databases can initiate HTTP calls internally, such as PostgreSQL and SurrealDB
    • Implement it within function calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions