-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat(rai_cli): improved UX #189
Conversation
src/rai/rai/cli/rai_cli.py
Outdated
|
||
def build_docs_vector_store(): | ||
logger.info("Building the robot docs vector store...") | ||
faiss_index = FAISS.from_documents(docs, OpenAIEmbeddings()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, we should avoid hard OpenAI dependency and make it interchangeable with OpenSource solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
fd5432c
to
02ab2f4
Compare
a63bcdf
to
e67ba7f
Compare
4fa290b
to
940aa25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maciejmajek 1 minor fix. Besides that I've tested the code and it LGTM!
…ions feat(model_initialization): add functions to initialize LLM and embeddings models based on config file
Co-authored-by: Bartłomiej Boczek <[email protected]>
…el_initialization.py files for legal compliance and clarity
Co-authored-by: Bartek Boczek <[email protected]>
90dff6d
to
d86f67b
Compare
Purpose
This PR improves user's experience during building documentation vector store and robot identity.
Proposed Changes
rai_cli now informs the user about possible costs during build.
Issues
Testing
To recreate testing environment, run:
vcs import < demos.repos