Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Merge branch 'pinecone-io:main' into qdrant-knowledge-base
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 authored Mar 11, 2024
2 parents a74e8b5 + 448450a commit d239e12
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## [0.8.1] - 2024-03-06

### Bug fixes
* Fix cohere tokenizer test [#307](https://github.com/pinecone-io/canopy/pull/307)
* Fix upsert on gcp starter indexes [#308](https://github.com/pinecone-io/canopy/pull/308)
* Stop calling with unused `preamble_override` param to cohere chat [#315]https://github.com/pinecone-io/canopy/pull/315)

### Documentation
* Example for specifying and encoder to KB in README [#302](https://github.com/pinecone-io/canopy/pull/302) (Thanks @coreation!)
* Remove JINA API key from mandatory env vars [#303](https://github.com/pinecone-io/canopy/pull/303) (Thanks @aulorbe!)

**Full Changelog**: https://github.com/pinecone-io/canopy/compare/v0.8.0...v0.8.1

## [0.8.0] - 2024-02-15
### Breaking changes
* Added support for Pydantic v2 [#288](https://github.com/pinecone-io/canopy/pull/288)
Expand Down Expand Up @@ -129,4 +142,4 @@

## [0.1.0] - 2023-11-05

- Initial release
- Initial release
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "canopy-sdk"
version = "0.8.0"
version = "0.8.1"
description = "Retrieval Augmented Generation (RAG) framework and context engine powered by Pinecone"
authors = ["Relevance Team <[email protected]>"]
readme = "README.md"
Expand Down
1 change: 0 additions & 1 deletion src/canopy/llm/cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def chat_completion(self,
message=messages.pop()['message'],
chat_history=messages,
documents=self.generate_documents_from_context(context),
preamble_override=None,
stream=stream,
connectors=[
{"id": connector} for connector in connectors
Expand Down
1 change: 0 additions & 1 deletion tests/system/llm/test_cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def expected_chat_kwargs(system_prompt):
],
"connectors": None,
"documents": [],
"preamble_override": None,
"stream": False,
"max_tokens": None,
}
Expand Down

0 comments on commit d239e12

Please sign in to comment.