Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Processing documents via the API? #100

Answered by SeeknnDestroy
jontstaz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jontstaz,

First off, thank you for exploring our API and for your valuable feedback. We’re thrilled to hear about your interest and usage!

To summarize content from a GitHub README.md, you'll need to fetch the document content beforehand and then provide it to the API. We have a utility function, read_github_repo_as_documents, which you can use to read documents from a GitHub repository.

Here’s how you can use it:

from autollm import read_github_repo_as_documents, AutoFastAPI

# Specify the GitHub repository and the relative path within the repository
git_repo_url = "https://github.com/your-username/your-repo.git"
relative_folder_path = "path-to-folder"  # e.g., "docs" if the README i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SeeknnDestroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #92 on November 03, 2023 12:51.