Commit Graph

2 Commits

Author SHA1 Message Date
Josh Long
57615b6303 ChatClinet Flunet DSL and renaming [Model/Chat/Embedding/Image/Speech]Client to Model, [Chat/Image/Embedding/Image/Sppec]Model
- copy constructor for ChatClient#call incantations based on defaults.
 - copy constructor for ChatClient#call incantations based on defaults.
 - fix ChatClient structured output flow.
 - add OpenAiChatClientIT.
 - add ChatClient stream support
 - implement fromOptions copty factory for eavery chatoptions implementation.
 - extend ChatClient to use the caller default options if not provided explicitely.
 - fix system/user text overdidign default system/user texts. Only non empty
   user/system text can overrid defult system/user text.
 - rename chat() method to collect().
 - add OpenAI FunctionCallbackWrapper2IT auto-config tests.
 - rename request call() to prompt() and the response collect() to call(). Adjust tests
 - add overload methods for defaultSytem()/defaultUer() and system() methods.
 - add ChatClientTest mockito testing
 - fix ChatClient list() convertions
 - Rename the ModelClient class hiearchy into Model
  - Rename ModelClient into Model. Update all code and doc references.
  - Rename ChatClient to ChatModel. Update all ChatClient suffixes and chatClient fields and variables in code and doc.
  - Rename EmbeddingClient into EmbeddingModel. Update the XxxEmbeddingClient class and variable suffixes and embeddingClient variables and fields in code and docs.
  - Rename ImageClient into ImageModel. ....
  - Rename SpeechClient into SpeechModel ....
  - Rename TranscriptionClient into TranscriptionModel ...
  - Update all javadocs and antora pages. Update the related diagrams.
 - refactor usability tests.

Co-authored-by:  Christian Tzolov <ctzolov@vmware.com>
2024-05-22 19:04:41 +02:00
Christian Tzolov
3475f17e98 Unify the vector store module and pom names
spring-ai-qdrant -> spring-ai-qdrant-store
 spring-ai-cassandra -> spring-ai-cassandra-store
 spring-ai-pinecone -> spring-ai-pinecone-store
 spring-ai-redis -> spring-ai-redis-store
 spring-ai-qdrant -> spring-ai-qdrant-store
 spring-ai-gemfire -> spring-ai-gemfire-store
 spring-ai-azure-vector-store-spring-boot-starter -> spring-ai-azure-store-spring-boot-starter
 spring-ai-redis-spring-boot-starter -> spring-ai-redis-store-spring-boot-starter
2024-05-17 17:05:09 +02:00