8000 Update documentation to use base imports · Issue #765 · neuml/txtai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update documentation to use base imports #765

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

Closed
davidmezzetti opened this issue Aug 16, 2024 · 0 comments
Closed

Update documentation to use base imports #765

davidmezzetti opened this issue Aug 16, 2024 · 0 comments
Assignees
Milestone

Comments

@davidmezzetti
Copy link
Member

Update the documentation as follows:

  • from txtai.app import Application to from txtai import Application
  • from txtai.embeddings import Embeddings to from txtai import Embeddings
  • from txtai.pipeline import LLM to from txtai import LLM
  • from txtai.pipeline import RAG to from txtai import RAG

While both import methods work, it's good to encourage using the base imports for simplicity/conciseness.

@davidmezzetti davidmezzetti added this to the v7.4.0 milestone Aug 16, 2024
@davidmezzetti davidmezzetti self-assigned this Aug 16, 2024
@davidmezzetti davidmezzetti changed the title Update documentation to base imports Update documentation to use base imports Aug 16, 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

No branches or pull requests

1 participant
0