VanderbiltGlossary / chain.py

Commit History

update to use objects from databricks_langchain
7c23bb3

John Graham Reynolds commited on

readd entire chat history - see if this helps halucination
4b39932

John Graham Reynolds commited on

clean up comments and limit chat history
81f74ed

John Graham Reynolds commited on

remove old, commented out code
3ad1eee

John Graham Reynolds commited on

try using fn to partially format and pass system prompt instead of config
6e20b16

John Graham Reynolds commited on

try using partial to partially format the system prompt
fc8d6af

John Graham Reynolds commited on

add date to date_str var in template formatting
5029f5a

John Graham Reynolds commited on

move date to another location
806b1ef

John Graham Reynolds commited on

update fn
07b0d8d

John Graham Reynolds commited on

grab date with fn inside runnable lambda
5dc4034

John Graham Reynolds commited on

move date string to just before prompt() and template it is used in- looks like passing str into RunnablePassthrough() is erroneous
80dda63

John Graham Reynolds commited on

pass date_str in chain for system prompt
d687543

John Graham Reynolds commited on

ignore hashing the already cached embeddings arg
c1c75a4

John Graham Reynolds commited on

add missing return statement
e49ec86

John Graham Reynolds commited on

make sure we are using the langchain_databricks implementation
4dd1424

John Graham Reynolds commited on

add self arg to all methods referenced in chain
4627350

John Graham Reynolds commited on

reference methods in chain directly
0191305

John Graham Reynolds commited on

only cache chat model, vector store retriever, and embedding model for retriever
f8977f5

John Graham Reynolds commited on

add chain for reformatting inputs and augmenting the question with relevant context
29cf982

John Graham Reynolds commited on