langchain/langchain
Alex Gamble df746ad821
Add a callback handler for Context (https://getcontext.ai) (#7151)
### Description

Adding a callback handler for Context. Context is a product analytics
platform for AI chat experiences to help you understand how users are
interacting with your product.

I've added the callback library + an example notebook showing its use.

### Dependencies

Requires the user to install the `context-python` library. The library
is lazily-loaded when the callback is instantiated.

### Announcing the feature

We spoke with Harrison a few weeks ago about also doing a blog post
announcing our integration, so will coordinate this with him. Our
Twitter handle for the company is @getcontextai, and the founders are
@_agamble and @HenrySG.

Thanks in advance!
2023-07-07 15:33:29 -04:00
..
agents Pack of small fixes and refactorings that don't affect functionality (#6990) 2023-07-07 03:40:49 -04:00
callbacks Add a callback handler for Context (https://getcontext.ai) (#7151) 2023-07-07 15:33:29 -04:00
chains openai fn update nb (#7352) 2023-07-07 11:52:21 -04:00
chat_models Fix secrets serialisation for ChatAnthropic (#7300) 2023-07-06 21:57:12 +01:00
client docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
docstore Enable InMemoryDocstore to be constructed without providing a dict (#6976) 2023-07-05 16:56:31 -04:00
document_loaders Allow passing api key into OpenAIWhisperParser (#7281) 2023-07-07 15:07:45 -04:00
embeddings Bagatur/clarifai update (#7324) 2023-07-07 02:23:20 -04:00
evaluation Explicitly list requires_reference in function (#7357) 2023-07-07 10:04:03 -07:00
experimental docstrings document_loaders 1 (#6847) 2023-07-02 12:13:04 -07:00
graphs Support for SPARQL (#7165) 2023-07-05 13:00:16 -04:00
indexes Create async copy of from_text() inside GraphIndexCreator. (#5214) 2023-05-24 21:54:12 -07:00
llms Add verbose parameter for llamacpp (#7253) 2023-07-07 15:08:25 -04:00
load docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
memory add docstring for in memory class (#7160) 2023-07-04 14:59:17 -07:00
output_parsers Add context to an output parsing error on Pydantic schema to improve exception handling (#7344) 2023-07-07 14:49:37 -04:00
prompts Jinja2 validation changed to issue warnings rather than issuing exceptions. (#7161) 2023-07-05 14:04:29 -04:00
retrievers docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
schema support adding custom metadata to runs (#7120) 2023-07-05 11:11:38 -07:00
tools docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
utilities docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
vectorstores Add support for filters and namespaces in similarity search in Pinecone similarity_score_threshold (#7301) 2023-07-07 15:03:59 -04:00
__init__.py move base prompt to schema (#6995) 2023-07-02 22:38:59 -04:00
base_language.py docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
cache.py Page per class-style api reference (#6560) 2023-06-30 09:23:32 -07:00
docker-compose.yaml Update docker-compose.yaml (#3582) 2023-04-26 15:11:59 -07:00
document_transformers.py The Fellowship of the Vectors: New Embeddings Filter using clustering. (#7015) 2023-07-07 10:28:17 -07:00
env.py Use LCP Client in Tracer (#5908) 2023-06-08 21:15:14 -07:00
example_generator.py Replace remaining usage of basellm with baselangmodel (#3981) 2023-05-02 21:52:29 -07:00
formatting.py Validate input_variables when using jinja2 templates (#3140) 2023-04-19 16:18:32 -07:00
input.py FileCallbackHandler (#5589) 2023-06-03 16:48:48 -07:00
math_utils.py add get_top_k_cosine_similarity method to get max top k score and index (#5059) 2023-05-22 11:55:48 -07:00
model_laboratory.py Harrison/improve cache (#368) 2022-12-18 16:22:42 -05:00
py.typed Add py.typed marker to package (#121) 2022-11-12 11:22:32 -08:00
python.py Move PythonRepl -> langchain.utilities (#2917) 2023-04-15 10:50:25 -07:00
requests.py fix: missing parameter in POST/PUT/PATCH HTTP requests (#7194) 2023-07-05 12:47:30 -04:00
serpapi.py move serpapi wrapper (#1199) 2023-02-20 21:15:45 -08:00
server.py Fix for ModuleNotFoundError while running langchain-server. Issue #5833 (#6077) 2023-06-13 08:37:07 -07:00
sql_database.py docs : add cnosdb to Ecosystem Integrations (#7316) 2023-07-07 01:35:22 -04:00
text_splitter.py docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00
utils.py docstrings top level update (#7173) 2023-07-07 02:42:28 -04:00