HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ruxudev

no profile record

Submissions

Build a Basic AI Agent from Scratch: Human in the Loop and Security

ruxu.dev
2 points·by ruxudev·28 ngày trước·0 comments

Build a Basic AI Agent from Scratch: Long Task Planning

medium.com
142 points·by ruxudev·tháng trước·53 comments

Build a Basic AI Agent from Scratch: Long Task Planning

ruxu.dev
1 points·by ruxudev·tháng trước·0 comments

Build a Basic AI Agent from Scratch: Tools

medium.com
3 points·by ruxudev·tháng trước·0 comments

Build a Basic AI Agent from Scratch: Tools

ruxu.dev
40 points·by ruxudev·tháng trước·0 comments

Build a Basic AI Agent from Scratch

medium.com
1 points·by ruxudev·2 tháng trước·0 comments

Build a Basic AI Agent from Scratch

ruxu.dev
1 points·by ruxudev·2 tháng trước·0 comments

[untitled]

1 points·by ruxudev·năm ngoái·0 comments

HTML Starter Template

github.com
3 points·by ruxudev·năm ngoái·1 comments

[untitled]

1 points·by ruxudev·năm ngoái·0 comments

[untitled]

1 points·by ruxudev·năm ngoái·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

[untitled]

1 points·by ruxudev·2 năm trước·0 comments

comments

ruxudev
·6 tháng trước·discuss
https://ruxu.dev
ruxudev
·3 năm trước·discuss
All examples on this page assume manual prompt building, I didn't tackle this issue because I didn't want to enter the topic of automatically creating prompts via code.

But you are very right, this is an enormous issue right now to systems that create prompts programatically. I am actively looking for solutions for this problem and I am very interested if anyone has any good solutions for it.
ruxudev
·3 năm trước·discuss
Very interesting use of ChatGPT and prompt engineering. For your problem, summarizing a large document, splitting the document into smaller parts is indeed the way to go. I also had problems myself with operating on large documents. In my case, I had an insurance policy that I wanted to extract information from.

My solution: use the OpenAI API to convert the document to OpenAI's embeddings and saving those embeddings to a vector database. Then, use similarity search on the database to find chunks of the document that might be related to my query and pass only those chunks to GPT for the information extraction prompt.

I plan to create a guide on how to tackle these problems after I consolidate my findings.