jgravelle / AutoGroq

AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assistants. By dynamically generating tailored teams of AI agents based on your project requirements, AutoGroq eliminates the need for manual configuration and allows you to tackle any question, problem, or project with ease and efficiency.
https://autogroq.streamlit.app/
1.21k stars 422 forks source link

Dynamic path to database #28

Closed ericwhiteau closed 2 months ago

ericwhiteau commented 2 months ago

Hi J,

I downloaded Autogroq to test it out.

I had an issue with it not connecting to the Autogenstudio database.

I see you had it hard coded in config.py.

here is the update to make that dynamic.


get user home directory

import os home_dir = os.path.expanduser("~")

Database path

AUTOGEN_DB_PATH = f'{home_dir}/.autogenstudio/database.sqlite'

jgravelle commented 2 months ago

Thanks. Your way should be the default, but I still need to allow for custom setups.

Okay if I use this message in my next tutorial...?

-jjg

On Wed, May 29, 2024 at 11:48 PM Eric White @.***> wrote:

Hi J,

I downloaded Autogroq to test it out.

I had an issue with it not connecting to the Autogenstudio database.

I see you had it hard coded in config.py.

here is the update to make that dynamic.

get user home directory

import os home_dir = os.path.expanduser("~") Database path

AUTOGEN_DB_PATH = f'{home_dir}/.autogenstudio/database.sqlite'

— Reply to this email directly, view it on GitHub https://github.com/jgravelle/AutoGroq/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ6GXF6RA7MPEEKWZI5RT3ZE2VRTAVCNFSM6AAAAABIQFHTDCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDINRZGI3DCNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jgravelle commented 2 months ago

Done! Thanks again...

ericwhiteau commented 1 month ago

Hi J

sure you can use it, no problem.

I like your "Frikin Tutorials". good stuff.

Nice work on Autogroq,

cheers.

On Thu, 30 May 2024 at 20:46, J. Gravelle @.***> wrote:

Thanks. Your way should be the default, but I still need to allow for custom setups.

Okay if I use this message in my next tutorial...?

-jjg

On Wed, May 29, 2024 at 11:48 PM Eric White @.***> wrote:

Hi J,

I downloaded Autogroq to test it out.

I had an issue with it not connecting to the Autogenstudio database.

I see you had it hard coded in config.py.

here is the update to make that dynamic.

get user home directory

import os home_dir = os.path.expanduser("~") Database path

AUTOGEN_DB_PATH = f'{home_dir}/.autogenstudio/database.sqlite'

— Reply to this email directly, view it on GitHub https://github.com/jgravelle/AutoGroq/issues/28, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAZ6GXF6RA7MPEEKWZI5RT3ZE2VRTAVCNFSM6AAAAABIQFHTDCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDINRZGI3DCNQ>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/jgravelle/AutoGroq/issues/28#issuecomment-2139280986, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLCBEROZSYBTHOKABVOAF3ZE37QBAVCNFSM6AAAAABIQFHTDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGI4DAOJYGY . You are receiving this because you authored the thread.Message ID: @.***>

--

Eric White

NCS Products - Principal Consultant, NCS AU

144 Montague Road, South Brisbane QLD 4101

+61 7 3247 1000 <+61732471000> | +61 433 830 626 <+61433830626>

@.***

Dialog Information Technology is now NCS Australia

ncs.co https://www.ncs.co/?utm_source=outlook_email&utm_medium=email&utm_campaign=07072021-main-emailsignature

This e-mail and any attachments thereto are intended for the sole use of the recipient(s) named above and may contain information that is confidential and/or proprietary to the NCS Group. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication, or dissemination in any form) by persons other than the intended recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete it. NCS Pte. Ltd. - Reg. No : 198101793G