HackerTrans
トップ新着トレンドコメント過去質問紹介求人

ruxudev

no profile record

投稿

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

ruxu.dev
2 ポイント·投稿者 ruxudev·29 日前·0 コメント

Build a Basic AI Agent from Scratch: Long Task Planning

medium.com
142 ポイント·投稿者 ruxudev·先月·53 コメント

Build a Basic AI Agent from Scratch: Long Task Planning

ruxu.dev
1 ポイント·投稿者 ruxudev·先月·0 コメント

Build a Basic AI Agent from Scratch: Tools

medium.com
3 ポイント·投稿者 ruxudev·先月·0 コメント

Build a Basic AI Agent from Scratch: Tools

ruxu.dev
40 ポイント·投稿者 ruxudev·先月·0 コメント

Build a Basic AI Agent from Scratch

medium.com
1 ポイント·投稿者 ruxudev·2 か月前·0 コメント

Build a Basic AI Agent from Scratch

ruxu.dev
1 ポイント·投稿者 ruxudev·2 か月前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·昨年·0 コメント

HTML Starter Template

github.com
3 ポイント·投稿者 ruxudev·昨年·1 コメント

[untitled]

1 ポイント·投稿者 ruxudev·昨年·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·昨年·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

[untitled]

1 ポイント·投稿者 ruxudev·2 年前·0 コメント

コメント

ruxudev
·6 か月前·議論
https://ruxu.dev
ruxudev
·3 年前·議論
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 年前·議論
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.