I’ve looked at Hickey’s example and the interface and there is no provision for adding files to the chat.
I’ve scanned the ClarionLive videos and do not see any that discuss this.
I’ve looked at Hickey’s example and the interface and there is no provision for adding files to the chat.
I’ve scanned the ClarionLive videos and do not see any that discuss this.
Hi Paul
The Anthropic API itself doesn’t have a concept of attaching files to a chat like the web UI does.
If you’re using Clarion to call the API, you’d need to read the file contents yourself and include them in the prompt (possibly chunked if large).
Tools like Claude Code and GitHub Co-pilot Chat can “see” files because they provide that context outside of API’s, but that’s not something the API does for you automatically.
If you explain what you’re trying to achieve (e.g. summarising files, analysing code, etc.), there may be a pattern other users can suggest.
Mark
This appears to also allow files for file context to help reduce hallucinations, but it doesnt list what file extensions are accepted, so its probably the default Claude one’s which are PDF, DOCX, TXT, CSV, and XLSX, upto 20 files per chat each with a file size of 30MB.
VS marketplace and Github links below.
Dont know if this can be adapted for the Clarion IDE, if it can it should do what you want.
This is from Nov 2024, so possibly a little bit out of date in terms of features offered by LLM.
That API seems to have it in Beta - with code examples in their API kits (except for C#)
We’ve been using a front end called “big-AGI” hosted internally which has a provision for file uploads, but, as you mention, this front end could just be including it in the chat.
Thanks Rich. I’ll take a look at those resources.
FYI, I’ve used all the file types you mention, but XLSX seems to be a problem for them.
We had total hallucination when using XLSX files. The work around was to save as PDF and use the PDF.
What I am trying to do is create an interface where we can gather specific data from certain places and apply a specific (and consistent) prompt and record the results.
We would point to a folder of data files - and the prompt would vary based on a couple of factors.
This would be repetitive.