Code extend for use with local storage. #7
Replies: 7 comments
-
Hello @pdchristian , Thank you for working on the code and getting it further. Yes, I would be interested in the code and what you did, many changes make sense to me, although I would not probably implement answering in German in the main branch, but everything else is absolutely something that makes sense adding in (probably cuda or apple silicon detection should be added and dynamically change it, depending on what people have installed). It would be great if you could commit the code as a new branch and let me know. And then I will have a look and merge what makes sense Best wishes, |
Beta Was this translation helpful? Give feedback.
-
Hello Nikola, Regarding the answer language in the prepromt: I would propose to add a language setting to the streamlit UI. Best regards, Christian |
Beta Was this translation helpful? Give feedback.
-
Hello @pdchristian, I have added elements of your code and added a dynamic selection of CUDA, Apple Silicon, or CPU depending on what people have. I will still work on language selection a bit later. If you would like your name to be stated as contributor, please let me know your full name and I can link it to your profile |
Beta Was this translation helpful? Give feedback.
-
Hello Nikola,
yes, it would be nice to have me listed there.
My name is: Christian Barth-Popp
Best regards
Christian
Von: Nikola Milosevic ***@***.***>
Gesendet: Montag, 19. August 2024 12:14
An: nikolamilosevic86/local-genAI-search ***@***.***>
Cc: pdchristian ***@***.***>; Mention ***@***.***>
Betreff: Re: [nikolamilosevic86/local-genAI-search] Code extend for use with local storage. (Discussion #7)
Hello @pdchristian<https://github.com/pdchristian>,
I have added elements of your code and added a dynamic selection of CUDA, Apple Silicon, or CPU depending on what people have. I will still work on language selection a bit later. If you would like your name to be stated as contributor, please let me know your full name and I can link it to your profile
-
Reply to this email directly, view it on GitHub<#7 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADTZ4KBA6Z6KBZVFB6GVSYLZSHAOVAVCNFSM6AAAAABMVS3Y66VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZYGE3TSMA>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
I have actually also added the |
Beta Was this translation helpful? Give feedback.
-
Hello Nikola, I am currently trying to add the language setting in Streamlit to the code. How could we send the language variable to the function to change the language via streamlit dropdown? Would it be possible to add the value to the json.dumps? if st.button("Ask a question") or not question=="":
I added a dropdown for the language to streamlit: st.session_state.language_ai = st.sidebar.selectbox( Thanks in advance Christian |
Beta Was this translation helpful? Give feedback.
-
And I have done two further improvements:
Shall I create a new branch with those changes, so you can easily integrate it into the main branch? |
Beta Was this translation helpful? Give feedback.
-
Hello Nikola,
thank you for creating this code sample.
The last days I have been using it to da a data ingest with my files saved on a LAN server (Synology).
After having done some minor improvements, I could ingest a folder with approximately 15 GB of mixed file type data (of course only txt, pdf and docx were ingested).
What did I do to make it work?
Are you interested in the code? Can I contribute here, or should I upload it as a separate repository?
Best regards
Chrstian
Beta Was this translation helpful? Give feedback.
All reactions