seanchatmangpt / dspygen

A Ruby on Rails style framework for the DSPy (Demonstrate, Search, Predict) project for Language Models like GPT, BERT, and LLama.
MIT License
78 stars 19 forks source link

Research agent created with supporting modules. [NOT WORKING YET] #5

Closed Karl-AA closed 2 months ago

Karl-AA commented 2 months ago

I've been trying to play with the agents framework and I my first task was this research agent.

It is designed to take one or more learning objectives, generate search queries for each learning objective, pick good sources to scrape, scrape them, discard irrelevant information from the scraped content, and evaluate if the information is sufficient. Perhaps not as simple as you like @seanchatmangpt but I just wanted to get something made.

It is facing errors and perhaps you can take a look to debug.. DM me if so!

One error is importing one of the modules and makes no sense to me. The other error is about no LM configured but this is taken care of within the modules so I don't understand it either.

seanchatmangpt commented 2 months ago

@Karl-AA can you make the file names lowercase?

seanchatmangpt commented 2 months ago

@Karl-AA merged, thanks man!!!