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

Missing API Documentation #596

Open
caosinf777 opened this issue Nov 14, 2024 · 5 comments
Open

Missing API Documentation #596

caosinf777 opened this issue Nov 14, 2024 · 5 comments
Labels
needs-info Need more information such as reproduction step stale Issue labeled as stale will be closed automatically

Comments

@caosinf777
Copy link

I am currently using this repository for integrating a chatbot based on Bedrock and Claude. However, I have noticed that the project lacks comprehensive documentation for the API, especially regarding the following:

Endpoints: The specific API endpoints available, including details about their expected request formats and response structures.
Authentication: Clear instructions on how to authenticate API requests, particularly for integrating with Bedrock or other AWS services.
Error Handling: Information on common API errors and suggested handling practices.
Rate Limits: Details on any rate limits that might apply when making API calls.

These details are essential for users who want to effectively integrate this solution into their own projects.

Request:

Could you please provide a more detailed API reference or point me to where I might find this information? I believe that additional documentation would be highly beneficial for users looking to implement this solution in production environments.

Thank you in advance for your assistance.

@statefb
Copy link
Contributor

statefb commented Nov 15, 2024

  • Is this regarding the backend API for this app? The documentation is available here.
  • Or is it about the published API? You can find the information here.

@statefb statefb added the needs-info Need more information such as reproduction step label Nov 15, 2024
@caosinf777
Copy link
Author

I apologize for my delayed response regarding the request for more detailed API documentation. I truly appreciate your patience.

I have encountered an issue that I wanted to bring to your attention. After initiating a conversation through the API and subsequently trying to retrieve messages, I received the following error:

{
"errors": [
"No conversation found with id: 01JD5WTTW5TGR4GPCXK1F20ARF"
]
}

This occurs when attempting to access a conversation that was just created, and I am uncertain as to why this happens. Any guidance on this matter, or any pointers to additional documentation that might address this issue, would be greatly appreciated.

Thank you once again for your assistance and for the work you have done to support this project.

Best regards,

@statefb
Copy link
Contributor

statefb commented Nov 21, 2024

Due to the time required to generate the conversation, you may initially receive a 404 error. Please try accessing again after a short while.

@caosinf777
Copy link
Author

Thank you for your previous response regarding the API issue I raised. I appreciate the guidance provided about the potential delay in accessing a conversation.

However, I am still encountering the same issue even after waiting for some time. Specifically, when I initiate a conversation and subsequently try to retrieve it using the conversationId provided by the API, I receive the following error:

{
"errors": [
"No conversation found with id: 01JD8OW752WR76CQ6SRGX8Y3Q5"
]
}

To help illustrate the issue, I have attached screenshots showing both the successful creation of the conversation and the subsequent attempt to retrieve it, which results in the "conversation not found" error. The problem persists despite following the suggestion to retry after waiting.

It would be really helpful if you could provide further insights into what might be causing this. I wonder if there could be an issue with how the conversation is being indexed or a potential timeout beyond the waiting period I have tried.

Any additional documentation or suggestions would be greatly appreciated.

Thank you again for your assistance.

Best regards,
Screenshot_2024-11-21_12_55_28
Screenshot_2024-11-21_12_52_41

@github-actions github-actions bot added the stale Issue labeled as stale will be closed automatically label Dec 22, 2024
Copy link
Contributor

This issue has been labeled as "stale" due to no response by the reporter within 1 month (and 14 days after last commented by someone). And it will be closed automatically 14 days later if not responded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info Need more information such as reproduction step stale Issue labeled as stale will be closed automatically
Projects
None yet
Development

No branches or pull requests

2 participants