Database for my novels - keep characters, locations, plotlines organized and generate ideas

I need a place where I can upload my novels and use an AI to help me organize characters, locations, plotlines, objects, species, etc... A bonus would be if the AI could analyze the uploaded documents and help generate ideas for where to take the story next. This would be invaluable for writing series novels. Keeping the characters, plotlines, timelines, and everything else free of conflicts.