anything-llm/server/utils
Francisco Bischoff f499f1ba59
Using OpenAI API locally (#335)
* Using OpenAI API locally

* Infinite prompt input and compression implementation (#332)

* WIP on continuous prompt window summary

* wip

* Move chat out of VDB
simplify chat interface
normalize LLM model interface
have compression abstraction
Cleanup compressor
TODO: Anthropic stuff

* Implement compression for Anythropic
Fix lancedb sources

* cleanup vectorDBs and check that lance, chroma, and pinecone are returning valid metadata sources

* Resolve Weaviate citation sources not working with schema

* comment cleanup

* disable import on hosted instances (#339)

* disable import on hosted instances

* Update UI on disabled import/export

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Add support for gpt-4-turbo 128K model (#340)

resolves #336
Add support for gpt-4-turbo 128K model

* 315 show citations based on relevancy score (#316)

* settings for similarity score threshold and prisma schema updated

* prisma schema migration for adding similarityScore setting

* WIP

* Min score default change

* added similarityThreshold checking for all vectordb providers

* linting

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>

* rename localai to lmstudio

* forgot files that were renamed

* normalize model interface

* add model and context window limits

* update LMStudio tagline

* Fully working LMStudio integration

---------
Co-authored-by: Francisco Bischoff <984592+franzbischoff@users.noreply.github.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Co-authored-by: Sean Hatfield <seanhatfield5@gmail.com>
2023-11-09 12:33:21 -08:00
..
AiProviders Using OpenAI API locally (#335) 2023-11-09 12:33:21 -08:00
chats 315 show citations based on relevancy score (#316) 2023-11-06 16:49:29 -08:00
database Full developer api (#221) 2023-08-23 19:15:07 -07:00
EmbeddingEngines Anthropic claude 2 support (#305) 2023-10-30 15:44:03 -07:00
files AnythingLLM UI overhaul (#278) 2023-10-23 13:10:34 -07:00
helpers Using OpenAI API locally (#335) 2023-11-09 12:33:21 -08:00
http Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
middleware Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
prisma Prevent updates of specific keys via API (#256) 2023-09-29 10:44:40 -07:00
telemetry Replace custom sqlite dbms with prisma (#239) 2023-09-28 14:00:03 -07:00
vectorDbProviders 315 show citations based on relevancy score (#316) 2023-11-06 16:49:29 -08:00