docs
A module for interacting with Documentation websites
Installation
dagger install github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42cEntrypoint
Return Type
Docs !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| baseUrl | String ! | "https://docs.dagger.io" | No description provided |
| txt | String ! | "llms.txt" | No description provided |
| full | String ! | "llms-full.txt" | No description provided |
| firecrawlKey | Secret | - | No description provided |
Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full stringfunc (m *MyModule) Example(baseUrl string, txt string, full string) *dagger.Docs {
return dag.
Docs(baseUrl, txt, full)
}@function
def example(base_url: str, txt: str, full: str, ) -> dagger.Docs:
return (
dag.docs(base_url, txt, full)
)@func()
example(baseUrl: string, txt: string, full: string, ): Docs {
return dag
.docs(baseUrl, txt, full)
}Types
Docs 🔗
baseUrl() 🔗
Return Type
String ! Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full string base-urlfunc (m *MyModule) Example(ctx context.Context, baseUrl string, txt string, full string) string {
return dag.
Docs(baseUrl, txt, full).
BaseUrl(ctx)
}@function
async def example(base_url: str, txt: str, full: str, ) -> str:
return await (
dag.docs(base_url, txt, full)
.base_url()
)@func()
async example(baseUrl: string, txt: string, full: string, ): Promise<string> {
return dag
.docs(baseUrl, txt, full)
.baseUrl()
}txt() 🔗
Return Type
String ! Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full string txtfunc (m *MyModule) Example(ctx context.Context, baseUrl string, txt string, full string) string {
return dag.
Docs(baseUrl, txt, full).
Txt(ctx)
}@function
async def example(base_url: str, txt: str, full: str, ) -> str:
return await (
dag.docs(base_url, txt, full)
.txt()
)@func()
async example(baseUrl: string, txt: string, full: string, ): Promise<string> {
return dag
.docs(baseUrl, txt, full)
.txt()
}full() 🔗
Return Type
String ! Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full string fullfunc (m *MyModule) Example(ctx context.Context, baseUrl string, txt string, full string) string {
return dag.
Docs(baseUrl, txt, full).
Full(ctx)
}@function
async def example(base_url: str, txt: str, full: str, ) -> str:
return await (
dag.docs(base_url, txt, full)
.full()
)@func()
async example(baseUrl: string, txt: string, full: string, ): Promise<string> {
return dag
.docs(baseUrl, txt, full)
.full()
}firecrawlKey() 🔗
Return Type
Secret ! Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full string firecrawl-keyfunc (m *MyModule) Example(baseUrl string, txt string, full string) *dagger.Secret {
return dag.
Docs(baseUrl, txt, full).
FirecrawlKey()
}@function
def example(base_url: str, txt: str, full: str, ) -> dagger.Secret:
return (
dag.docs(base_url, txt, full)
.firecrawl_key()
)@func()
example(baseUrl: string, txt: string, full: string, ): Secret {
return dag
.docs(baseUrl, txt, full)
.firecrawlKey()
}prompt() 🔗
Returns a container that echoes whatever string argument is provided
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| prompt | String ! | - | No description provided |
Example
dagger -m github.com/kpenfound/agents/docs@56144b22672e3f8875eca4689202b5d39ae7c42c call \
--base-url string --txt string --full string prompt --prompt stringfunc (m *MyModule) Example(ctx context.Context, baseUrl string, txt string, full string, prompt string) string {
return dag.
Docs(baseUrl, txt, full).
Prompt(ctx, prompt)
}@function
async def example(base_url: str, txt: str, full: str, prompt: str) -> str:
return await (
dag.docs(base_url, txt, full)
.prompt(prompt)
)@func()
async example(baseUrl: string, txt: string, full: string, prompt: string): Promise<string> {
return dag
.docs(baseUrl, txt, full)
.prompt(prompt)
}