Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the source in prompt means? #2

Closed
buger opened this issue Feb 4, 2023 · 3 comments
Closed

What does the source in prompt means? #2

buger opened this issue Feb 4, 2023 · 3 comments
Labels
question Further information is requested

Comments

@buger
Copy link

buger commented Feb 4, 2023

In prompt https://github.com/arc53/docsgpt/blob/main/application/combine_prompt.txt we can see values like this: SOURCES: 28-pl 30-pl. What does it mean?

Does it related to https://github.com/arc53/docsgpt/blob/main/scripts/ingest_rst.py#L32?
And if so, how do I determine the right number if I want to generate similar prompt example file for my docs?

Thanks!

@dartpain
Copy link
Contributor

dartpain commented Feb 4, 2023

So sources will basically allow us to find what names of source materials model used to provide an answer. 28-pl is just a name of the document.

So in our use case it will generate names of files that it used.

@dartpain dartpain added the question Further information is requested label Feb 4, 2023
@buger
Copy link
Author

buger commented Feb 4, 2023

I see, so it can be url or anything else which uniquely describe content section.

@dartpain
Copy link
Contributor

dartpain commented Feb 4, 2023

Exactly!

@dartpain dartpain closed this as completed Feb 4, 2023
dartpain pushed a commit that referenced this issue Feb 17, 2023
TODOs updated, removed App.css, About page
dartpain pushed a commit that referenced this issue May 2, 2023
dartpain pushed a commit that referenced this issue Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants