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

Multiple llms.txt files on a single domain at multiple paths? #18

Open
zeke opened this issue Nov 18, 2024 · 2 comments
Open

Multiple llms.txt files on a single domain at multiple paths? #18

zeke opened this issue Nov 18, 2024 · 2 comments

Comments

@zeke
Copy link

zeke commented Nov 18, 2024

Hi @jph00 and team. 👋🏼

I'm thinking about implementing llms.txt in the context of a platform like Replicate. where there are multiple models and each one has its own documentation and API interface.

Would it make sense to have a unique llms.txt path for each model?

  • https://replicate.com/llms.txt
  • https://replicate.com/black-forest-labs/flux-schnell/llms.txt
  • https://replicate.com/daanelson/imagebind/llms.txt
  • etc...

I haven't delved too much into the spec yet. What are the mechanisms for discovering these paths? Is it just a matter of concatenating the domain + llm.txt, e.g. https://subdomain.example.com/llms.txt?

If we wanted to support multiple files, we'd have to come up with some way of signalling to crawlers that an LLM file exists for a given route. Maybe a meta tag?

<link rel=“canonical” href=“https://replicate.com/black-forest-labs/flux-schnell” />
<link rel=“llms.txt” href=“https://replicate.com/black-forest-labs/flux-schnell/llms.txt” />
@jph00
Copy link
Contributor

jph00 commented Nov 19, 2024 via email

@gregorym
Copy link

The spec is recommending a .md extension. However their recommendation feels much harder to implement and maintain then just adding /llms.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants